Harsh J

Memoirs of a QWERTY Keyboard

Network Manager Disabled

5 comments

Using Kubuntu 10.04 (Lucid Lynx) for some weeks on a Laptop led me to configure some power options so that it may ‘Hibernate’ upon lid close, etc.. All was fine until some impatience led to me killing off the power to the laptop as it was suspending to Disk. From that point on, even after a reboot, my network manager refused to help me out in connecting to any network. All that tiny little applet with a useless context menu in the tray said was ‘Network Manager Disabled’.

I tried starting those services by myself, only to find it running already. All network related services (networking, network-manager, etc.) were running just fine but the manager simply refused to allow connecting to the network or even showing if there are APs available.

The solution I found was to remove the file /var/lib/NetworkManager/NetworkManager.state. This is cause of a side-effect of Suspending to RAM/Disk improperly I suppose. The manager probably failed to reset its own state post power-on and thus persisted in a disabled manner.

So, in case you’re hating that unhelpful “Network Manager disabled” message for quite sometime now (and are reading this by other means), simply delete the state file by issuing the command below and restart your network manager service. All will be good. (Although I should begin the process of switching to ArchLinux on this machine, its error outputs are far more verbose, as I like it).

# Remove wrongly persisting NM state file.
sudo rm /var/lib/NetworkManager/NetworkManager.state
# Restart network-manager service.
sudo service network-manager restart

Written by Harsh

June 2nd, 2010 at 10:12 am

Posted in Personal

5 Responses to 'Network Manager Disabled'

Subscribe to comments with RSS or TrackBack to 'Network Manager Disabled'.

  1. Thanks,

    I had this problem too and it seemed to work for me.

    IcePik

    6 Jun 10 at 12:08 am

  2. I’m having the same problem but after running the sudo rm /var/lib/NetworkManager/NetworkManager.state, nothing happens. network manager is still disabled. and I was told to try and change the value from false to true in said file. but I can’t save after changing. any help would be helpful. I’m on the fourth install of Kubuntu 10.04 in less than 3 days.

    Will

    11 Jun 10 at 8:02 pm

  3. Thanks man. worked for me too. i had exactly the same problem today when i suspended the OS to RAM when going to lunch and then …

    Farish

    14 Jun 10 at 5:20 pm

  4. Start TERMINAL

    1. sudo Nautilus

    2. Go to the folder /var/lib/NetworkManager/

    3. Edit the file NetworkManager.state to read “setting NetworkingEnabled=true”

    4. Save the edited NetworkManager.state file

    5. Close Nautilus

    6. Using TERMINAL type “sudo restart network-manager”

    Noneth

    5 Jul 10 at 8:14 pm

  5. Thank you for an alternate (perhaps cleaner?) solution Noneth.

    Harsh

    5 Jul 10 at 11:18 pm

Leave a Reply