How to setup NetworkManager work with pppoe connection on Ubuntu 9.10 (Karmic)

Sponsored Link

When Ubuntu 9.10 releases, pppoe connection via NetworkManager is impossible because some bug in it so to fix this we will install network manager from daily network manager trunk ppa.
Install network manager from Daily trunk PPA

First you need to edit the /etc/apt/sources.list file

gksudo gedit /etc/apt/sources.list

Addd the following two lines

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

Save and exit the file

Update the source list

sudo apt-get update

Install network manager

sudo apt-get install network-manager

Configure pppoe

Disable your previous “pppoe on boot” setting which is configured by pppoeconf.

Edit /etc/ppp/pppoe_on_boot file

gksudo gedit /etc/ppp/pppoe_on_boot

change

exec pppd call dsl-provider

to

#exec pppd call dsl-provider

Now you need to rename /etc/network/interfaces to backup file. NetworkManager will only handle connections which haven’t declared in interfaces.

$cp /etc/network/interfaces /etc/network/interfaces.back

Also edit /usr/share/polkit-1/actions/org.freedesktop.network-manager-settings.system.policy , find out the line contains “System policy prevents modification of system settings”, and below it there is a “auth_admin_keep“, change it to “yes“. This will enable you to edit a system wide connection. If you consider this will do harm to your security, then revert the change once you have set up your connection correctly.

Finally reboot your system

Source from here

You may also like...

14 Responses

  1. pierissimo says:

    is it a workaround for hsdpa usb modem bug?

  2. tesarn says:

    when karmic comed out, i met the bug. so i downloaded a daily deb package from LP in 10.31, and it works well until now.

  3. pierissimo says:

    tesarn can you provide a link?
    thanx a lot

  4. pierissimo says:

    this work with default kernel? (i have 2.6.31-15-generic kernel version) or maybe I have to install a recent version from ubuntu kernel team?
    thanx

  5. ATOzTOA says:

    Why we need this?

    I use

    pon dsl-provider
    poff

    to connect and disconnect my boradband…

    _ATOzTOA

  6. EAIV says:

    Hello,

    I am trying to configure static ip to my destop with Ubuntu 9.1 . It seems I am able to access the web page with IP address from internal network fine but not able to access the page from external network. Could you please suggest any tutorials etc. to troubleshoot the issue ?

    Thanks,
    Raj

  7. AVarius007 says:

    Thanks! It work!

  8. How can I download them & install? I’m unable to connect. That’s why I’m here to know how to connect. I can’t connect to net unless I give my username & password. But where to provide username & password in the default ubuntu 9.10 installation?

  9. hrveen says:

    I must say this is of no help what so ever. If I am unable to log on to the internet, I can not apt-get anything. ??? Just for the record I’m using a live CD from an older version in an effort to resolve this. But of coarse thank you for your time and effort. Just could help but to be sarcastic. 🙂

    hrveen

  10. McCIUKEN says:

    It doesn’t work. After reboot “wired network not managed”, pppoeconf does not work anymore, even if I undo the changes on “auth_admin_keep“ and interfaces.back. Those steps left me with no internet connection.

  11. andrei says:

    this came off suspicious when you gave software source but no pubkey source. they just messed up network manager on this version and that’s final i guess. i would advise anyone to use pppoeconf as a workaround until the next version. it works perfectly for now

  12. Hossein says:

    Thank you! saved my life!

  13. ethnopunk says:

    How does one do this if you can’t get online to eth0 because of the problem?

Leave a Reply

Your email address will not be published. Required fields are marked *