In Kubuntu 12.04, I have noticed that NetworkManager doesn't like to work after a resume from sleep. So I will show you how to replace it with WICD, which is a whole lot more reliable.
Prerequisites
- Any flavor of Ubuntu, version 12.04
- An already-working internet connection with NetworkManager
- NetworkManager not successfully connecting after resume from sleep
How to make the switch
First, install WICD. Open a terminal and type:
sudo apt-get install wicd
Note that this installs wicd-gtk
. This is okay for Kubuntu users, as the GTK client is a lot easier to use than the KDE one.
Second, uninstall NetworkManager.
sudo apt-get --purge autoremove network-manager
That's it! Enjoy WICD.