QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1751|回复: 14

usb adsl modem驱动出来了,支持2.6.x

[复制链接]
发表于 2004-5-20 22:49:55 | 显示全部楼层 |阅读模式
下载
http://prdownloads.sourceforge.net/accessrunner/cxacru.tar.bz2?use_mirror=easynews
发表于 2004-5-20 23:52:38 | 显示全部楼层
我猜我的 SpeedTouch USB不会因为它的出现而能正常使用
回复

使用道具 举报

发表于 2004-5-21 14:11:12 | 显示全部楼层
ygw_ycf, ML can use it ?
回复

使用道具 举报

发表于 2004-5-24 13:38:53 | 显示全部楼层
UP
回复

使用道具 举报

 楼主| 发表于 2004-5-24 21:25:02 | 显示全部楼层
我就是用的ML1.2pre6,usb adsl modem 是conexent芯
没问题,挺稳定的,从来不断线,windsowxp下,时常断线
回复

使用道具 举报

发表于 2004-5-25 13:30:08 | 显示全部楼层
ygw_ycf, 你重新编译Kernel了吧

我把内核弄乱了,

你能不能把你内核的.config贴上来?
回复

使用道具 举报

 楼主| 发表于 2004-5-26 22:32:17 | 显示全部楼层
是的,.config的不同点这里有
http://www.zullinux.it/linux/accessrunner.html
方法也是完全按照上面介绍
最后还要修改cxnet4up.sh
回复

使用道具 举报

发表于 2004-5-27 22:17:49 | 显示全部楼层
HOHO~~~

我要的是内核默认配置的.config

兄弟你不能给俺个吗 ???       
回复

使用道具 举报

发表于 2004-5-28 09:49:33 | 显示全部楼层
make mrproper
make defaultconfig
回复

使用道具 举报

发表于 2004-5-29 15:08:13 | 显示全部楼层
THX
~~~~~~~~~~~~~~     

Kernel已经更新到2.2.6了~~~     

我的信息如下

以下是我的ADSL信息

[code:1]VPI=0  VCI=33

PPP over Ethernet llcsnad(RCF2516)

Idle G.dmt
[/code:1]


[code:1]
[root@Lovewilliam /]# cxnet4up.sh
>>> Setting PPPoE <<<

>>> Loading br2684 kernel module...

>>> Loading ppp_generic...

>>> Loading br2684ctl...
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...
Conexant AccessRunner ioctl call. 6/9/2003
Josep Comas <[email protected]>
See credits in documentation

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

>>> Loading pppd daemon...

/usr/sbin/cxnet4up.sh successful
[root@Lovewilliam /]# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:442 errors:0 dropped:0 overruns:0 frame:0
          TX packets:442 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:22100 (21.5 Kb)  TX bytes:22100 (21.5 Kb)

nas0      Link encap:Ethernet  HWaddr 00:D0:F8:46:1C:46
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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)

[root@Lovewilliam /]# pppd
[root@Lovewilliam /]# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:448 errors:0 dropped:0 overruns:0 frame:0
          TX packets:448 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:22400 (21.8 Kb)  TX bytes:22400 (21.8 Kb)

nas0      Link encap:Ethernet  HWaddr 00:D0:F8:46:1C:46
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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)
[root@Lovewilliam /]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
169.254.0.0     *               255.255.0.0     U     0      0        0 lo
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
[root@Lovewilliam /]#
[/code:1]

不明白为什么RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
回复

使用道具 举报

发表于 2004-5-29 15:29:56 | 显示全部楼层
还有这个crc32是个虾米模块呀?

[code:1] [root@Love root]# cxload.sh
>>> Inits Conexant AccessRunner <<<

>>> Removing cxacru driver...

>>> 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
[root@Love root]#
[/code:1]
回复

使用道具 举报

 楼主| 发表于 2004-5-29 17:34:47 | 显示全部楼层
