The ip address cannot be dynamically obtained after Ubuntu11.04 is updated.

Source: Internet
Author: User
After Ubuntu11.04 is updated, the ip address cannot be dynamically obtained, and networkmanagerifupdown cannot be edited. To learn about Android development, you need to install Ubuntu after many years. Version 11.04, the legendary Natty. The results are well loaded, and well installed, and then updated, so that my memories and cruel reality are woven together-I can't plug in the routing and access the internet! You must set a fixed ip address and dns! Google

After Ubuntu 11.04 is updated, ip addresses cannot be dynamically obtained, and network manager ifupdown cannot be Edited:

After years of learning about Android development, I installed Ubuntu again. Version 11.04, the legendary Natty.

The results are well loaded, and well installed, and then updated, so that my memories and cruel reality are woven together-I can't plug in the routing and access the internet! You must set a fixed ip address and dns!

Google, and then uninstalled the legendary culprit of Network Manager. As a result, the token is never connected again, even if the latest version of NM is downloaded again. Then there is a magic ifupdown, which cannot be edited!

Continue to Google and find the following method:

1. Modify/etc/dbus-1/system. d/NetworkManager. conf (ROOT permission is required to modify system files)

Change the following color characters to "deny" to "allow ".

< AllowOwn = "org. freedesktop. NetworkManager"/>
< AllowSend_destination = "org. freedesktop. NetworkManager"/>
< AllowSend_interface = "org. freedesktop. NetworkManager"/>

Use the root permission in the file browser, as long as you enter:
Code: sudo nautilus
The file browser with ROOT permission will pop up, and then find NetworkManager. conf in the file browser to modify it.

2. Repeat the Dynamic Button (I have not typed the code here, and you can click it directly)
Sudo/etc/init. d/restart

3. Stop NetworkManager
Sudo/etc/init. d/Network-Manager stop

4. Except/etc/network/interfaces
Sudo rm/etc/network/interfaces

5. Restart NetworkManager.
Sudo/etc/init. d/Network-Manager start

At step 1, the black screen gets stuck and press ctrl + alt + del to restart without any changes.

In fact, you don't need to worry about him. Just take the following steps.

Note that in the preceding command, the Network-Manager must all be written in lower case. Otherwise, the command not found is used.

Now we have solved the problem. However, the NIC name is no longer Auto eth0, but automatically connected and changed to Chinese.

Related Article

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.