同维699CHA(3个小时,终于完成)

CPU/显卡/打印机/USB设备等硬件问题
回复
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

同维699CHA(3个小时,终于完成)

#1

帖子 eexpress » 2005-11-05 23:22

一个闲置的同维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的。不知道那个用过,确认一下。
上次由 eexpress 在 2005-11-06 2:27,总共编辑 1 次。
● 鸣学
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#2

帖子 eexpress » 2005-11-06 1:52

/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
上次由 eexpress 在 2005-11-07 8:58,总共编辑 1 次。
● 鸣学
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#3

帖子 eexpress » 2005-11-06 2:32

etc/eagle-usb/scripts/eu_config_bash #就是那些选择ISP的。可以修改一个自己的。本身当然没有我要的,还不能选手动。气死。
增加

代码: 全选

"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
sudo eagleconfig
虚拟出一个eth0。搞了好久。原来如果要启动mod,必须修改成不同的配置,在改回来。
然后pppoeconf eth0。才出一个ppp0。
软件带的startadsl都不要用。
● 鸣学
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#4

帖子 eexpress » 2005-11-06 2:33

还有修改/etc/networks/interface
把eth0加上去。
● 鸣学
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#5

帖子 eexpress » 2005-11-06 15:21

开机不能自动启动。

每次先eaglectrl -w
sudo pon dsl-provider

软件自己建了一个S99eagle-usb -> ../init.d/eagle-usb
其实就是 sudo fctStartAdsl,但我执行了,没反应。还只能ctrl-c。
倒是关机时,它知道停止服务。
上次由 eexpress 在 2005-11-06 15:24,总共编辑 1 次。
● 鸣学
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#6

帖子 eexpress » 2005-11-06 15:23

eagle-usb.org的都是法语。英语的有一点。有现象和我一样,竟然说要编译模块。有个家伙还说他就喜欢<eaglectrl -w>,再<startadsl>。气死。
● 鸣学
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#7

帖子 eexpress » 2005-11-06 16:00

代码: 全选

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.
exp@exp-ubuntu:~$ ll /etc/hotplug/usb/eagle-usb
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
来自: 长沙

#8

帖子 eexpress » 2005-11-09 2:04

升级到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
● 鸣学
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#9

帖子 eexpress » 2005-11-09 16:19

breezy哦。1.9.9(hoary) 2.1.1(breezy) 2.3.2(tar) 实验了3个版本。都不能同步。
● 鸣学
回复