Network disabled on some wake-ups on saucy laptop [closed]
Use:
sudo touch /etc/pm/sleep.d/network-manager-resume
sudo chmod +x /etc/pm/sleep.d/network-manager-resume
sudo nano /etc/pm/sleep.d/network-manager-resume
Paste the following and save the file. This brings NetworkManager out of suspend mode:
#!/bin/sh
# This script gets NetworkManager out of suspend.
case $1 in
suspend|suspend_hybrid|hibernate)
# No need to do anything here.
;;
resume|thaw)
nmcli nm sleep false
;;
esac
Source: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1184262/comments/23
I have the same issue. Looks like it's related to power management that does not wake network-manager. After resuming, you can open a terminal and type:
sudo service network-manager restart
It should bring up the network.