carrison 发表于 2006-9-3 10:42:56

使用USB接口的ADSL的linux用户请进,

我按下面的文档配置,在cxacru CnxEtU.sys cxacru-fw.bin时出错,错误信息是“Firmware start sequence not found, Can't find AccessRunner firmware in ''CnxEtU.sys”, 哪位成功的兄弟贴一份cxacru-fw.bin上来,不胜感激!

--------Linux ADSL USB Modem - How To

These are instructions on how to get USB ADSL modems based on the Conexant AccessRunner chipset to work with Linux (Update: It looks like the driver has been included in the 2.6.15 kernel; if your kernel is 2.6.15 or higher, you can skips steps 1 and 2 and proceed directly to step 3).


Upgrade the kernel The driver needs a kernel newer than 2.6.10. If you already have a kernel newer than 2.6.10, go to Step 2. If you have an older kernel, you will have to upgrade. Get the latest kernel sources from here (ensure that you get the full sources). You will have to include the driver sources in the kernel source tree before configuring/building the kernel.

Assuming that the kernel sources have been extracted to /home/name/linux-src, extract the driver sources to /home/name/linux-src/drivers/usb/atm. This directory will have a Kbuild file present already, so you must either merge the contents of the downloaded Kbuild file with this, or, if you are not very picky, replace the contents of the directory completely with the driver files. These are the steps to build the kernel (Note: you will need gcc to compile the kernel)

mkdir -p /home/name/build/kernel
cd /home/name/linux-src
make mrproper
make O=/home/name/build/kernel menuconfig

This will invoke the configuration menu. Navigate to Device Drivers -> USB Support -> USB DSL Modem Support and select the "Conexant AccessRunner USB support" option. Make sure that you save your configuration when you exit the menu.

make O=/home/name/build/kernel
sudo make O=/home/name/build/kernel modules_install install

This will create the new kernel image in /boot. If you are using LILO as your bootloader, run /sbin/lilo. If you use GRUB, edit /boot/grub/menu.lst to add an entry for the new kernel image.

Go to Step 3.


Install the driver module


Extract the files usbatm.ko and cxacru.ko from this file and place them in /lib/modules/<kernel version>/kernel/drivers/usb/atm.
Add these lines to your /lib/modules/<kernel version>/modules.dep file: /lib/modules/<kernel version>/kernel/drivers/usb/atm/cxacru.ko: /lib/modules/<kernel version>/kernel/drivers/base/firmware_class.ko /lib/modules/<kernel version>/kernel/drivers/usb/atm/usbatm.ko /lib/modules/<kernel version>/kernel/drivers/usb/core/usbcore.ko /lib/modules/<kernel version>/kernel/net/atm/atm.ko


Extract firmware binary
Locate the file CnxEtU.sys from your Windows setup CD for the driver and copy it to Linux.
Download the file cxacru-fw.c from here.
Compile this file: gcc -o cxacru cxacru-fw.c
Create the Linux firmware binary as below: cxacru CnxEtU.sys cxacru-fw.bin

Copy the newly created cxacru-fw.bin to /usr/lib/hotplug/firmware (Note: the location of the 'firmware' directory may be different in your case)


Reboot (using the new kernel if you had to upgrade your kernel )

Attach the modem Now plug in the modem. After about 20 seconds or so, the LED light should start blinking and then stay lit. Verify the /proc/net/atm/cxcrau:0 file to ensure that the line is up.


Create /etc/ppp/peers file Create a file called conexant in /etc/ppp/peers. A sample is provided here. Fill in your own values for user name, isp and vpi/vci.


Store password Enter the password for your user name in /etc/ppp/pap-secrets. Note: Make sure that the fields in this file are enclosed in single quotes.


Ensure that the pppoatm module has been loaded Run modprobe pppoatm as root.


Connect to your ISP Login as root and run pppd call conexant from the /etc/ppp/peers directory.

carrison 发表于 2006-9-3 10:53:28

我的猫是conexant芯片的,参考N多贴子,在Centos4和FC5中配置失败,郁闷好几天了 :?:

carrison 发表于 2006-9-5 09:51:16

网上当了个firmware.bin,改为cxacru-fw.bin, 放到/lib/firmware下, 重起机器显示modem 初始化失败...

carrison 发表于 2006-9-12 11:22:22

看来还是ubuntu厉害啊 :wink:

http://eciadsl.flashtux.org/modems.php?lang=en
页: [1]
查看完整版本: 使用USB接口的ADSL的linux用户请进,