USRobotics SureConnect ADSL USB Modem
Installing the Modem
USRobotics SureConnect ADSL USB Modem User Guide for Linux
The following installation supports the encapsulations listed below:
The package that you have contains the driver source codes and some script files for compiling, installing, and using the USRobotics SureConnect ADSL USB Modem. The driver will be installed as an Ethernet driver and the interface name will be called ADIModem.
NOTE: This driver should work with 2.4.x and 2.5.x kernels with USB and hot plug support installed. For instance, it should work with other distributions of Linux, such as Red Hat 7.x, Mandrake 8.x, Suse 7.x, and Slackware 8.x.
The figure below shows how to create the USR_USB directory, and copy the file 9000_Linux.tgz into that directory from the CD-ROM drive and then unzip the file. This is assuming you have already mounted the CD-ROM into /mnt/cdrom directory.
The commands are as follows:
5. Run ./inst_mod KernelSrcDirectory. KernelSrcDirectory is the directory where this script can find the kernel source codes. This directory is normally under the /usr/src directory. If the kernel source code is not installed by default with your Linux distribution, you have to install it first. Refer to your distribution manuals for more information.
For instance, under RedHat 7.2, the source directory is /usr/src/linux-2.4.7-10, the install command is then:
The following figure shows how to compile the driver under RedHat 7.2.
NOTE: DSP firmware files will be located in the /etc/analog directory. Each time you plug in in the USB cable, the kernel will call the application in /etc/hotplug/usb/adiusbadsl to set up your modem.
At this point, you have built the driver that supports RFC1483 (LAN) and also RFC2516 (PPPoE).
There are a number of parameters that the modem needs to have configured in order to initiate a connection when the USB cable is plugged in. These parameters are stored in a configuration file. In order for the modem to be operational, these values must be modified in the file using an editor such as pico, vi, or joe. If you are using ADSL Annex A, which works over a standard telephone line, you need to edit the file usradslpots.conf. If you are using ADSL Annex B, which works over an ISDN line, edit the file usradslisdn.conf.
Setting the VPI/VCI and Encapsulation Type Parameters
VPI and VCI values are used to identify your Virtual Path Connection (VP) and your Virtual Circuit Connection (VC). Your ISP should have provided you with VPI, VCI, and Encapsulation-type parameters. The VPI/VCI values are in hexadecimal format, an example is below:
NOTE: Whenever you change anything in the adiusbadsl.conf or usradslisdn.conf file, unplug the USB cable from the modem, and then plug it back in. This will reset the modem to use the new values.
Encapsulation is a technique used by layered protocols where the data set is wrapped in a protocol header. This technique helps to bridge different networks. When a protocol data unit (PDU) is sent, a layer will add header information to that unit from the layer above. For example, a packet contains a protocol header from the physical layer. Then the network layer (IP) adds a protocol header. Finally, the transport layer (TCP) adds a protocol header, followed by the application protocol data.
The encapsulation type depends on the type of interface your ISP provides to you. Your ISP should be able to provide you with the appropriate values for their system.
Example: Encapsulation = 00000006 (PPPoA-VC)
After completing the first two steps, you will have built the driver that supports RFC1483 (LAN) and also RFC2516 (PPPoE).
NOTE: Since this package supports PPPoE encapsulation, you can use any PPPoE client software that you choose. An example of a PPPoE client is Roaring Penguin, which you can get from http://www.roaring penguin.com. You will not need to change anything in the package to be able to use PPPoE. You will just need to install the LAN driver and the desired PPPoE client software.
As soon as you install the package on your system, you can connect the USRobotics SureConnect ADSL USB Modem to your computer using the included USB cable. Once the modem is connected, the driver and module will be loaded automatically.
When the modem is detected, the PWR LED on the front left panel of the modem, will begin to blink. The driver will create an Ethernet interface called ADIModem. Although the interface is created, it is not yet configured. To confirm the interface has been created, run the following command:
A list will display all interfaces on your system. Locate the ADIModem interface. Once the interface is located, you can configure it using either one of the following methods:
Configure Interface Using DHCP
Configure Interface Using a Static IP Address
Once the interface is properly configured, you can start sending and receiving data.
NOTE: Whenever you unplug the USB cable, you need to run one of the above scripts. If you want to bring down the interface and bring it back up, run the USR_USB/ADI_PPOE/./stopip. Use one of the above script files to configure the interface again.
1. After you have built the driver, run the following script: USR_USB/./inst_pppoa
2. The script will compile, build, and install the PPPoA module. Upon completion, the script will copy the needed scripts and configuration files into the /usr/sbin and /etc/ppp directories.
3. If you are using ADSL Annex A, confirm that the VPI/VCI and Encapsulation type parameters located in the /etc/analog/usradslpots.conf are the same as the ones provided to you by your ISP. If you are using ADSL Annex B, which works over an ISDN line, confirm that the VPI/VCI and Encapsulation type parameters located in the /etc/analog/usradslisdn.conf are the same as the ones provided to you by your ISP.
4. Plug the USB cable into the modem and computer.
5. Modify the user name and password in pap-secrets, chap-secrets, and options files in /etc/ppp directory with the values provided by your ISP. For example, the format of the pap_secrets and chap_secrets files:
In the Options file, you need to change the user ********** with the username provided by your ISP.
6. Go into /usr/sbin directory and run the following script: ADI_PPP_Go
7. Once the script has completed, run ifconfig and confirm that you are connected to your provider. PPP will create an interface called ppp0 whenever it connects to a server.
8. To disconnect from the server, run ADI_PPP_Stop at the same directory and PPP will disconnect from the server.
The graphic on the following page shows the USRobotics SureConnect ADSL USB Modem connected to an ISP. The ADIModem interface is loaded (local IP 192.168.60.30), and the ppp0 interface is up and running with an IP address (18.104.22.168) and a gateway (22.214.171.124).
To view various statistics about the modem and the connection, run the following script:
The statistical information will be available through ADIModem in /proc directory.