How to Configure Broadband On Ubuntu Linux-- Simple Guide

It is not difficult to configure the broadband connection on a computer running Ubuntu Linus. This guide tells commands and procedure to configure DSL connection on Ubuntu step by steps. Make sure you have the Ubuntu setup disc. Make sure your computer is connected to the modem using an Ethernet cable.



Procedure to Setup Broadband On Ubuntu Computer

  1. Connect your modem/router to your computer using a LAN cable

    In Linux, Network cards(NIC) are named as eth0, eth1... and the naming depends on the order of detection of Network cards. If you have only one LAN card (Network card), it will be listed as eth0. If you have another, it will be eth1, and so on. If you have multiple cards, you need to find out which one is really eth0 and which one is really eth1 etc. (in Debian and Ubuntu, the configuration script will automatically detect the card which is connected to the ADSL modem/router).


  2. Install pppoeconf package

    In Debian based distributions (e.g. Ubuntu), you may use pppoeconf package.

    This can be installed from the installation CDs or DVD.

    $> dpkg -l ppp* | grep ^ii
    ii ppp 2.4.4rel-4 Point-to-Point Protocol (PPP) daemon
    ii pppconfig 2.3.15 A text menu based utility for configuring pp
    ii pppoe 3.8-1.1 PPP over Ethernet driver
    ii pppoeconf 1.12 configures PPPoE/ADSL connections
    ii pppstatus 0.4.2-8 console-based PPP status monitor


  3. Detection of router/Modem


    Once the package installed, use the pppoeconf command as root to do the setup. This script will automatically detect the Network interface which is connected to the router/modem and will ask you the username, password and name servers. When it asks MTU, leave it as 1452 (for pppoe connections, max can be 1492, IIRC).

    After the setup, you give the command:

    #> pon dsl-provider
    to start the connection, and
    #> poff dsl-provider
    to stop the connection.

Note: You can also install the pppstatus package. It shows you the stats for your PPP connection (data speed, connection time, etc.) in a terminal.


Further Readings
  1. Check The Internet Usage on Netgear Router By Traffic Meter

  2. Cannot Access Internet After Installing New Wireless Router

  3. How to View Computers Connected to Netgear Wireless Network

  4. How to Configure Belkin Router With DSL Broadband Connection

No:Recent Tutorials
1 Supported Tata Mobile Broadband USB Modem in Linux
2Fix DNS Issues in Tata Photon Plus USB Modem
3 Steps to add Open DNS in Ubuntu Linux
Generations and distributions of Linux distros
PPOE configuration in Ubuntu Linux
How to Setup DSL Connection On Fedora Linux

Comments