Skip to content
July 12, 2010 / Karthikeyan Natarajan

How to connect internet in GNOME and KDE or any linux OS.

An Application called pppoeconf is used for connecting to internet connection.
Here, i assume, you have DSL modem connected to your pc’s ethernet port.

PPPoE package installation

This step is done only once for automatically saving your connection settings.

The PPPoE package is installed by default, but can be missing if the configuration has been changed. To check if the PPPoE package is installed, type:

dpkg -s pppoeconf

If it is installed you should see the output on the package where two lines show this:

Package: pppoeconf Status: install ok installed

If the package is not installed, insert your Ubuntu CD and in a terminal type:

sudo apt-get install pppoeconf

If the package cannot be found, you may have to add your Ubuntu CD to the list of software repositories. To add your CD, make sure it is inserted in your CD drive and in a terminal type:

sudo apt-cdrom add

If all else fails, you can download the pppoeconf package from Of course you will need a working Internet connection, and then to transfer the package via a CDR or USB stick for example. Double click on the package in GNOME to install it.


On the console or in your terminal session type:

sudo pppoeconf

A text-based menu program will guide you through the next steps, which are:

  1. Confirm that your Ethernet card is detected.

  2. Enter your username(provided by your ISP).

  3. Enter your password(provided by your ISP).

  4. If you already have a PPPoE Connection configured, you will be asked if it may be modified.

  5. Popular options: you are asked if you want the ‘noauth’ and ‘defaultroute’ options and to remove ‘nodetach’ – choose “Yes”.

  6. Use peer DNS – choose “Yes”.

  7. Limited MSS problem – choose “Yes”.

  8. When you are asked if you want to connect at start up, you will probably want to say yes. (This option does not work)

  9. Finally you are asked if you want to establish the connection immediately.

if any of these above steps did not appear, don’t worry. The main points are 1,2,3.

Connecting to internet

You have to do this step whenever you need to connect to internet.

To start your ADSL connection on demand, in a terminal type:

sudo pon dsl-provider

To stop your ADSL connection, in a terminal type:

sudo poff dsl-provider

in most cases, you can just type “sudo poff” to stop the ADSL connection and unload the module.

For detailed info,(especially for power users)
More information is available in



Leave a Comment
  1. Arun Shivaram / Jul 14 2010 3:29 am

    a nicely written "how to" .. i guess it'll help a lot of people 🙂

  2. Anonymous / Jul 15 2010 12:24 pm

    I got as far as "CHAP authentication succeded" but then "unrecognized option 'dev/modem'I am using fiber optic, not DSL.Thanks in advance…

  3. Husain / Sep 1 2010 11:53 am

    I have already connected internet using pppoe-start command. But this time it is not working so tried with pppoe-connect. Now it is showing error "Multiple sessions are created and Modem hangs". SO now suggest me something wat to do… M waiing for ur reply..

  4. m.nitin kumar / Oct 10 2010 7:24 am

    thanks for info !!!!!

  5. Anonymous / Oct 24 2010 2:28 pm

    how to do it in jolicloud

  6. jay / Dec 15 2010 5:18 pm

    very helpfulthanks a lot!!!!!!!!!!!!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: