|
发表于 2003-8-16 09:09:24
|
显示全部楼层
我安装的linux是:redhat 9.0
cxacru-2003-07-04.k2.4.20-8rh.i686.rpm
libusb-0.1.6-3.i3861.rpm,
linux-atm-2.4.1-1.i38611.rpm
ppp-2.4.0b2-2.i386.rpm
rp-pppoe-3.0-3.i386.rpm
我的MODEMN是实达的 USB ADSL 5800UB,vci是32,vpi是0.采用ATM LLCSNAP上的桥接IP[RFC1483].在windows下使用的是earthnet 300 pppoe拨号软件的。
全部安装完成后,按上面的设置后使用cxstop.sh,在使用cxstart.sh驱动猫。
>>> Inits Conexant AccessRunner <<<
>>> Loading firmware...
Conexant AccessRunner microcode upload program. 24/6/2003
Josep Comas <jcomas@gna.es>
Pascal Boucher <bcrp17@tiscali.fr>
Pawel Konieczny <konieczp@users.sourceforge.net>
I found ADSL modem with VendorID = 0572 & ProductID = cafe
Loading and sending /usr/sbin/cxfirm1.bin...
Firmware is sent!
Setting configuration...
Waiting ADSL line is up (until 90 seconds)...
..........
ADSL line is up (Downstream 2048 Kbits/s, Upstream 512 Kbits/s)
>>> Loading driver...
Launching driver in normal mode...
Using /lib/modules/2.4.20-8/kernel/drivers/usb/cxacru.o
/usr/sbin/cxload.sh successful
Setting RFC1483/2684 bridged...
>>> Setting RFC1483/2684 bridged <<<
>>> Loading br2684 kernel module...
>>> Loading br2684ctl...
RFC1483/2684 bridge: Interface "nas0" created sucessfully
RFC1483/2684 bridge: Communicating over ATM 0.0.32, encapsulation: LLC
RFC1483/2684 bridge: Interface configured
>>> Activating interface...
>>> Activating send/receive data...
Conexant AccessRunner ioctl call. 16/6/2003
Josep Comas <jcomas@gna.es>
Pascal Boucher <bcrp17@tiscali.fr>
Pawel Konieczny <konieczp@users.sourceforge.net>
I found ADSL modem with VendorID = 0572 & ProductID = cafe
>>> Requesting IP address from DHCP server...
Internet Software Consortium DHCP Client V3.0pl1
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
atm0: unknown hardware address type 19
/sbin/dhclient-script: configuration for nas0 not found.
atm0: unknown hardware address type 19
Listening on LPF/nas0/00:d0:f8:29:a5:a4
Sending on LPF/nas0/00:d0:f8:29:a5:a4
Sending on Socket/fallback
DHCPDISCOVER on nas0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on nas0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on nas0 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on nas0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on nas0 to 255.255.255.255 port 67 interval 6
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
/sbin/dhclient-script: configuration for nas0 not found.
/usr/sbin/cxnet3up.sh successful
[root@localhost root]#
cxacru文件的设置是 :
#
# 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=3 # 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=0
VCI=32
# 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=
我用adsl-setup设置。之后:
[root@localhost root]# adsl-start
................TIMED OUT
/usr/sbin/adsl-start: line 185: 12643 已终止 $CONNECT "$@" >/dev/null 2>&1
我在adsl设置中使用的是nas0.
我是个新手,不知道为什么,请教是哪里出错了。
[root@localhost root]# ifconfig
atm0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING MTU:9180 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
eth0 Link encap:Ethernet HWaddr 00:E0:4C:A0:89:4E
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:869 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:82945 (81.0 Kb)
Interrupt:11 Base address:0xb000
lo Link encapocal Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:265 errors:0 dropped:0 overruns:0 frame:0
TX packets:265 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:21715 (21.2 Kb) TX bytes:21715 (21.2 Kb)
nas0 Link encap:Ethernet HWaddr 000:F8:29:A5:A4
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:3872 (3.7 Kb) |
|