It is undeniable that the network-manager of Ubuntu9.10 is a very bad thing, and it cannot even be used for pulling numbers. In the early stage, pppoeconf was used to set the dial-up to access the Internet, the modified version of network-manager has long been released and has been installed before. However, some problems have caused me to go back to pppoeconf. Today, I made up my mind to fix it. After the tossing, I finally finished it, and there were some twists and turns in the middle. So it is necessary to record it: first open/etc/apt/sources. lis
It is undeniable that the network-manager of Ubuntu 9.10 is a very bad thing, and it cannot even be used for dialing. In the early stage, pppoeconf was used to set the dial-up to access the Internet, the modified version of network-manager has long been released and has been installed before. However, some problems have caused me to go back to pppoeconf.
Today, I made up my mind to fix it. After all the ups and downs, I finally finished it. So it is necessary to record it:
First, open/etc/apt/sources. list and add the PPA source "NetworkManager daily trunk builds for ubuntu,
Deb http://ppa.launchpad.net/network-manager/trunk/ubuntu karmic main
Deb-src http://ppa.launchpad.net/network-manager/trunk/ubuntu karmic main
Install network-manager:
Sudo apt-get install network-manager
Restart is required after installation. I chose to restart later. Do the following steps first;
Comment out the line "exec pppd call dsl-provider" in the/etc/ppp/pppoe_on_boot file, that is, disable the "pppoe on boot" option set before configuring pppoeconf:
Delete pppoeconf:
Sudo apt-get remove pppoeconf
Back up/etc/network/interfaces, Just in case:
Sudo cp/etc/network/interfaces/etc/network/interfaces_backup
Modify/usr/share/polkit-1/actions/org. freedesktop. network-manager-settings.system.policy
Sudo gedit/usr/share/polkit-1/actions/org. freedesktop. network-manager-settings.system.policy
Find "auth_admin_keep" under "System policy prevents modification of system settings" and change "no" to "yes"
After the system is restarted, it is found that the number cannot be pulled at this time. "eth0" does not appear in "Edit connection-Wired". If there is only one "ifdown (eth0)" error, it seems to be the name.
Adding "eth0" manually does not work. When you are at a loss, you have made a great deal to kill/etc/network/interfaces and restart it. yes! Done!