Configure Internet on Ubuntu


PPPoE Modems

This section is about setting up an ADSL Internet connection using an ethernet PPPoE modem.

You will need to have subscribed to an Internet Service Provider, and your Internet connection must be installed and functional. A “DSL” light on your modem usually shows that the line is synchronized.

You will need your username and password for the account. You must also have an ethernet card connected to your PPPoE modem with the correct type of cable.

Finally, you need the PPPoE package to be installed in order for the following command to work. This package is installed by default, but can be missing if the configuration has been changed. If the following command does not work, you will need to install this package, which can be found on the Ubuntu CD.

To set up the modem:

  1. Open ApplicationsAccessoriesTerminal

  2. In the terminal type:

    sudo pppoeconf
  3. 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.

    3. Enter your password.

    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.

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

  4. Once you have finished these steps, your connection should be working.

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

Note : after ur connection u can check the internet connection
status using the command 'plog' or
'ifconfig ppp0' in terminal
Advertisements

3 thoughts on “Configure Internet on Ubuntu

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s