I just tested a simple script (called "network_restar") to make NM
restart upon resume... and IT HAS WORKED!
Rather than creating it via terminal right into the relative folder
(/lib/systemd/system-sleep), I did it thru text editor, saved it in Home
and moved it to that folder as sudo.
>> Script content:
case "${1}" in
resume|thaw)
sudo service network-manager restart
;;
esac
>> After this, run (line by line, supposing you have saved script your
Home dir):
sudo su
(type your root password!)
mv network_restart /lib/systemd/system-sleep
chmod +x /lib/systemd/system-sleep/network_restart
>> Script seen on: http://askubuntu.com/questions/766718/script-to-
restart-network-manager-after-resume-from-sleep
** Attachment added: "network_restart"
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1576747/+attachment/4704864/+files/network_restart
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1576747
Title:
Network manager applet unable to control wifi after suspend in 16.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1576747/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs