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.
[bash]sudo pppoeconf[/bash]
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 :
[bash]sudo pon dsl-provider[/bash]
And you can terminate your connection by using :
[bash]sudo poff dsl-provider[/bash]
Now that we are connected to the internet, we need to add the Launchpad PPA URL to the sources list :
[bash]gksudo gedit /etc/apt/sources.list[/bash]
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.
[code]deb http://ppa.launchpad.net/network-manager/trunk/ubuntu karmic main
deb-src http://ppa.launchpad.net/network-manager/trunk/ubuntu karmic main[/code]
Now update the source list :
[bash]sudo apt-get update[/bash]
Now install Network manager using apt-get
:
[bash]sudo apt-get install network-manager[/bash]
We now need to disable the “pppoe on boot” setting which is configured by pppoeconf.
[bash]gksudo gedit /etc/ppp/pppoe_on_boot[/bash]
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.
[bash]sudo mv /etc/network/interfaces /etc/network/interfaces.bak[/bash]
Edit /usr/share/polkit-1/actions/org.freedesktop.network-manager-settings.system.policy
:
[bash]gksudo gedit /usr/share/polkit-1/actions/org.freedesktop.network-manager-settings.system.policy[/bash]
Find out the line that contains :
[xml]System policy prevents modification of system settings[/xml]
Find this line after it :
[xml] <allow_active>auth_admin_keep</allow_active>[/xml]
Above it, find :
[xml] <allow_inactive>no</allow_inactive>[/xml]
Change it to :
[xml] <allow_inactive>yes</allow_inactive>[/xml]
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.