Home arrow Help Docs arrow Configuring Ethernet Modem On LINUX Machine
Main Menu
Home
Help Docs
Newbies
Corporates
Gnu/Linux Distros
Programming
Databases
Links
Search
Regular
News
Interviews
Aaj Ka Tip
Aaj Ka Command
Community
Blogs
Wiki
Forums
Services
Free Software

Configuring Ethernet Modem On LINUX Machine Print E-mail
CONFIGURING ETHERNET MODEM ON LINUX MACHINE

You could have any one of the following types of modems to be configured:
1. Internal modem
2. USB modem
3. Ethernet modem

INTERNAL Modems:
As the name suggests, they are on-board modems residing inside the cpu box.

USB Modems:
They are external modems and connects to your system through USB port
( just like you connect your pen drive to the system )

ETHERNET Modems:
       They too are external modems. But instead of connecting to the USB
port, they are connected to the NIC/LAN card of your system. Since
they get connected to the   Ethernet ( Lan ) card so the name
"ETHERNET" modem is given to them.

The objective of this article is to explain the configuration of the
Ethernet modem

Please note :

1. Personally i do not have the experience of configuring the Internal
modem, so no comment about them.

2. USB modems really engross you while it comes the issue of
configuring them. 99% people will advice you to get it replaced with
the Ethernet modems. And i personally advice you the same. I spent
more than a week trying configuring my USB modem, but it was of no
avail. I won't say that its not possible to configure a USB modem on
linux. It is possible. But asks a great effort on your part.
So if you have that much patience and time then you must try your hand on it.

3. Tried and configured successfully on Slackware 10.0



Configuring ETHERNET Modem

  Introduction
============

1. pppoe is a user-space redirector which permits the use of PPPoE
(Point-to-Point Over Ethernet) with Linux.  PPPoE is used by many
DSL service providers.

Search for "pppoe-x.x.tar.gz/bz2" or just "pppoe" on www.google.com/linux.


2. Download the tar ball.





  Install the rp-pppoe-software
=====================

If its .gz, then extract it running
   #tar -xvzf pppoe-x.x.tar.gz

  If its .bz2, then extract it running
  # tar -xvjf pppoe-x.x.tar.bz2

4. Change dir to the newly formed dir named pppoe-x.x.

  root@bond:/plugins# cd rp-pppoe-3.6
  root@bond:/plugins/rp-pppoe-3.6# ls
       README    configs/  go*      gui/  rp-pppoe.spec  src/
       SERVPOET  doc/      go-gui*  man/  scripts/


5. a) Change to source directory:

       $ cd src

  b) Configure:

       $ ./configure

  c) Compile:

       $ make

  d) Install (this step must be done as root)

       # make install

Set up your Ethernet hardware
--------------------------------------
First, make sure the Ethernet card you intend to use with the modem is
visible to the Linux kernel.  Just how to do this is beyond the scope
of this document ( You can read "Configuring more than one NIC/LAN
card on a system", on the same forum).  However, if the card is the
only Ethernet card in the system, executing:

       ifconfig eth0

should display something like this:

       eth0      Link encap:Ethernet  HWaddr 00:60:67:62:31:D4

plus some more lines.  Your HWaddr will be different.  As long as you see
the HWaddr line, your card should be working.

Assign an IP address to the Ethernet card like this:

   IP address :- The IP address which you give to your Ethernet card
shoud have the same network id as that of your Ethernet modem.
Surprised that your Ethernet modem has IP address ???.
       Yes it has and so i'm saying that the network id of both should be
same otherwise your system will not be able to communicate with
the modem and hence no internet connection.
       The IP address of Ethernet modem is generally set by your ISP vendor.
So always note down that IP address for future use.
       e.g If the IP address of your Ethernet modem is 192.168.1.1 then you
could assign the IP address to your Ethernet card as 192.168.1.2.

 Configure various files
--------------------------

Several files need editing.  The easiest way to do this is to run the
following command as root:

    pppoe-setup

Answer the questions and you should be all set.

Things you should keep in mind while setting up ( pppoe-setup ) your modem.

1. User name :- Your ISP will be providing you this. Suppose its is
073140xxxx_mp and your ISP is touchtelindia. Then it will be like
073140xxxx_mp@touchtelindia.net. Obviously it depends on your
ISP, so you may do some hit and trials at this point.

2. Ethernet Interface connected to the DSL modem : If you have only
one ethernet card then it will be the default one. But in case you
have more than one, then you will have to make a choice among
them.

3. DNS Information : Get the DNS servers IP address from you ISP.
Enter them here.

4. Password: Default is given to you by your ISP. Enter that here ( i don't know how to change that on linux ( lol ) although i
know to change that on windows machine. )


If you want to know what goes on behind the scenes, read
"doc/HOW-TO-CONNECT". If you don't care and your connection works,
stop reading. :-) and enjoy surfing !!!

Bond ( )
< Previous   Next >



gnulinuxclub
Join Us
About Us
Contact Us
Support Us
Acknowlegdement
Login(only for dev.)

Royalty Free Images

O'Reilly User Group discount!




Powered By GIMP GIMP
Contact Webmaster Copyleft 2011 gnulinuxclub.org