Resolving the Network Manager bug in Ubuntu 9.10

Due to a bug in Network Manager, establishing PPPoE connections is not possible on a new installation of Ubuntu 9.10 (Karmic Koala).

It is possible to resolve this bug by downloading and installing Network Manager from the Network Manager Team Launchpad Personal Package Archive (PPA). But you need to connect to the internet first, for which you can use pppoeconf.

sudo pppoeconf

Follow the instructions that appear and set up your PPPoE connection. After it is set up, you can start your internet connection by typing in :

sudo pon dsl-provider

And you can terminate your connection by using :

sudo poff dsl-provider

Now that we are connected to the internet, we need to add the Launchpad PPA URL to the sources list :

gksudo gedit /etc/apt/sources.list

For Kubuntu and Xubuntu, you will need to use kdesu kate and gksudo mousepad in place of gksudo gedit respectively.

Add these lines to the end and save the file.

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

Now update the source list :

sudo apt-get update

Now install Network manager using apt-get :

sudo apt-get install network-manager

We now need to disable the “pppoe on boot” setting which is configured by pppoeconf.

gksudo gedit /etc/ppp/pppoe_on_boot

Comment out the exec pppd call dsl-provider by adding a leading #.

We now need to rename /etc/network/interfaces to backup file. Deleting it is also an option, but keeping a backup is always recommended.

sudo mv /etc/network/interfaces /etc/network/interfaces.bak

Edit /usr/share/polkit-1/actions/org.freedesktop.network-manager-settings.system.policy :

gksudo gedit /usr/share/polkit-1/actions/org.freedesktop.network-manager-settings.system.policy

Find out the line that contains :

<message xml:lang="en_GB">System policy prevents modification of system settings</message>

Find this line after it :

      <allow_active>auth_admin_keep</allow_active>

Above it, find :

      <allow_inactive>no</allow_inactive>

Change it to :

      <allow_inactive>yes</allow_inactive>

You may revert back this change after your connections are set up.
Restart your computer after doing this. Network manager will work right after this.

Comments are closed.