分类: LINUX
2007-07-21 15:06:25
How to use Conexant ADSL USB modems to surf internet?
1. Fortunately, Fedora 6's kernel has supported this modem. Otherwise you have to download the driver, and recompile the kernel add its support. 2. check if kernal support this modem: connect the modem to computer, then use the following command: dmesg if there's "can't find firmware:cxacru-fw.bin", then kernel driver is OK.
1. This usb modem needs firmware support. 2. Add the firmware support, mainly two files: cxacru-fw.c and CnxEtU.sys(windows driver, can be got from windows system32) (1). compile cxacru-fw.c gcc -o cxacru-fw cxacru-fw.c (2). cxacru-fw CnxEtU.sys cxacru-fw.bin (3). cp cxacru-fw.bin /lib/firmware connect the modem again, "can not find firmware" will disappear when using dmesg.
The modem can be driven, you need register to system. need two files: br2684ctl and libatm! install above two files. 1. br2684ctl -b -c 0 -a 0.8.35 //8, 35 is VPI and VPN 2. ifconfig nas0 up (start nas0 device)
use pppoe to dail. 1. install rp-pppoe-3.7.tar.gz. 2. run adsl-setup: input user(qd111111@adsla), passwd(11111), device(nas0), dns(server), other information should be as default. 3. use adsl-start to begin dialing. 4. use ifconfig check if ppp0 has been created. 5. ping a server(Ex: ) to check if connnection is OK 6. use adsl-stop to stop the adsl
Note: you may need utils.c, br2684ctl and rp-pppoe-3.7.tar.gz