Ubuntu9.10 configure network-manager to access the Internet

Source: Internet
Author: User
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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.