Article Title: how to drive usb adsl in linux (kernel 2.6.x. 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.
1. Preparations
Now make sure you have a Conexant usb adsl Modem and the following files (if you have not prepared these items, the following work will not work)
# ADSL
# If OPEN_MODE is blank then cxload uses default mode acording VID & PID
# Values for OPEN_MODE are:
#0 = auto selection, G. Handshake
#1 = auto selection, T1.413
#2 = G. Handshake
#3 = ANSI T1.413
#4 = ITU-T G.992.1 (G. DMT)
#5 = ITU-T G.992.2 (G. LITE)
OPEN_MODE = 4
# ATM
VPI = 0
VCI = 33
# Specific for RFC1483/2684 routed/bridged
# If IP_ADDRESS is blank in bridged mode then it uses DHCP to get IP
IP_ADDRESS =
NETMASK = 255.255.255.255.255
GATEWAY =
What needs to be changed is # Protocol # ADSL # ATM
If you are using the RFC1483/2684 protocol, you need to set # Specific for RFC1483/2684 routed/bridged
PPPOE and PPPOA users only need to modify the three items # Protocol # ADSL # ATM.
3. Dialing
Enter cxstart. sh in the terminal to establish a connection. cxstop. sh to disconnect the connection.
Use ifconfig to check whether you are connected, as shown in the following figure:
Code:
[Root @ Love root] # ifconfig
Lo Link encap: Local Loopback
Inet addr: 127.0.0.1 Mask: 255.0.0.0
Inet6 addr: 1/128 Scope: Host
Up loopback running mtu: 16436 Metric: 1
RX packets: 0 errors: 0 dropped: 0 overruns: 0 frame: 0
TX packets: 0 errors: 0 dropped: 0 overruns: 0 carrier: 0
Collisions: 0 txqueuelen: 0
RX bytes: 0 (0.0 B) TX bytes: 0 (0.0 B)
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