一个闲置的同维699CHA adsl usb modem
AD6485 - Eagle-II USB/Ethernet
http://www.analog.com/en/prod/0,2877,AD6485,00.html
http://dev.eagle-usb.org/wakka.php?wiki=EagleUsb230
http://baud123.free.fr/eagle-usb/eagle- ... .2.tar.bz2
找了半天,源里面有个1.9.9的。不知道那个用过,确认一下。
同维699CHA(3个小时,终于完成)
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
/etc/eagle-usb/eagle-usb.conf #主要设备配置
/etc/ppp/chap-secrets #保留用户名和密码。
/etc/ppp/peers/adsl #联网配置设置
/etc/ppp/peers/mire #类似配置,法国电信搞的什么东西,特殊的协议?
/usr/sbin/fctStartAdsl
/usr/sbin/fctStopAdsl
/usr/sbin/startmire
/usr/sbin/startadsl
/usr/sbin/stopadsl
/usr/sbin/eaglediag #检查所有配置状态,需要全部OK。
/usr/sbin/eagleconfig #配置和启动。就是只能设置固定的ISP和VPI VCI,还是要手工修改/etc/eagle-usb/eagle-usb.conf
/usr/sbin/eaglectrl
/usr/sbin/eaglestat #查看联网状态
/usr/sbin/pppoa
/etc/eagle-usb/scripts/eu_config_bash #就是那些选择ISP的。可以修改一个自己的。
"xCN01" ) VPI="00" ; VCI="20" ; ENC="03" ; COUNTRY="Chinese" ; ISP_NAME="163" ;;
for ISP_TMP in AT01 BE01 BR01 BR02 BR03 BR04 BG01 BG02 DK01 DE01 ES01 ES02 ES03 ES04 FI01 FR01 FR02 FR03 FR04 FR05 FR06 FR07 GR01 HU01 IE01 IT01 IT02 IT03 NL01 PL01 PT01 SE01 CH01 CH02 CN01 UK01 ; do
/etc/ppp/chap-secrets #保留用户名和密码。
/etc/ppp/peers/adsl #联网配置设置
/etc/ppp/peers/mire #类似配置,法国电信搞的什么东西,特殊的协议?
/usr/sbin/fctStartAdsl
/usr/sbin/fctStopAdsl
/usr/sbin/startmire
/usr/sbin/startadsl
/usr/sbin/stopadsl
/usr/sbin/eaglediag #检查所有配置状态,需要全部OK。
/usr/sbin/eagleconfig #配置和启动。就是只能设置固定的ISP和VPI VCI,还是要手工修改/etc/eagle-usb/eagle-usb.conf
/usr/sbin/eaglectrl
/usr/sbin/eaglestat #查看联网状态
/usr/sbin/pppoa
/etc/eagle-usb/scripts/eu_config_bash #就是那些选择ISP的。可以修改一个自己的。
"xCN01" ) VPI="00" ; VCI="20" ; ENC="03" ; COUNTRY="Chinese" ; ISP_NAME="163" ;;
for ISP_TMP in AT01 BE01 BR01 BR02 BR03 BR04 BG01 BG02 DK01 DE01 ES01 ES02 ES03 ES04 FI01 FR01 FR02 FR03 FR04 FR05 FR06 FR07 GR01 HU01 IE01 IT01 IT02 IT03 NL01 PL01 PT01 SE01 CH01 CH02 CN01 UK01 ; do
上次由 eexpress 在 2005-11-07 8:58,总共编辑 1 次。
● 鸣学
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
etc/eagle-usb/scripts/eu_config_bash #就是那些选择ISP的。可以修改一个自己的。本身当然没有我要的,还不能选手动。气死。
增加
sudo eagleconfig
虚拟出一个eth0。搞了好久。原来如果要启动mod,必须修改成不同的配置,在改回来。
然后pppoeconf eth0。才出一个ppp0。
软件带的startadsl都不要用。
增加
代码: 全选
"xCN01" ) VPI="[size=150]00[/size]" ; VCI="[size=150]20[/size]" ; ENC="[size=150]01[/size]" ; COUNTRY="Chinese" ; ISP_NAME="163" ;;
for ISP_TMP in AT01 BE01 BR01 BR02 BR03 BR04 BG01 BG02 DK01 DE01 ES01 ES02 ES03 ES04 FI01 FR01 FR02 FR03 FR04 FR05 FR06 FR07 GR01 HU01 IE01 IT01 IT02 IT03 NL01 PL01 PT01 SE01 CH01 CH02 CN01 UK01 ; do
虚拟出一个eth0。搞了好久。原来如果要启动mod,必须修改成不同的配置,在改回来。
然后pppoeconf eth0。才出一个ppp0。
软件带的startadsl都不要用。
● 鸣学
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
代码: 全选
37. The module does not LOAD at boot
CHECK the module is installed in the following directory:
/lib/modules/$KVERS/misc
Check hotplug is installed and that the kernel is configured to use it.
Check that the module dependencies are up to date. CHECK the file
/lib/modules/KVERS/modules.usbmap to see ig it contains references to
the eagle-usb.(o|ko) module.
CHECK you have a recent version of modutils.
38. The module is loaded at boot, bug hotplug do not load
the firmware or the DSP code
Hotplug should LOAD the DSP code thanks to the script
/etc/hotplug/usb/eagle-usb
It is called whenever the modem declares itself on the USB bus
with the USB identifiers that are specified in the file
/lib/modules/$KVERS/modules.usbmap,
just after the module was loaded.
CHECK these files are correct, and that have execute permission.
ls: /etc/hotplug/usb/eagle-usb: 没有那个文件或目录
exp@exp-ubuntu:~$ ll /lib/modules/$KVERS/modules.usbmap
ls: /lib/modules//modules.usbmap: 没有那个文件或目录
$ ll /lib/modules/2.6.10-5-686/modules.usbmap
-rw-r--r-- 1 root root 263544 2005-11-06 02:21 /lib/modules/2.6.10-5-686/modules.usbmap
$ whereis eagle-usb
eagle-usb: /etc/eagle-usb /usr/lib/eagle-usb
● 鸣学
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
升级到breezy。源的驱动又改了。气死,幸好老modem还在。
代码: 全选
exp@exp-ubuntu:~$ sudo eaglectrl -w
Sending options to device /proc/bus/usb/004/003
Unable to send options to driver: Unknown error 512
Failed to send options to device /proc/bus/usb/004/003
exp@exp-ubuntu:~$ lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 003: ID 1110:9021 Analog Devices Canada, Ltd (Allied Telesyn)
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 0915:0002 GlobeSpan, Inc.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
● 鸣学