你根本不知道怎么启动
1,修改/etc/cxacru 如你的参数
2,pppoe的话,执行adsl-setup
       1.usrername 2.passward 3 interface nas0   4 server  5  firewall 2
      6 save
3   执行cxstart.sh
ifconfig
如果有ppp0 就可上网了,断开cxstop.sh
cxload.sh cxnet4up.sh 不用你执行,cxstart.sh自动调用
关键是配置好配置文件,协议要正确
回复

使用道具 举报

发表于 2004-5-29 18:36:16 | 显示全部楼层
[quote:9bea9fb115="ygw_ycf"]你根本不知道怎么启动
1,修改/etc/cxacru 如你的参数
2,pppoe的话,执行adsl-setup
       1.usrername 2.passward 3 interface nas0   4 server  5  firewall 2
      6 save
3   执行cxstart.sh
ifconfig
如果有ppp0 就可上网了,断开cxstop.sh
cxload.sh cxnet4up.sh 不用你执行,cxstart.sh自动调用
关键是配置好配置文件,协议要正确[/quote]

我不知道怎么启动???????

天啊~~~~~~~

我知道cxload.sh和cxnet*up.sh是cxstart.sh调用的

那你牛X,你告诉我应该选择什么协议,

crc32是什么模块,

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)  又是怎么回事?
回复

使用道具 举报

 楼主| 发表于 2004-5-29 21:58:34 | 显示全部楼层
我不会告诉你,而且我确实不知道,我不是搞开发的,你是搞开发的应比我牛
研究明白了,烦告之
,麻烦你成功后通知一下
让我也能在kernel 2.6.6下上网
这里先谢了
热切盼望!!!!!!!!!!!!!!!!!!!!!
回复

使用道具 举报

 楼主| 发表于 2004-5-30 07:54:55 | 显示全部楼层
sorry,语气硬了点,把我自己的相关文件内容贴如下
/etc/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=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=

# 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=

启动过程

[root@MagicLinuxfans root]#cxstart.sh
>>> Inits Conexant AccessRunner <<<

time to remove modules driver cxacrudbg
>>> Removing cxacru driver...

time to remove modules driver speedtch
>>> Removing cxacru driver...

>>> 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 5216 Kbits/s, Upstream 640 Kbits/s)
time to remove modules driver cxacrudbg
>>> Removing cxacru driver...

time to remove modules driver speedtch
>>> Removing cxacru driver...

checking remove modules
>>> Loading driver...
Launching driver in normal mode...

/usr/sbin/cxload.sh successful
Setting PPP over Ethernet...
>>> Setting PPPoE <<<

>>> Loading br2684 kernel module...

>>> Loading ppp_generic...

>>> Activating send/receive data...
Conexant AccessRunner ioctl call. 6/9/2003
Josep Comas <[email protected]>
See credits in documentation

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

>>> Loading br2684ctl...
RFC1483/2684 bridge: Interface "nas0" created sucessfully
RFC1483/2684 bridge: Communicating over ATM 0.0.35, encapsulation: LLC
RFC1483/2684 bridge: Interface configured

>>> Activating interface...
>>> Loading pppd daemon...

/usr/sbin/cxnet4up.sh successful
[root@MagicLinuxfans root]#
ifconfig
ifconfig
eth0      Link encap:Ethernet  HWaddr 00:00:00:00:72:D6
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:168 (168.0 b)
          Interrupt:11 Base address:0x6000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:100 (100.0 b)  TX bytes:100 (100.0 b)

nas0      Link encap:Ethernet  HWaddr 00:00:01:00:00:00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2652 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2697 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2803415 (2.6 Mb)  TX bytes:348241 (340.0 Kb)

ppp0      Link encapoint-to-Point Protocol
          inet addr:221.205.199.203  P-t-P:24.24.24.24  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:2625 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2670 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:2781219 (2.6 Mb)  TX bytes:261678 (255.5 Kb)

[root@MagicLinuxfans root]#
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-26 00:27 , Processed in 0.093983 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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