Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

3 Answers 3

up vote 9 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

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

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 systems fails to wake up. It should be fixed in Maverick.

share|improve this answer
    
Thanks. I will try this :) –  AntonioCS Sep 9 '10 at 12:48
    
+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

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.