Article title: ConexantADSLUSB in Linux takes three steps. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Because Conexant AccessRunner is widely used in China Telecom and China Netcom
The usage of modem is described in the following process. The PPPoA method is used for Internet access in Qingdao. Therefore, the last step is to set the dialing method, if you are using PPPoE, make the corresponding modification in the last step (only a few changes are required)
System requirements:
One Linux PC (tested on RHAS4 and Debian sarg, requiring the kernel to use a Driver version or later,
If you pass the statement on another release, please send it to me)
The ADSL account password applied for at the communications company and the corresponding telephone line
Use the usb interface modem of Conexant AccessRunner core (the chip model is listed in step 1)
Step 1: Confirm that your cat can refer to this document
Plug the cat in the PC and power it up. use the root user to run lsusb on the console.
Display example:
[Root @ boss ~] # Lsusb
Bus 004 Device 001: ID :0000
Bus 003 Device 001: ID :0000
Bus 002 Device 002: ID 0572: cb00 Conexant Systems (Rockwell), Inc.
Bus 002 Device 001: ID :0000
Bus 001 Device 001: ID :0000
It may be different on your machine.
Write down Conexant ...... The two groups of IDs of a row are separated by numbers.
Query table
URL http://accessrunner.sourceforge.net/modems.shtml
Abstract:
Vendor ID (hex) Product name (s) Notes 0572 cafe
Conexant ADSL modem (Euphrates project)
0572 cb00 Conexant ADSL modem (Hasbani project)
AusLinx AL-2006
ACORP Sprinter @ ADSL USB
HMX-CA85UR-K8 Amigo
Origo ASU 8000
Atlanta Pocket usb adsl Modem (A01-AU2)
0572 cb01 Conexant ADSL modem
0572 cb06 Conexant ADSL modem
Atlanta I-Storm USB (A01-AU1)
Trust Speedlink 235A
Light System ADSL Module
Billion BIPAC-7000
08e3 0100 Olitec ADSL modem version 2
08e3 0102 Olitec ADSL modem version 3
0eb0 3457 Trust/Amigo Technology Co. AMX-CA86U
1803 5510 Zoom 5510
0675 0200 Draytek Vigor 318
0586 330a ZyXEL 630-C1 aka omni adsl usb (Annex A) Equivalent
December 0572: cb00
0586 330b ZyXEL 630-C3 aka omni adsl usb (Annex B) Equivalent
December 0572: cb00
0659 0020 Aethra Starmodem UM1020 Equivalent of 0572: cb00
100d cb01 Netopia Cayman 3341/3351 Equivalent of 0572: cb06
100d 3342 Netopia Cayman 3342/3352 Equivalent of 0572: cb06
You can see that your number is listed and there are green entries on that URL. Congratulations!
It indicates that your device can be supported!
Step 2: Download the driver and make the system drive normally
If your device is supported, let's drive it ......
To Web site http://sourceforge.net/projects/accessrunner
Download Driver for linux 2.6.X (I wrote 10 + documents)
Make sure that your kernel is no less than 2.6.X
Add the patch to the source code tree.
Note the following requirements for kernel config)
Because the kernel must support hot-plug and firmware in this driver mode, we need to check the settings.
Refer to the following
The source text of the new kernel selection option is as follows:
Prompt for development and/or incomplete code/drivers (EXPERIMENTAL)
...
Asynchronous Transfer Mode (ATM) (EXPERIMENTAL) (ATM)
...
Support for Host-side USB (USB)
...
Usb dsl modem support (USB_ATM)
...
Conexant AccessRunner USB support (USB_CXACRU) must be selected here
Hotplug and firemare are required.
[*] PCI support
PCI access mode (Any) ---> [*] PCI Express support
<*> PCI Express Hotplug driver [*] Use polling mechanic for hot-pluevents (for testing purpose) │ [*] Legacy/proc/pci interface
....
PCI Hotplug Support ---> SELECT * Another M for the first one.
Generic Driver Options ---> Select All * if there is -- you don't need to worry about that
Choose plug & play.
Of course, you must select all ppp over atm ppp over ethernet in the network.
Make sure that you want to compile the kernel in the way you like after the configuration is complete. I like Debian's make-kgkg very much to compile the kernel :)
Start the computer with a new kernel
The next step is to compile your fireware file so that hotplug can find it when the device is enabled.
Check your/etc/hotplug/firmware. agent file. it should exist (if it does not exist, your kernel will be faulty)
The following is the firemware file generated and placed under/lib/firmware.
Because the drivers in windows are generally well-developed, you need to use a file named CnxEtU. sys (this file will be installed after modem, or you can decompress it on the windows drive disc)
Get this file to your linux
The following uses a file named cxacru-fw program to retrieve information from CnxEtU. sys to generate the firmware file cxacru-fw.bin for linux.
When writing this document, cxacru-fw can only get the URL through cvs:
Reference http://accessrunner.sourceforge.net/firmware.shtml
Download from this page
Http://cvs.sourceforge.net/viewcvs.p ...... Srunner/utils/
You may have released a new version. please use the new version
Compile the file into an executable file.
Run the command to generate a file named cxacru-fw.bin from CnxEtU. sys
Put the cxacru-fw.bin under/lib/firmware/
Let's see if the driver works. :) (restart it)
When you insert a device into the usb, the hotplug system will try to load the appropriate driver, which is called cxacru.
So the driver in firmware is loaded. then, you will find that the cat's line light is flashing (if not flashing, sympathize with you, check it from the first step ), it indicates that the driver has been loaded. you should check/proc/net/atm/devices.
And/proc/net/atm/cxacru: X is your device number, usually 0
If line has been connected, it is always on. your/proc/net/atm/cxacru: X content should be "Lineup"
Congratulations! have a cup of tea and have a rest. you can dial now!
Step 3: ensure that the supported software is normal and dial-up
First, we recommend that you turn off iptables (I cannot set the dial when I open it ).
Recommended read-through http://gateway.bedroom.gen.nz /~ Clive ...... S/CnxADSL.html
(There are all the software patches and methods mentioned below)
Ensure that your pppd and rp-pppoe are in the new version, and that pppd has the pppoa plug-in (find/usr/lib/-name pppoatm. so if you cannot find the plug-in, find it online. pppoe users do not need this plug-in anymore :))
If you use pppoe, go directly to adsl-setup.
Pppoa users also need to download a patch.
Http://gateway.bedroom.gen.nz /~ Clive ...... Dsl-cln.tar.gz
The purpose of this patch is to enable the rp-pppoe program to support pppoa.
Now we can use adsl-setup. for PPPoA users, please note the following :)
Try ifup ppp0
View the status using adsl-status or ifconfig
Wish you a successful cat drive!