Had the same problem. In my case, the problem was double:
- the network would not come up at all after suspend;
- after a "sudo restart network-manager", the network would come up again, but the wifi wouldn't connect to my network.
I found a permanent and complete solution based both on this and that, which is:
Code:
sudo touch /etc/pm/sleep.d/wakenet.sh
sudo chmod +x /etc/pm/sleep.d/wakenet.sh
sudo gedit /etc/pm/sleep.d/wakenet.sh
Insert the following lines:
Code:
#!/bin/bash
case "$1" in
thaw|resume)
nmcli nm sleep false
pkill -f wpa_supplicant
;;
*)
;;
esac
exit $?
And then save.
Hope that helps.
Bookmarks