ConexantUSBADSLmodem uses pppoe protocol to access the Internet in Debian

Source: Internet
Author: User
ConexantUSBADSLmodem uses the pppoe Protocol In Debian to access the Internet-Debian, a Linux release technology. For more information, see the following. First, the USB modem information is obtained through the lsusb command as follows:
Bus 001 Device 003: ID 0572: cb00 Conexant Systems (Rockwell), Inc. E-Tech ADSL Modem v2

This is the most basic information about the USB modem. Google can get a lot of information on the Internet. I just want to talk about the most practical part.

Let's talk about the environment of my system: Macbook, which has the Debian sid of kernel 2.6.22 installed. pppoe is used for network access.

Step 1: Download a piece of source code, cxacru-fw.c, and then compile the source code into an executable file

Gcc-o cxacru cxacru-fw.c

Of course, assume that you will install gcc. If not, the course will be supplemented.

Step 2: Find the CnxEtU. sys file in your Windows system. This is a USB modem driver or a "firmware ". Find and copy the file to the directory generated by the cxacru file and run

./Cxacru CnxEtU. sys cxacru-fw.bin

If the firmware is successfully extracted, congratulations, put the cxacru-fw.bin under/lib/firmware (another article is to put it in/usr/lib/hotplug/firware, you can create a symbolic link, if the former does not work ). If the firmware extraction fails, find a new version of CnxEtu. sys.

Step 3: install required programs
The programs to be installed include at least pppoe and br2684ctl. These two are enough.

You may need to restart the computer after plugging in the USB modem. After the computer is restarted, the modem link light starts to light up and check the device status:

Cat/proc/net/atm/cxacru: 0

Should be: Line up
Then, run
Br2684ctl-B-c 0-a 8.81

The last 8 and 81 are the VPI and VCI values of pppoe respectively. If you do not know, find the person who installs the network for you.

Appears after running
Br2684ctl [4209]: Interface "nas0" created sucessfully
Br2684ctl [4209]: Communicating over ATM 0.8.81, encapsulation: LLC
Br2684ctl [4209]: Interface configured

This means that it is basically successful.

Next, run pppoe-setup to set the account and password, and then pppoe-connect will be able to connect to the internet!
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.