QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 841|回复: 10

请求诊断:USB ADSL上网问题。谢谢!

[复制链接]
发表于 2003-10-9 22:49:15 | 显示全部楼层 |阅读模式
全向QL8410 USB ADSL(非路由),REDHAT 9.0
cxacru-2003-05-05-src.tgz
libusb-0.1.7-3.i386.rpm
linux-atm-2.4.1-1.i386.rpm
pppoe拨号,执行cxstart.sh后出项如下情况,一直没法解决,还望高手指点:
[root@localhost root]# cxsart.sh
bash: cxsart.sh: command not found
[root@localhost root]# cxstart.sh
>>> Inits Conexant AccessRunner <<<

>>> Loading firmware...
Conexant AccessRunner microcode upload program. 5/5/2003
Josep Comas <[email protected]>
Pascal Boucher <[email protected]>

Compiled for ADSL modem with VendorID = 0572 &amp; ProductID = cafe
ADSL modem found!
Loading and sending /usr/sbin/cxinit.bin...
Firmware is sent!
Firmware version = 2.15f
MAC address = 00:07:53:00:09:29
Waiting ADSL line is up (until 90 seconds)...
...
ADSL line is up (Downstream 2624 Kbits/s, Upstream 640 Kbits/s)

&gt;&gt;&gt; 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...
&gt;&gt;&gt; Setting RFC1483/2684 bridged &lt;&lt;&lt;

&gt;&gt;&gt; Loading br2684 kernel module...

&gt;&gt;&gt; Loading br2684ctl...
Incorrectly built binary which accesses errno, h_errno or _res directly. Needs to be fixed.
RFC1483/2684 bridge: Interface "nas0" created sucessfully
RFC1483/2684 bridge: Communicating over ATM 0.0.32, encapsulation: LLC
RFC1483/2684 bridge: Interface configured

&gt;&gt;&gt; Activating interface...
SIOCSIFNETMASK: 无法指定被请求的地址

&gt;&gt;&gt; Adding default route...
Usage: inet_route [-vF] del {-host|-net} Target[/prefix] [gw Gw] [metric M] [[dev] If]
       inet_route [-vF] add {-host|-net} Target[/prefix] [gw Gw] [metric M]
                              [netmask N] [mss Mss] [window W] [irtt I]
                              [mod] [dyn] [reinstate] [[dev] If]
       inet_route [-vF] add {-host|-net} Target[/prefix] [metric M] reject
       inet_route [-FC] flush      NOT supported
