Ubuntu10.04 solution for displaying "the device is not hosted" in the Network Manager

Source: Internet
Author: User
Many people have reported that the Network Manager of Ubuntu10.04 cannot use ADSL for dial-up, so they want to use Wicd to replace the default network manager. However, I am disappointed that Wicd cannot find a wireless network. But the wireless network and wired network both display "the device is not hosted" in the Network Manager ". You can connect to the Internet by inserting a network cable and restarting your computer. Solution: Open/etc/NetworkManager/nm-system-sett in a text editor as an administrator.

Many people have reported that the Network Manager of Ubuntu 10.04 cannot use ADSL for dial-up, so they want to use Wicd to replace the default network manager. However, I am disappointed that Wicd cannot find a wireless network.

But the wireless network and wired network both display "the device is not hosted" in the Network Manager ". You can connect to the Internet by inserting a network cable and restarting your computer.

Solution:

Open/etc/NetworkManager/nm-system-settings.conf in a text editor as administrator, change "managed = false" in the last line to "managed = true", restart your computer, then you can connect to the wireless network and the wired connection normally.

The network-manager device is not hosted.

Networkmanager shows that the wired network device is not hosted and cannot be used now !!

Cause:

In Linux, there are two sets of network connection management solutions:

1./etc/network/interfaces (/etc/init. d/networking)

2. Network-Manager

The two solutions conflict and cannot coexist at the same time.

The first solution is applicable to environments without X, such as servers, or connections that do not need to be changed at all.

The second solution is to use a desktop environment, especially a notebook, to change the network connection conditions at any time.

-------------

To avoid conflicts and share configurations, the two of them have the following solutions:

1. When Network-Manager finds that/etc/network/interfaces has been changed, it will close itself (shown as unhosted) unless the managed settings come true.

2. When managed is set to true,/etc/network/interfaces does not take effect.

Solution for unhosted ubuntu network display devices

Sudo gedit/etc/NetworkManager/nm-system-settings.conf

The ubuntu network management device is not hosted.

I did not know where I was doing well last night. When I was preparing to access the Internet this morning, I found that the devices in network management were not hosted, so I could not access the internet!

I searched the internet and found the solution here:

Open sudo gedit/etc/NetworkManager/nm-system-settings.conf as administrator, change "managed = false" in the last line to "managed = true", restart the computer (you can also restart networkmanager, method: sudo service network-manager restart) to connect to the wireless network and wired connection. (I have tried 2010.4.27, but the "unmanaged device" display does not exist, but the network still cannot be accessed !!! We have to continue our efforts. See the above article for the reason)

It is estimated that the above reason is generated after dial-up with pppoeconf. Most people at www.linuxidc.com use pppoe to modify dns. Another problem is that the wired connection cannot be edited. The method is as follows:

Open/ect/network/interfaces, retain only

Auto lo

Iface lo inet loopback

Back up my nm-system-settings.conf document content-Lin Ming 2010.4.27

# This file is installed into/etc/NetworkManager, and is loaded

# NetworkManager by default. To override, specify: '-- config file'

# During NM startup. This can be done by appending to DAEMON_OPTS in

# The file:

#

#/Etc/default/NetworkManager

#

[Main]

Plugins = ifupdown, keyfile

[Ifupdown]

Managed = true

Run sudo gedit/etc/network/interfaces on the terminal

Delete the following content:

Auto dsl-provider

Iface dsl-provider inet ppp

Pre-up/sbin/ifconfig eth0 up # line maintained by pppoeconf

Provider dsl-provider

Auto eth0

Iface eth0 inet manual

Only content starting:

Auto lo

Iface lo inet loopback

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.