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

Life Goes on Like dis…

Sorrow falls where happiness fails
Laughter, tears, endless trails
Beyond that place we usually hide
Much deeper still we must abide

Sprinkled through the life we live
Magic’s touch, we must forgive
Life and death writ upon our hands
Each trickles through us, life’s fine sands

Never knowing where or when
Moments pass, new ones begin
All around us, what we’ve brought forth
Waiting within, our true north

So much to ponder, but more to live
Often wonder, what to give
Never knowing where or when
Moments pass, new ones begin

Freehand drawing, life appears
Moves us past all the tears
Never knowing where or when
Moments pass, new ones begin

Reinstall GRUB bootloader from LiveCD

A major problem faced by multi-os users having Windows and Linux is that when one installs Windows again after linux the GRUB boot loader will be busted from the MBR. Installing linux again is a strenous process. A better option would be to use a Live CD.

If u hav a live cd ….eg Ubuntu….the following method will definitely work..

This will restore grub if you already had grub installed but lost it to a windows install or some other occurence that erased/changed your MBR so that grub no longer appears at start up or it returns an error.

Boot into the live Ubuntu cd. This can be the live installer cd or the older live session Ubuntu cds.

When you get to the desktop open a terminal and enter. (I am going to give you the commands and then I will explain them later)
(This how to is written for Ubuntu but should work on other systems. The only thing to take note of, when you see “sudo” that will mean to you that the following command should be entered at a root terminal.)

sudo grub

This will get you a “grub>” prompt (i.e. the grub shell). At grub>. enter these commands


find /boot/grub/stage1

This will return a location. If you have more than one, select the installation that you want to provide the grub files.
Next, THIS IS IMPORTANT, whatever was returned for the find command use it in the next line (you are still at grub>. when you enter the next 3 commands)


root (hd?,?)

Again use the value from the find command i.e. if find returned (hd0,1) then you would enter root (hd0,1)

Next enter the command to install grub to the mbr


setup (hd0)

Finally exit the grub shell


That is it. Grub will be installed to the mbr.
When you reboot, you will have the grub menu at startup.

For more info go to

How To extract Rar file in Ubuntu

you need internet connection for dis:
go to applications-accessories-terminal: and write the foll command dere:
$ apt get install unrar

this Command Installs unrar..

now again start the terminal:
again in terminal :
go to the directory where .rar file is present.
now :
if your file is in Documents folder do as Follows in terminal
$ cd Documents
$ unrar x filename.rar

close the terminal and go to the Documents or whichever folder ur rar file was in and the extracted folder will be present..
Extraction will b Done..

Edit The menu items at start up..

Step 1:go to Applications-Accessories-Terminal
In Terminal window do as follows:
$ su
Password: Enter root Password here
$ gedit /boot/grub/menu.lst

The below screen will appear.::

Here in the selected blue part : “default 0” is written…If u want windows as default jst add 4 in front of default.
4th is the number of windows in grub list at startup (counting starts from 0)

Now here the Blue part selected is : “Timeout 10”
dis is how much time your OS list should appear (grub)
so if u make change as “Timeout 20 ” the time is increased at startup to select your OS…
save this file and exit
exit from terminal restart and see the change..u dont need to HURRY select ur OS ..!!
thank you..