[root@localhost root]# [root@localhost root]# cxsart.sh
bash: [root@localhost: command not found
[root@localhost root]#
 楼主| 发表于 2003-10-9 22:51:32 | 显示全部楼层
还有一次是这样的:

[root@localhost root]# cxstart.sh
&gt;&gt;&gt; Inits Conexant AccessRunner &lt;&lt;&lt;

&gt;&gt;&gt; Loading firmware...
Conexant AccessRunner microcode upload program. 5/5/2003
Josep Comas &lt;[email protected]&gt;
Pascal Boucher <[email protected]>

Compiled for ADSL modem with VendorID = 0572 &amp; ProductID = cafe
ADSL modem found!
Loading and sending /usr/sbin/cxinit.bin...
Firmware is sent!
Firmware version = 2.15f
MAC address = 00:07:53:00:09:29
Waiting ADSL line is up (until 90 seconds)...
...
ADSL line is up (Downstream 2816 Kbits/s, Upstream 640 Kbits/s)

&gt;&gt;&gt; Loading driver...
Launching driver in normal + max speed mode...
Using /lib/modules/2.4.20-8/kernel/drivers/usb/cxacru.o

/usr/sbin/cxload.sh successful
Setting RFC1483/2684 routed...
&gt;&gt;&gt; Setting RFC1483/2684 routed &lt;&lt;&lt;

&gt;&gt;&gt; Loading atmarpd...

&gt;&gt;&gt; Creating interface...

&gt;&gt;&gt; Activating interface...
SIOCSIFNETMASK: 无法指定被请求的地址

&gt;&gt;&gt; Creating PVC...
usage: /usr/local/sbin/atmarp -a
       /usr/local/sbin/atmarp -c [[atm]N]
       /usr/local/sbin/atmarp -q ip_addr [qos qos_spec] [sndbuf bytes]
       /usr/local/sbin/atmarp -s ip_addr [itf.]vpi.vci [pcr value] [qos spec] [sndbuf bytes]
         [temp] [pub] [null]
       /usr/local/sbin/atmarp -s ip_addr atm_addr [pcr value] [qos spec] [sndbuf bytes] [temp]
         [pub] [arpsrv]
       /usr/local/sbin/atmarp -d ip_addr [arpsrv]
       /usr/local/sbin/atmarp -V
[root@localhost root]# cxstop.sh
Stopping RFC1483/2684 routed...
&gt;&gt;&gt; Down RFC1483/2684 routed network interface &lt;&lt;&lt;

&gt;&gt;&gt; Shutting down atm0 interface...

&gt;&gt;&gt; Killing atmarpd daemon...

&gt;&gt;&gt; Stopping transfers...
Conexant AccessRunner ioctl call. 5/5/2003
Josep Comas &lt;[email protected]&gt;
Pascal Boucher <[email protected]>

Compiled for ADSL modem with VendorID = 0572 &amp; ProductID = cafe
ADSL modem found!

&gt;&gt;&gt; Remove cxacru/cxacrudbg driver &lt;&lt;&lt;

&gt;&gt;&gt; Removing USB controller...

&gt;&gt;&gt; Removing cxacru driver...

&gt;&gt;&gt; Loading again USB controller...

[root@localhost root]#
回复

使用道具 举报

发表于 2003-10-10 09:36:21 | 显示全部楼层
你设置了协议和VPI,VCI的值了吗?我用的是pppoa拨号,下面是我的配置文件,你参考一下。

/etc/cxacru
[code:1]#
# Config file for Conexant AccessRunner
#

# Driver mode
DRIVER_MODE=1  # 1 = normal, 2 = debug, 3 = normal+max speed &#40;without ask adsl status&#41;, 4 = debug+max speed &#40;w
ithout ask adsl status&#41;

# Protocol
PROTOCOL_MODE=2  # 1 = RFC1483/2684 routed, 2 = PPP over ATM &#40;pppoa&#41;, 3 = RFC1483/2684 bridged, 4 = PPP over E
thernet &#40;pppoe&#41;

# Paths
BINARY_PATH=&quot;/usr/sbin&quot;
ATM_PATH=&quot;&quot;

# ADSL
#  if OPEN_MODE is blank then cxload uses default mode acoording VID & PID
#  Values for OPEN_MODE are&#58;
#    0 = auto selection, G.Handshake
#    1 = auto selection, T1.413
#    2 = G.Handshake
#    3 = ANSI T1.413
#    4 = ITU-T G.992.1 &#40;G.DMT&#41;
#    5 = ITU-T G.992.2 &#40;G.LITE&#41;
OPEN_MODE=

# ATM
VPI=0
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=255.255.255.0
GATEWAY=[/code:1]

/etc/ppp/chap-secrets
[code:1]# Secrets for authentication using CHAP
# client        server  secret                  IP addresses
&quot;*****&quot;        *       &quot;*****&quot;       *[/code:1]

/etc/ppp/pap-secrets
[code:1]# Secrets for authentication using PAP
# client        server  secret                  IP addresses
&quot;*****&quot;        *       &quot;*****&quot;       *[/code:1]

/etc/ppp/options
[code:1]lock
defaultroute
noipdefault
noauth
usepeerdns
sync
holdoff 4
persist
maxfail 25
passive
asyncmap 0
lcp-echo-interval 2
lcp-echo-failure 7
name hujian
user hujian
plugin /usr/lib/pppd/plugins/pppoatm.so
0.35[/code:1]

/etc/resolv.conf
[code:1]nameserver 202.99.192.66
nameserver 202.99.192.68[/code:1]
回复

使用道具 举报

发表于 2003-10-10 09:37:37 | 显示全部楼层
cxstart.sh
[code:1]&gt;&gt;&gt; Inits Conexant AccessRunner &lt;&lt;&lt;

&gt;&gt;&gt; Loading firmware...
Conexant AccessRunner microcode upload program. 24/6/2003
Josep Comas &lt;[email protected]&gt;
Pascal Boucher &lt;[email protected]&gt;
Pawel Konieczny &lt;[email protected]&gt;

I found ADSL modem with VendorID = 0572 &amp; ProductID = cb00
Loading and sending /usr/sbin/cxfirm4.bin...
Firmware is sent!
Setting configuration...
Waiting ADSL line is up &#40;until 90 seconds&#41;...
..........
ADSL line is up &#40;Downstream 1088 Kbits/s, Upstream 576 Kbits/s&#41;
&gt;&gt;&gt; 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 PPP over ATM...
&gt;&gt;&gt; Setting PPPoA &lt;&lt;&lt;

&gt;&gt;&gt; Loading ppp_generic...

&gt;&gt;&gt; Loading pppoatm...

&gt;&gt;&gt; Activating send/receive data...
Conexant AccessRunner ioctl call. 16/6/2003
Josep Comas &lt;[email protected]&gt;
Pascal Boucher &lt;[email protected]&gt;
Pawel Konieczny &lt;[email protected]&gt;

I found ADSL modem with VendorID = 0572 &amp; ProductID = cb00

&gt;&gt;&gt; Loading pppd daemon...

/usr/sbin/cxnet2up.sh successful[/code:1]
回复

使用道具 举报

 楼主| 发表于 2003-10-10 13:59:08 | 显示全部楼层
谢谢你!!
协议和VPI,VCI都已经设置的了,在windows下我是pppoe拨号的,在Linux下自然也该是pppoe的吧?但是我就是不能成功,郁闷~
不过听说,完全安装后的成功的可能性要大一点,这说法对吗?我是定制安装的。
回复

使用道具 举报

发表于 2003-10-10 15:17:10 | 显示全部楼层
你确定是pppoe吗?先开始电信局的人告我说是pppoe协议,结果我一直用pppoe连接,始终不成功,最后,仔细看了windows下的协议,才知道用的是pppoa。
回复

使用道具 举报

发表于 2003-10-10 15:18:14 | 显示全部楼层
windows下pppoe和pppoa分的不是很清楚

再说了,你说你用pppoe,但我相信你肯定设错了,这是你的cxstart.sh启动的代码
[code:1]Setting RFC1483/2684 routed...
&gt;&gt;&gt; Setting RFC1483/2684 routed &lt;&lt;&lt;
[/code:1]
回复

使用道具 举报

 楼主| 发表于 2003-10-11 03:13:05 | 显示全部楼层
我不是很会看这个协议的,你看这个是吗

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

 楼主| 发表于 2003-10-11 03:15:46 | 显示全部楼层
另外
1、关于usespace,它一般是br2684ctl.c或者br011220.c。但是怎么编译它呢,具体执行什么命令?“在终端执行cc -0 br2684ctl br*.c -latm将生成br2684ctl”我在执行这个命令之后怎么没有找到br2684ctl,它应该在哪里找到?
2、执行br2684ctl -c 0 -e 0 inf VPI.VCI时,这个-e 0怎么填写?说-e 0表示封装模式,那它是什么封装模式,到哪儿可以查到它?
谢谢!
回复

使用道具 举报

 楼主| 发表于 2003-10-11 03:17:31 | 显示全部楼层
还有。这个br2684ctl.c哪里有下的?
回复

使用道具 举报

 楼主| 发表于 2003-10-12 09:39:39 | 显示全部楼层
[code:1]&gt;&gt;&gt; Loading br2684ctl...
/usr/sbin/br2684ctl&#58; error while loading shared libraries&#58; libatm.so.1&#58; cannot open shared object file&#58; No such file or directory[/code:1]

请教这是个什么错误?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-15 16:19 , Processed in 0.092029 second(s), 17 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表