I was having problems connecting to the internet either by wireless or wired connection. I keep getting an icon in the systray that has a tooltip that says "unmanaged" and when I click on it I get a "Network management disabled".

I googled and found the command:

sudo dhclient eth0

Which finally enabled my network and I have net. The problem is I still get the icon with the some word "unmanaged"

Can anyone help me out? I just want to know what is happening and why did I had to go to the command line to enable my network.

I had to put the computer in sleep mode and then it wouldn't wake up, so I rebooted the machine. The network manager problems started again, this time the file mentioned by maco had the value set to true and it still wouldn't work.

Anyone know how I can make this permanently work? I did a

sudo init 0

And when I booted the machine at a later time I had the network manager enabled. Have no clue why.

share|improve this question
    
For problems in 16.10, please see Ethernet device not managed. – jokerdino Apr 18 '17 at 8:10
up vote 16 down vote accepted

I find this happens after a bad shutdown. Just change

managed=false

to

managed=true

in /etc/NetworkManager/nm-system-settings.conf


Note: In newer versions of Ubuntu, the file is at /etc/NetworkManager/NetworkManager.conf

share|improve this answer
    
Thanks so much!!! I edited the file, rebooted and it worked great :) Thanks!!!!!!!!!!! – AntonioCS Aug 23 '10 at 16:16
    
I edited the question to add that the same thing has happened again and your solution unfortunately doesn't seem to work any more. I had to switch to gnome to use the wireless connections available :( – AntonioCS Aug 24 '10 at 10:20
1  
maco's solution now requires editing of /etc/NetworkManager/NetworkManager.conf. The setting is still the same. – Kenny May 16 '12 at 2:30
    
After changing the .conf file you have to restart the network manager. For Debian/Ubuntu issue this command: sudo service network-manager restart – popas Jan 29 '17 at 10:04
    
This solution doesn't work for me in 16.10. – user1063287 Apr 12 '17 at 6:59

You should look at the contents of the file /var/lib/NetworkManager/NetworkManager.state. It should look something like this:

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

Change any from 'false' to 'true' to re-enable networking. It may work better if you first stop NetworkManager:

sudo stop network-manager

And start it again once done. Or reboot :)

In any case, this is frequent when a suspended system fails to wake up. It should be fixed in Maverick.

share|improve this answer
    
+1 Massive help for me... Thx. Countless hours fiddling with network settings until I decided to hit the stack exchange. Silly me. – Russ Dec 19 '10 at 2:44
    
This! I've been stuck on this all day! Thanks! – assafmo Dec 1 '17 at 13:48

I've just upgraded from Ubuntu 16.04 to 16.10. After that, this problem started to happen to me. In my case, I've solved it following the suggestion given in Ubuntu's launchpad:

touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf

This creates an empty file.

share|improve this answer
    
I had the same problem and only this helped me! – Pielco11 Apr 13 '17 at 18:46
    
Thanks, this helped me finally fix this problem after an upgrade to 17.04. – FrontierPsychiatrist Apr 16 '17 at 9:34

This worked for Ubuntu 17.04

sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf sudo service network-manager restart

share|improve this answer

I just upgraded from Ubuntu 16.04 to 16.10. I have 3 network cards (all configured) and no Wifi. All 3 cards were disabled, all options on the Network Manager menu were greyed out, so clicking them does nothing. I fixed it by combining two of the solutions above:

Edit /etc/NetworkManager/NetworkManager.conf and change:

managed=false

to

managed=true

Restarted network-manager:

sudo service network-manager restart

No change. Then I tried:

touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf
sudo service network-manager restart

All three network cards came back on-line.

share|improve this answer
    
the fix is weird, and the post above is not exactly correct. – rob grune Apr 21 '17 at 5:09

Try right-clicking the NetworkManager icon and enabling the network from that menu.

share|improve this answer
1  
It doesn't work. I just get a "Network management disabled" – AntonioCS Aug 24 '10 at 8:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.