LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1076|回复: 8

网通下不能上网……不知道是不是驱动的问题,等了一个月没人理会我,汗……

[复制链接]
发表于 2005-11-2 14:17:01 | 显示全部楼层 |阅读模式
用的是connexant芯片的宽带USB猫,装完了驱动,用cxstart命令启动猫。
到了最后一步来了一个:
Loading br2684ctl...
RFC1483/2684 bridge: Interface "nas0" created sucessfully
RFC1483/2684 bridge: Communicating over ATM 0.0.35, encapsulation: LLC
RFC1483/2684 bridge: Fatal: failed to connect on socket

然后ifconfig:

bash-3.00# ifconfig
nas0      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 52:54:AB:3E:40:51
          inet addr:192.168.0.3  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:20105 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19925 errors:0 dropped:0 overruns:0 carrier:0
          collisions:207 txqueuelen:1000
          RX bytes:28221468 (26.9 Mb)  TX bytes:1696099 (1.6 Mb)
          Interrupt:10 Base address:0xe800

lo        Link encapocal Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  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:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

看到nas0 但是不能分配到IP,先ifconfig nas0 up成功
然后dhcpcd nas0死机
大家来看看,我比较菜的说,在别的版里都没有人理,希望在这里能有人回答我。先谢了
发表于 2005-11-2 18:42:16 | 显示全部楼层
兄弟搜索过了没有?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-2 19:07:01 | 显示全部楼层
几乎和USB猫有关的帖子都留下了我的足迹……外国的都搜了,关于Fatal: failed to connect on socket这句也有人遇过,只是无人解得出来,我现在不知道是猫的驱动的问题(似乎不是,因为都到了PPPOE这一步了),还是封装协议的问题(我的宽带信道封装模式是PPPOE LLCSNAP(RFC2516)——编译内核的时候只看到一个PPPOE的2684而没有2516)。我是山西网通,不知道是不是要什么专门的客户端。
老开两台机子才能上网,不爽呀……
具体情况在这里http://www.linuxsir.cn/bbs/showthread.php?t=224817
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-4 16:17:50 | 显示全部楼层
唉,又沉了……
回复 支持 反对

使用道具 举报

发表于 2005-11-4 20:10:05 | 显示全部楼层
找到一个外国的解决方案:
http://www.slackplanet.org/index.php?topic=863.0

  1. finally working!

  2. keywords:
  3. Modem Conexant AMIGO CA-80U ADSL USB - Telecom Arnet Highway argentina

  4. INSTALL

  5. 1. install zenwalk 1.3

  6. 2. download kernelsource-2.6.12.6-i486-1Z13.tgz for rebuild

  7. 3. overwrite the folder

  8.    /usr/src/linux-2.6.12.6/drivers/usb/atm

  9. with the one provided in

  10.    usbatm-20050216.tar.bz2

  11. 4. rebuild the kernel

  12. 5. obtain the modem's firmware
  13.    cxacru-fw.bin
  14. and put it in
  15.    /lib/firmware

  16. 6. install
  17.    linux-atm-2.4.1.tar.gz

  18. 7. download the file
  19.    brctl-010226.c
  20. complile it
  21.    cc -o br2684ctl brctl-010226.c -latm
  22. and move it
  23.    cp br2684ctl /usr/sbin

  24. 8. run
  25.    pppoe-setup
  26. and fill as your needs (ethernet interface should be nas0)



  27. USE

  28. 1. create the nas0 interface
  29.    br2684ctl -b -c 0 -a 0.33
  30. this number are just for my ISP ARNET Highway in Argentina
  31. usage: br2684ctl [-b] [[-c number] [-e 0|1] [-a [itf.]vpi.vci]*]*

  32. 2. lift up the nas0 interface
  33.    ifconfig nas0 up

  34. 3. connect
  35.    pppoe-connect

  36. this is just a bare guide (my first one, so surely errors may appear), you can easily obtain more info about each step, starting in this forum.
  37. thanks you all very much, and i hope someone finds this usefull.
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-13 17:47:23 | 显示全部楼层
thx,我先试试.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-15 15:56:42 | 显示全部楼层
不行,我的是RFC2516协议,好像linux没有这个模块。
回复 支持 反对

使用道具 举报

发表于 2005-11-15 16:00:53 | 显示全部楼层
我觉得最好还是用别的机器或路由器拨号,通过网关来上网,
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-15 16:14:52 | 显示全部楼层
开两台机器不是费电么,呵呵,打算换个带路由的猫了
回复 支持 反对

使用道具 举报

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

本版积分规则

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