Fix DSL pppoe connection problem with Network Manager in Ubuntu 9.10

This post was written by admin on February 19, 2010
Posted Under: Internet

My friend Jason use ADSL and his Ubuntu9.10 machine can not connect to internet with the default network-manager come with Ubuntu 9.10.Everytime the machine startup,he need to type pppoeconf command and configure to access to internet.Here is how to fix this problem in Ubuntu 9.10.

Step1:Update Network Manager to the latest version from PPA

Open up terminal from Applications->Accessories->Terminal to type following command to add the key first:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BC8EBFE8

Edit /etc/apt/sources.list by this command:

sudo gedit /etc/apt/sources.list

append following to end of the file and save it.

deb http://ppa.launchpad.net/network-manager/trunk/ubuntu  karmic main
deb-src http://ppa.launchpad.net/network-manager/trunk/ubuntu karmic main

Now,type this two command to update the network-manager:

sudo aptitude update
sudo aptitude safe-upgrade

Step2:configuration to fix the conflict between pppoe and network-manager

Edit /etc/NetworkManager/nm-system-settings.conf

sudo gedit /etc/NetworkManager/nm-system-settings.conf

find and change “managed=true” (without quotes).

Edit /etc/network/interfaces,

sudo gedit /etc/network/interfaces

change its content to:

auto lo
iface lo inet loopback

Delete /etc/resolv.conf by this command:

sudo rm -rf /etc/resolv.conf

Now,restart machine or restart the network-manager by this command:

sudo /etc/init.d/network-manager restart

Step3:Add DSL connection to network-manager and make it auto-connect at login.

Right click on network-manager icon and select “edit connections”
network-manager

Delete useless connection.In DSL tab,click Add and then input your Username and Password.
network-manager1

Remember check the “Available to all users” (marked in picture) to prevent  keyring locked problem.

Related posts:

  1. Fix Network connection icon disappear on top-right panel
  2. Change network card MAC Address on Ubuntu
  3. Make DSL pppoe Automatically connect to internet after Ubuntu 10.04 Restart
  4. Speed up web browsing in Firefox/Opera using Local DNS
  5. Stop the blinking wireless LED light on Ubuntu 10.10 laptops

    Reader Comments

    How do you accomplish step one if the problem is connecting to the internet in the first place? Can I download this on a Windows machine I’m on then move it over or something?

    [Reply]

    admin Reply:

    You can download deb package from this link:https://edge.launchpad.net/~network-manager/+archive/trunk/+packages
    install following deb package:

    libnm-glib2
    libnm-util1
    network-manage
    modemmanager
    libnm-util-dev
    network-manager-dev
    libnm-glib-dev

    [Reply]

    #1 
    Written By Monty on February 20th, 2010 @ 5:13 pm

    … or more simply, connect within ubuntu using ppoeconf before following the above instructions to fix the problem with network-manager. This gives you a working connection so you can download the files.

    See this post:

    http://priyajit97.wordpress.com/2009/12/08/how-to-connect-to-internet-using-a-dsl-connection-in-ubuntu-9-10/

    [Reply]

    #2 
    Written By Tim on March 25th, 2010 @ 11:21 am

    That’s Mac OS X like theme without changing the gnome panels.You can download here:http://sourceforge.net/projects/mac4lin/files/

    Or,see:http://ubuntuguide.net/install-mac-os-x-theme-mac4lin-in-ubuntu-9-10karmic

    [Reply]

    #3 
    Written By admin on March 26th, 2010 @ 12:04 am

    Thank you so much!
    You helped me to fix my internet connection!

    [Reply]

    #4 
    Written By Lipi on April 7th, 2010 @ 4:25 pm

    thanks. You give a useful direction and I fixed almost.

    My dsl established but it’s show weired is not connection.

    [Reply]

    #5 
    Written By Masum Billah on July 20th, 2011 @ 12:22 pm

    before was work great but after restarting gived me this box and nothing shwon in it , but when i did these instruction now its not recognize the DSL .

    [Reply]

    #6 
    Written By Cutiyar on October 3rd, 2011 @ 1:13 pm

    Add a Comment

    required, use real name
    required, will not be published
    optional, your blog address