心情及差~
刚刚把ML的内核升级到2.6.7(花了我2个小时) :twisted::cry:猫的驱动还不能正常编译(在2.6.6下就不好用)
来这里发发牢骚
顺便把问题贴出来,请大家帮着解决
VPI=0 VCI=33
PPP over Ethernet llcsnad(RCF2516)
Idle G.dmt
[root@Love root]# cxstart.sh
>>> Inits Conexant AccessRunner <<<
>>> Loading firmware...
Conexant AccessRunner microcode upload program. 6/9/2003
Josep Comas <[email protected]>
See credits in documentation
I found ADSL modem with VendorID = 0572 & ProductID = cb00
Loading and sending /usr/sbin/cxfirm4.bin...
Firmware is sent!
Setting configuration...
Waiting ADSL line is up (until 90 seconds)...
.........
ADSL line is up (Downstream 1024 Kbits/s, Upstream 256 Kbits/s)
>>> Loading driver...
FATAL: Module crc32 not found.
Launching driver in normal mode...
/usr/sbin/cxload.sh successful
Setting PPP over Ethernet...
>>> Setting PPPoE <<<
>>> Loading br2684 kernel module...
>>> Loading ppp_generic...
>>> Loading br2684ctl...
Conexant AccessRunner ioctl call. 6/9/2003
Josep Comas <[email protected]>
See credits in documentation
I found ADSL modem with VendorID = 0572 & ProductID = cb00
RFC1483/2684 bridge: Interface "nas0" created sucessfully
RFC1483/2684 bridge: Communicating over ATM 0.0.33, encapsulation: LLC
RFC1483/2684 bridge: Interface configured
>>> Activating interface...
>>> Activating send/receive data...
>>> Loading pppd daemon...
/usr/sbin/cxnet4up.sh successful
[root@Love root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:10:5C:B80:9F
inet addr:198.126.254.8 Bcast:198.126.254.255 Mask:255.255.255.0
inet6 addr: fe80::210:5cff:feb809f/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:57 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:3498 (3.4 Kb)
Interrupt:11 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1488 (1.4 Kb) TX bytes:1488 (1.4 Kb)
nas0 Link encap:Ethernet HWaddr 00:C0:49:48:E9:B3
inet6 addr: fe80::2c0:49ff:fe48:e9b3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:512 (512.0 b)
ppp0 Link encapoint-to-Point Protocol
inet addr:10.112.112.112 P-t-P:10.112.112.113 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:1 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:0 (0.0 b) TX bytes:73 (73.0 b)
[root@Love root]#
This is "cxacru" file
#
# Config file for Conexant AccessRunner
#
# Driver mode
DRIVER_MODE=1 # 1 = normal, 2 = debug, 3 = normal+max speed (without ask adsl status), 4 = debug+max speed (without ask adsl status)
# Protocol
PROTOCOL_MODE=4 # 1 = RFC1483/2684 routed, 2 = PPP over ATM (pppoa), 3 = RFC1483/2684 bridged, 4 = PPP over Ethernet (pppoe)
# Paths
BINARY_PATH="/usr/sbin"
ATM_PATH=""
# ADSL
# if OPEN_MODE is blank then cxload uses default mode acoording VID & PID
# Values for OPEN_MODE are:
# 0 = auto selection, G.Handshake
# 1 = auto selection, T1.413
# 2 = G.Handshake
# 3 = ANSI T1.413
# 4 = ITU-T G.992.1 (G.DMT)
# 5 = ITU-T G.992.2 (G.LITE)
OPEN_MODE=4
# ATM
VPI=0
VCI=33
# Specific for RFC1483/2684 routed/bridged
# if IP_ADDRESS is blank in bridged mode then it uses DHCP to get IP
IP_ADDRESS=
NETMASK=255.255.255.0
GATEWAY=
[root@Love root]# ping 216.239.57.99
PING 216.239.57.99 (216.239.57.99) 56(84) bytes of data.
--- 216.239.57.99 ping statistics ---
82 packets transmitted, 0 received, 100% packet loss, time 81018ms
[root@Love root]# ping www.google.com
ping: unknown host www.google.com
[root@Love root]# 怎么没人回帖呀?
:? :o lovewilliam, 发到技术支持区去吧 :-) 你设置dns了没有? toKanKerdns是自动的
to MichaelBibby 你是版主 ,你帮我移动过去就是了
令 :技术支持区人不多呀~
to MichaelBibby 你是版主 ,你帮我移动过去就是了
令 :技术支持区人不多呀~
俺不是水区的版主呀,不能移动帖子 :mrgreen:
还是和蓝宁联系一下吧,或者你再发一贴 :mrgreen: 现在还用猫?? :shock: toKanKerdns是自动的
to MichaelBibby 你是版主 ,你帮我移动过去就是了
令 :技术支持区人不多呀~
dns在linux下好象要自己设置,以前我用adsl的时候就要手动设置。编辑/etc/resolv.conf在里面加上:
nameserver x.x.x.x
nameserver x.x.x.x
x.x.x.x为网络服务商提供的dns地址 现在还用猫?? :shock:
ADSL猫 :lol::mrgreen:
dns在linux下好象要自己设置,以前我用adsl的时候就要手动设置。编辑/etc/resolv.conf在里面加上:
nameserver x.x.x.x
nameserver x.x.x.x
x.x.x.x为网络服务商提供的dns地址
DNS以前设置过
也是上面的结果 内置的ADSL modem?
你有驱动了吗?编译通不过? 不要选open_mode
最好设置dns
ping一下dns
另外你有没有用户名和密码? 摘自https://sourceforge.net/forum/forum.php?thread_id=1083398&forum_id=155749
仅供参考
By: heema - heema22
Connecting using mandrake 10 official HOWTO
2004-05-28 12:51
I made this HowTo to help others like me to connect with ease
Note : i am still a newbie and this is my first howto so bear with me :)
Connecting by Conexant USB Adsl (pppoa) using Mandrake 10 official :
1) Go to http://www.zullinux.it/linux/accessrunner.html ,
download cxacru-2003-10-05-src.tgz and patch-upto_2.6.5_20040517_accessrunner.gz
2) Install the kernel source from rpmdrake
3) Patch the kernel
# cd /usr/src/linux
# gunzip -c patch-2.6.x_YYYYMMDD_accessrunner.gz | patch -p1
4) Recompile the kernel
# cd /usr/src/linux
backup the .config by copying to any other location
# make mrproper
restore the .config
# make menuconfig
Go to section
Device Driver -> Networking Support -> Networking Options -> ....
<M> Asynchronous Transfer Mode (ATM) (EXPERIMENTAL)
<M> Classical IP over ATM (EXPERIMENTAL)
[*] Do NOT send ICMP if no neighbour (EXPERIMENTAL)
<M> LAN Emulation (LANE) support (EXPERIMENTAL)
<M> Multi-Protocol Over ATM (MPOA) support (EXPERIMENTAL)
<M> RFC1483/2684 Bridged protocols
[*] Per-VC IP filter kludge
Then Go to section
Device Driver -> USB Support ->
<M> Support for USB
.... (go near the end of the page)
<M>Alcatel Speedtouch USB support (NEW)
then save
# make
# make bzImage
# make modules
# make modules_install
# make install
5) Restart
6) Go to rpmdrake and search for atm these packages will be the result
liblinux-atm1 , liblinux-atm1-devel , linux-atm , ppp-pppoatm
install them
7) Untar cxacru package to any folder and type
# make new
8) Substitute cxload.sh and cxunload.sh in "/usr/sbin" with the modified ones that you have downloaded from the site
9) Edit file /etc/cxacru to your needs
here is mine :
#
# Config file for Conexant AccessRunner
#
# Driver mode
DRIVER_MODE=1 # 1 = normal, 2 = debug, 3 = normal+max speed (without ask adsl status), 4 = debug+max speed (without ask adsl status)
# Protocol
PROTOCOL_MODE=2 # 1 = RFC1483/2684 routed, 2 = PPP over ATM (pppoa), 3 = RFC1483/2684 bridged, 4 = PPP over Ethernet (pppoe)
# Paths
BINARY_PATH="/usr/sbin"
ATM_PATH=""
# ADSL
# if OPEN_MODE is blank then cxload uses default mode acoording VID & PID
# Values for OPEN_MODE are:
# 0 = auto selection, G.Handshake
# 1 = auto selection, T1.413
# 2 = G.Handshake
# 3 = ANSI T1.413
# 4 = ITU-T G.992.1 (G.DMT)
# 5 = ITU-T G.992.2 (G.LITE)
OPEN_MODE=
# ATM
VPI=8
VCI=35
# Specific for RFC1483/2684 routed/bridged
# if IP_ADDRESS is blank in bridged mode then it uses DHCP to get IP
IP_ADDRESS=
NETMASK=
GATEWAY=
10) Edit your options file in /etc/ppp
#lock
#noauth
#noipdefault
#usepeerdns
noipdefault
noauth
persist
lcp-max-configure 50
-pap
usepeerdns
name any
user "insert your uname here"
defaultroute
plugin /usr/lib/pppd/2.4.1/pppoatm.so 8.35
11) Edit the pap-secrets file
# Secrets for authentication using PAP
# client server secret IP addresses
'username' * 'password'
12) Edit the chap-secrets file
# Secrets for authentication using PAP
# client server secret IP addresses
'username' * 'password' *
13) Edit the resolv.conf in /etc and insert in it your DNS
if you dont know it you could get it from windows by typing ipconfig /all
14) Go to /usr/sbin
# su
# ./cxstart.sh
And wish that it will connect the first time
我与上面的过程有一点不同,设置用户名,密码时我用adsl-setup
同时还修改了cx4netup.sh
我的系统Magic linux1.2pre6 kernel2.6.5(重编译) 我怀疑是crc32模块的问题
楼上的你有crc32模块吗?
如有发给我一分可以吗? 没找到
# lsmod
Module SizeUsed by
ppp_synctty 98560 ×
ppp_async 129281×
ppp_generic 317646 ppp_synctty,ppp_async ×
slhc 75521 ppp_generic
br2684 101161 ×
speedtch 172321 ×
appletalk 369162
ipx 303802
p8022 26881 ipx
psnap 42282 appletalk,ipx
llc 79562 p8022,psnap
nvidia 207469612
ipt_MASQUERADE 39681
iptable_nat 246202 ipt_MASQUERADE
ip_conntrack 338402 ipt_MASQUERADE,iptable_nat
ip_tables 195842 ipt_MASQUERADE,iptable_nat
snd_intel8x0 347280
snd_ac97_codec 650281 snd_intel8x0
snd_pcm 1010001 snd_intel8x0
snd_timer 270121 snd_pcm
snd_page_alloc 116522 snd_intel8x0,snd_pcm
gameport 49921 snd_intel8x0
snd_mpu401_uart 80641 snd_intel8x0
snd_rawmidi 257601 snd_mpu401_uart
snd_seq_device 87121 snd_rawmidi
snd 564207 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 100801 snd
forcedeth 157440
ohci1394 348200
ieee1394 3110961 ohci1394
floppy 601120
sg 390720
scsi_mod 1175801 sg
parport_pc 388480
parport 424401 parport_pc
atm 443764 br2684,speedtch×
ohci_hcd 197160
ehci_hcd 276520
ntfs 1036602
nls_cp936 1265923
nls_cp437 58881
vfat 160001
fat 467841 vfat
hid 444800
uhci_hcd 330400
usbcore 1064607 speedtch,ohci_hcd,ehci_hcd,hid,uhci_hcd
reiserfs 2300002
#
标记 “×”都是执行cxstart.sh调用的 cxstart.sh里面
可是有modprobe crc32的呀