<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0096)http://www.usr-emea.com/loc-unkg/inc-support/manuals/9000-linux-ug/Installing%20the%20Modem.html -->
<HTML><HEAD><TITLE>U.S. Robotics SureConnect ADSL USB Modem User Guide</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<STYLE>.Normal {
FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: "Arial"
}
</STYLE>
<META content="MSHTML 6.00.2800.1170" name=GENERATOR></HEAD>
<BODY class=Normal lang=EN-US vLink=#ffffff aLink=#ffffff link=#fffff0
bgColor=#ffffff leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">
<TABLE height=6026 cellSpacing=0 cellPadding=1 width=950 border=0>
<TBODY>
<TR>
<TD class=Normal vAlign=top colSpan=4 height=114>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><A
name=top-page></A><IMG id=_x0000_i1061 height=111 alt="U.S. Robotics"
src="U_S_ Robotics SureConnect ADSL USB Modem User Guide_file/ban-support.jpg"
width=720 align=absBottom border=0></SPAN></P></TD>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><IMG id=_x0000_i1027
height=1
src="U_S_ Robotics SureConnect ADSL USB Modem User Guide_file/pixel.gif"
width=1 border=0></SPAN>
<P></P></P></TR>
<TR>
<TD class=Normal vAlign=top width=4 bgColor=red height=6026> </TD>
<TD class=Normal vAlign=top width=230 bgColor=red>
<H3><FONT color=#ffffff>Contents:</FONT></H3>
<P><SPAN style="COLOR: white"><B>U.S. Robotics <I>SureConnect</I> ADSL USB
Modem </B></SPAN>
<P><B>Installing the Modem</B>
<P><A
href="http://www.usr-emea.com/loc-unkg/inc-support/manuals/9000-linux-ug/Standards%20and%20Protocols.html"><SPAN
style="COLOR: white">ADSL Standards & Protocols</SPAN></A></P>
<P><A
href="http://www.usr-emea.com/loc-unkg/inc-support/manuals/9000-linux-ug/Troubleshooting.html"><SPAN
style="COLOR: white">Troubleshooting</SPAN></A></P>
<P><A
href="http://www.usr-emea.com/loc-unkg/inc-support/manuals/9000-linux-ug/Uninstall.html">Disable
the Driver</A></P>
<P><A
href="http://www.usr-emea.com/loc-unkg/inc-support/manuals/9000-linux-ug/Warranty%20and%20Support.html"><SPAN
style="COLOR: white">Limited Warranty & Technical
Support</SPAN></A></P>
<P><A
href="http://www.usr-emea.com/loc-unkg/inc-support/manuals/9000-linux-ug/Regulatory%20Information.html"><SPAN
style="COLOR: white">Regulatory Information</SPAN></A></P>
<P><A
href="http://www.usr-emea.com/loc-unkg/inc-support/manuals/9000-linux-ug/Glossary.html"><SPAN
style="COLOR: white">Glossary</SPAN></A></P></TD>
<TD class=Normal vAlign=top width=9> </TD>
<TD class=Normal vAlign=top width=699 bgColor=#ffffff>
<H1><SPAN style="COLOR: black">U.S. Robotics <I>SureConnect</I> ADSL USB
Modem User Guide for Linux</SPAN></H1>
<P><A
href="http://www.usr-emea.com/loc-unkg/inc-support/manuals/9000-linux-ug/Installing%20the%20Modem.html#Requirements"><FONT
color=blue>System Requirements</FONT></A></P>
<P><A
href="http://www.usr-emea.com/loc-unkg/inc-support/manuals/9000-linux-ug/Installing%20the%20Modem.html#Compile"><FONT
color=blue>Step 1: Compile and Install the USB ADSL Modem
Driver</FONT></A></P>
<P><A
href="http://www.usr-emea.com/loc-unkg/inc-support/manuals/9000-linux-ug/Installing%20the%20Modem.html#Configuring"><FONT
color=blue>Step 2: Configuring the ADSL USB Modem
Parameters</FONT></A></P>
<P><A
href="http://www.usr-emea.com/loc-unkg/inc-support/manuals/9000-linux-ug/Installing%20the%20Modem.html#use"><FONT
color=blue>Step 3: Set Up the ADSL USB Modem for Use </FONT></A></P>
<P><A
href="http://www.usr-emea.com/loc-unkg/inc-support/manuals/9000-linux-ug/Installing%20the%20Modem.html#Modem_Status"><FONT
color=blue>Modem Status</FONT></A></P>
<H3 align=left><A name=Requirements></A>System Requirements</H3>
<UL>
<LI><FONT face="Arial, Helvetica, sans-serif" size=2>32 MB system memory
or more </FONT>
<LI><FONT face="Arial, Helvetica, sans-serif" size=2>10 MB free space on
your hard drive </FONT>
<LI><FONT face="Arial, Helvetica, sans-serif" size=2>56 color VGA or
higher resolution </FONT>
<LI><FONT face="Arial, Helvetica, sans-serif" size=2>CD-ROM drive
</FONT>
<LI><FONT face="Arial, Helvetica, sans-serif" size=2>One available USB
port and one USB cable (supplied) </FONT>
<LI><FONT face="Arial, Helvetica, sans-serif" size=2>Telephone cable
with RJ-11 connectors </FONT>
<LI><FONT face="Arial, Helvetica, sans-serif" size=2>Linux operating
system disks </FONT>
<LI><FONT face="Arial, Helvetica, sans-serif" size=2>Available ADSL
service or connection to DSLAM or ADSL service emulator </FONT></LI></UL>
<P align=right> </P>
<H2>Linux Installation </H2>
<H3><A name=compile></A>Step 1: Compile and Install the Modem Driver </H3>
<P>The following installation supports the encapsulations listed
below:</P>
<UL>
<LI>RFC1483 (LAN driver)
<LI>RFC2516 (PPP Over Ethernet)
<LI>RFC2364 (PPP Over ATM) </LI></UL>
<P>The package that you have contains the driver source codes and some
script files for compiling, installing, and using the U.S. Robotics
SureConnect ADSL USB Modem. The driver will be installed as an Ethernet
driver and the interface name will be called <B>ADIModem</B>.</P>
<P><FONT color=#ff0000><B>NOTE:</B></FONT> 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.</P>
<OL>
<LI>Log on as root.
<LI>Create a new directory.
<LI>Copy the tarball file <B>9000_Linux.tgz</B> into the new directory.
<LI>Unzip the tarball file. </LI></OL>
<P>The figure below shows how to create the USR_USB directory, and copy
the file <B>9000_Linux.tgz</B> into that directory from the CD-ROM drive
and then unzip the file. This is assuming you have already mounted the
CD-ROM into <B>/mnt/cdrom</B> directory.</P>
<P>The commands are as follows: </P>
<UL>
<LI>cd /usr
<LI>mkdir USR_USB
<LI>cd USR_USB
<LI>cp /mnt/cdrom/Linux/9000_Linux.tgz
<LI>tar xvzf 9000_Linux.tgz </LI></UL>
<P><IMG height=178
src="U_S_ Robotics SureConnect ADSL USB Modem User Guide_file/Linux-1.gif"
width=595></P>
<P>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.
</P>
<P>For instance, under RedHat 7.2, the source directory is
/usr/src/linux-2.4.7-10, the install command is then: </P>
<P>USR_USB./inst_mod linux-2.4.7-10 </P>
<P>The following figure shows how to compile the driver under RedHat
7.2.</P>
<P><IMG height=97
src="U_S_ Robotics SureConnect ADSL USB Modem User Guide_file/Linux-2.gif"
width=589></P>
<P><FONT color=#ff0000><B>NOTE:</B></FONT> DSP firmware files will be
located in the <B>/etc/analog</B> directory. Each time you plug in in the
USB cable, the kernel will call the application in
<B>/etc/hotplug/usb/adiusbadsl</B> to set up your modem.</P>
<P>At this point, you have built the driver that supports RFC1483 (LAN)
and also RFC2516 (PPPoE). </P>
<H3><A name=configuring></A>Step 2: Configuring the Modem Parameters </H3>
<P>/etc/analog/usradslpots.conf<BR>/etc/analog/usradslisdn.conf
<P><IMG height=421
src="U_S_ Robotics SureConnect ADSL USB Modem User Guide_file/Linux-3.gif"
width=618></P>
<P>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
<B>usradslpots.conf</B>. If you are using ADSL Annex B, which works over
an ISDN line, edit the file <B>usradslisdn.conf</B>. </P>
<P><B>Setting the VPI/VCI and Encapsulation Type Parameters </B></P>
<P>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: </P>
<UL>
<LI>VPI=00000008
<LI>VCI=00000023 </LI></UL>
<P><FONT color=#ff0000><B>NOTE:</B></FONT> Whenever you change anything in
the <B>adiusbadsl.conf</B> or <B>usradslisdn.conf</B> file, unplug the USB
cable from the modem, and then plug it back in. This will reset the modem
to use the new values.</P>
<P><B>Encapsulation Type </B></P>
<P>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.
</P>
<P>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. </P>
<P><B>Example:</B> Encapsulation = 00000006 (PPPoA-VC)</P>
<H3><A name=use></A>Step 3: Set Up the ADSL USB Modem for Use </H3>
<P><B>PPPoE Interface </B></P>
<P>After completing the first two steps, you will have built the driver
that supports RFC1483 (LAN) and also RFC2516 (PPPoE).</P>
<P><FONT color=#ff0000><B>NOTE:</B></FONT> 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.</P>
<P>As soon as you install the package on your system, you can connect the
U.S. Robotics <I>SureConnect </I>ADSL USB Modem to your computer using the
included USB cable. Once the modem is connected, the driver and module
will be loaded automatically. </P>
<P>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:</P>
<P>ifconfig -a </P>
<P>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: </P>
<UL>
<LI>DHCP
<LI>Static IP Address </LI></UL>
<P><B>Configure Interface Using DHCP </B></P>
<OL>
<LI>Confirm that your server provides a DHCP server.
<LI>If it does, then run the following script:USR_USB/ADI_PPPOE/./godhcp
<LI>To confirm the interface is operational and it has an IP address
assigned, run the following script:ifconfig </LI></OL>
<P><B>Configure Interface Using a Static IP Address </B></P>
<OL>
<LI>Run the following script to configure the interface using a Static
IP Address: </LI></OL>
<UL>
<LI>USR_USB/ADI_PPPOE/./gostatic ADIModem IPAddress Netmask
<LI>route add default gw <FONT size=2><I>ipaddress</I> (this is the
gateway provided by your ISP) </FONT>
<LI>pico /etc/resolv.conf </LI></UL>
<TABLE width=440 align=center border=0>
<TBODY>
<TR>
<TD>
<DIV align=center><I><FONT size=2>nameserver
ipaddress</FONT></I><FONT size=2> (insert your DNS Address as
provided by your ISP).</FONT></DIV></TD></TR></TBODY></TABLE>
<UL>
<LI>Run the following command to confirm the interface is operational
and an IP address has been assigned: ifconfig </LI></UL>
<P>Once the interface is properly configured, you can start sending and
receiving data. </P>
<P><FONT color=#ff0000><B>NOTE: </B><FONT color=#000000>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.</FONT></FONT></P>
<H3>PPPoA Interface </H3>
<P>1. After you have built the driver, run the following script:
USR_USB/ADI_PPPOE/./inst_pppoa </P>
<P>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 <B>/usr/sbin and /etc/ppp</B> directories.</P>
<P><IMG height=112
src="U_S_ Robotics SureConnect ADSL USB Modem User Guide_file/Linux-4.gif"
width=633></P>
<P>3. Confirm that the VPI/VCI and Encapsulation type parameters located
in the /etc/analog/adiusbadsl.conf are the same as the ones provided to
you by your ISP. </P>
<P>4. Plug the USB cable into the modem and computer. </P>
<P>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: </P>
<TABLE width=600 border=0>
<TBODY>
<TR>
<TD colSpan=4><FONT size=2>* Secrets for authentication using CHAP
</FONT></TD></TR>
<TR>
<TD><FONT size=2>* Client </FONT></TD>
<TD><FONT size=2>server</FONT></TD>
<TD><FONT size=2>secret</FONT></TD>
<TD><FONT size=2>IP addresses</FONT></TD></TR>
<TR>
<TD><FONT size=2>ISP username</FONT></TD>
<TD><FONT size=2>*</FONT></TD>
<TD><FONT size=2>ISP password</FONT></TD>
<TD><FONT size=2>*</FONT></TD></TR></TBODY></TABLE>
<P><FONT size=2>In the Options file, you need to change the user
“**********” with the username provided by your ISP.</FONT></P>
<P>6. Go into /usr/sbin directory and run the following script: ADI_PPP_Go
</P>
<P>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. </P>
<P>8. To disconnect from the server, run ADI_PPP_Stop at the same
directory and PPP will disconnect from the server. </P>
<P>The graphic on the following page shows the U.S. Robotics
<I>SureConnect</I> 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 (80.11.157.151) and a gateway
(80.11.157.1).</P>
<H3><IMG height=516
src="U_S_ Robotics SureConnect ADSL USB Modem User Guide_file/Linux-5.gif"
width=605></H3>
<P> </P>
<P align=right><A
href="http://www.usr-emea.com/loc-unkg/inc-support/manuals/9000-linux-ug/Installing%20the%20Modem.html#top-page"><SPAN
style="TEXT-DECORATION: none; text-underline: none"><IMG id=_x0000_i1062
height=25
src="U_S_ Robotics SureConnect ADSL USB Modem User Guide_file/top-of-page.gif"
width=22 border=0></SPAN></A></P>
<H3><A name=Modem_Status></A>Modem Status</H3>
<P>To view various statistics about the modem and the connection, run the
following script:
<BLOCKQUOTE>
<P><B>USR_USB/ADI_PPPOE/./showstat</B></P></BLOCKQUOTE>
<P>The statistical information will be available through <B>ADIModem</B>
in <B>/proc </B>directory.</P>
<TABLE width="60%" align=center border=0>
<TBODY>
<TR>
<TD width="11%" height=72><IMG height=42
src="U_S_ Robotics SureConnect ADSL USB Modem User Guide_file/Note.gif"
width=46></TD>
<TD width="89%" height=72><FONT size=2>This feature is available as
soon as you plug the USB cable in.</FONT></TD></TR></TBODY></TABLE>
<P> </P>
<BLOCKQUOTE>
<P> </P>
<H3 align=right><A
href="http://www.usr-emea.com/loc-unkg/inc-support/manuals/9000-linux-ug/Installing%20the%20Modem.html#top-page"><SPAN
style="TEXT-DECORATION: none; text-underline: none"><IMG id=_x0000_i1062
height=25
src="U_S_ Robotics SureConnect ADSL USB Modem User Guide_file/top-of-page.gif"
width=22 border=0></SPAN></A> </H3>
<H3 align=center><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><IMG
height=49
src="U_S_ Robotics SureConnect ADSL USB Modem User Guide_file/Ready.Set.Connect.gif"
width=400></SPAN></H3>
<H4 style="LINE-HEIGHT: 12pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></H4>
<P><A
href="http://www.usr-emea.com/loc-unkg/inc-support/manuals/9000-linux-ug/Installing%20the%20Modem.html#top-page"></A></P></BLOCKQUOTE></TD></TR></TBODY></TABLE></BODY></HTML>