Results 1 to 1 of 1

Need help For Ubuntu ! Cant configure Internet

  1. #1
    Junior Member
    Join Date
    Jun 2008

    Default Need help For Ubuntu ! Cant configure Internet

    I am Using ubuntu 9.04 edition under windows. I use BSNL broadband and my modem is UT300RTU. I am using pppoe mode in windows (i guess)
    I use my username and pass for connection

    I have tried everything. I will show the tutorials which i followed

    For this , Go to the Terminal(Applications->Accessories->Terminal ) and type sudo dhclient eth0 . This should give the eth0 interface an ip address from your router . If the internet connection works now , then all is well . If you still face issues and you are not able to access ( your modem's default ip ) , then you should try entering a STATIC IP .

    this tutorial should help you setup a static ip address in ubuntu intrepid . The reason i specifically mentioned Ubuntu intrepid is because the network manager for older ubuntu versions are different . Intrepid came with a totally different network manager. This network manager had problem at the beginning , but things seem to have sorted out now . I had previously written about how to setup static ip address in ubuntu intrepid by editing the interfaces file . This method is more simpler as its via the network manager.Incase of older ubuntu machines , the network manager is different , so the steps are LIKE THIS .
    Static ip addresses are used for many purposes . It has a lot of advantages and is preferred in large networks with multiple machines so as to keep track as to which machine has which ip . So here's how you setup static ip address in ubuntu intrepid via network manager :

    Note : In this tutorial i am taking an example of setting up a static ip with a gateway ip which normally is your modem/router ip address.

    Step 1 : Go to System->Preferences->Network Configuration

    Step 2 : Now here is where you choose for a Wired and a Wireless Connection. Its pretty straightforward, for a wireless connection you go to the WIRELESS tab and for a Wired connection you go to the WIRED tab.
    Step 3 : So in this case , since it is a WIRED Connection , i should select eth0 and then click on EDIT.eth0 is the interface name , it maybe eth1 in your case , dont worry about that . So click on EDIT

    Step 4 : Now you should see a page similar to this

    Step 5 : Now go to the IPV4 Settings Tab
    Step 6 : And Select METHOD to Manual

    Step 7 : Then Click on the ADD button
    Step 8 : Now under address Enter the static ip address you wish to use , in my case it is .In Netmask set it to ( its suitable in most cases).Under gateway enter your gateway ip which is mostly your modem/router ip address( or mostly) , in my case it is

    Step 9 : Then Enter the DNS server ips manually, here you can enter your ISP's DNS servers if you wish, if not just enter which is opendns server ips (Recommended)
    Step 10 : Click On OK and your good to go

    Note : Incase the static ip address hasnt been applied , you might need to restart networking by going to the Terminal(Applications->Accessories->Terminal) and typing sudo /etc/init.d/networking restart

    Now you should have internet access . If your able to access and still have no internet access then its mostly something wrong with your internet connection.

    Now while in windows , if you were in the Bridged mode i.e. your internet connection worked by using a dialer in windows to connect your pc to the internet , then you would need to configure a dialer . For this follow THIS GUIDE to connect to the internet .

    Thats it , you should now hopefully have a successful working internet connection in Ubuntu.

    This guide is for setting up an ADSL Internet connection using an ethernet PPPoE modem under Ubuntu 6.06 LTS (Dapper Drake) but newer versions of Ubuntu will be similar. Warning: This guide is quite old now! Newer versions of Ubuntu use Network Manager (nice GUI) to manage DSL connections.


    Although it may be very common to use a router to connect to the Internet, often it is needed to directly connect to an ADSL (frequently referred to as 'DSL') modem using PPPoE.

    This is useful when you have a modem that don't have internal PPPoE dial up facility or When your modem is configured for "Bridge" connection. In both these cases, You need to do the PPPoE dial-up from your machine. this documentation shows how that can be achived

    Of course, you will need to have subscribed to an Internet Service Provider (ISP), and that your Internet connection be installed and functional. A "DSL" light on your modem usually shows that the line is synchronized.

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

    Configuring PPPoE with the command line

    To set up the modem, we will use a terminal. To open a terminal, use the menu bar : Applications > Accessories > Terminal.

    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 (see the PPPoE package installation section).

    In the terminal type:

    sudo pppoeconf

    A text-based menu program will guide you through the next steps, which are:
    Confirm that your Ethernet card is detected.
    Enter your username(provided by your ISP).
    Enter your password(provided by your ISP).
    If you already have a PPPoE Connection configured, you will be asked if it may be modified.
    Popular options: you are asked if you want the 'noauth' and 'defaultroute' options and to remove 'nodetach' - choose "Yes".
    Use peer DNS - choose "Yes".
    Limited MSS problem - choose "Yes".
    When you are asked if you want to connect at start up, you will probably want to say yes.
    Finally you are asked if you want to establish the connection immediately.

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

    Manual connection control

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

    pon dsl-provider

    To stop your ADSL connection, in a terminal type:

    poff dsl-provider

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


    If your connection does not seem to work, try turning your previously configured ADSL connection on manually (see previous section). To see log, in terminal type:


    PPPoE package installation

    To check if the PPPoE package is installed, in a terminal 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 Ubuntu -- Ubuntu Packages Search. 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.

    Boot issues

    If you find that you have to run pppoeconf each time you boot, you can try two things:

    Edit /etc/network/interfaces as described here, so that that 'pppoe maintained' lines are before 'auto dsl-provider':

    # added by pppoeconf
    auto eth0
    iface eth0 inet manual
    pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf

    auto dsl-provider
    iface dsl-provider inet ppp
    provider dsl-provider
    Failing that, edit /etc/rc.local, and before the last line ("exit 0"), add:

    ifconfig eth0 up
    pon dsl-provider

    Error logs

    If you are having problems with your connection, you may find valuable information in the system message logs. You may acces system logs either in a terminal, or with a graphical interface.

    To use the grapical log viewer, in the menu bar, go to : System > Administration > System Log. You will find the system messages in /var/log/messages.
    To use the terminal, type:

    sudo dmesg
    After the config by terminal i got pon dsl-provider an error for dip group.
    I recovered it by adding user to that group .
    After doing all this atlast the network icon got redcross mark on it. There are no wired or dsl accounts under it.
    So to recover the cross i formated my ubuntu drive n installed for three times, viceversa and tried the same procedure cant make it
    Now i formatted my system please tell what procedure should i follow
    Please help i am very much worried.
    Last edited by ketansrihas; 20th September 2009 at 04:55 PM.

Similar Threads

  1. Replies: 17
    Last Post: 29th July 2011, 07:54 PM
  2. how to configure bsnl broadband in ubuntu
    By H1B50C4T3D in forum BSNL broadband
    Replies: 3
    Last Post: 17th February 2011, 07:44 PM
  3. Internet not working with ubuntu 9.04
    By ravis1102 in forum BSNL broadband
    Replies: 14
    Last Post: 12th March 2010, 11:05 PM
  4. Replies: 1
    Last Post: 28th October 2009, 11:51 AM
  5. Internet sharing on ubuntu
    By krakuzzydude in forum BSNL broadband
    Replies: 5
    Last Post: 1st February 2009, 12:09 PM