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. Change network card MAC Address on Ubuntu
  2. Disable Annoying Update-Manager Popup in Ubuntu
  3. Speed up web browsing in Firefox/Opera using Local DNS
  4. Install Exaile 0.3.0.1 music manager/player in ubuntu
  5. Install the smart PulseAudio volume manager-Ear Candy in Ubuntu

    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

    Add a Comment

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