Network Problems with KDE

Every so often, for no apparent reason, KDE kills the network manager. After rebooting or switching users, suddenly the network manager icon says that the network is "unmanaged" and if you try to right click, it tells you that network manager is disabled. I have read that this same thing can happen if you have a failed sleep or hibernation mode.

Fixing this problem is actually pretty easy. Of course, when you need to fix it, you will need some other way to connect to the network to get the answer to this annoyance, which is a pain in the back side, but if you are here, you've clearly gotten over that hurdle. The next step is to go in and tell Network Manager that it is enabled.

Open a terminal and type
sudo kate /var/lib/NetworkManager/NetworkManager.state

You will notice that the line for "NetworkingEnabled" is set to "false". Replace the word "false" with "true" so that the line looks like
NetworkingEnabled=true

Then save the file and exit kate.

Back in the terminal type
sudo restart network-manager

and now your network should be back to normal.

Yay Internets! We love your sweet, sweet networky goodness!