After installing Ubuntu 16.10 I occasionally had problems with WiFi after waking up from sleep.
But of course there’s a workaround (credit to Joakim Koed on askubuntu.com and the solution).
01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 | sudo bash -c ' cat > /etc/systemd/system/wake-up .service <<EOF [Unit] Description=Restart networkmanager at resume After=suspend.target After=hibernate.target After=hybrid- sleep .target [Service] Type=oneshot ExecStart= /bin/systemctl restart network-manager.service [Install] WantedBy=suspend.target WantedBy=hibernate.target WantedBy=hybrid- sleep .target EOF' sudo systemctl enable wake-up.service |
That is not really a solution. It’s a workaround. This problem has been around since Ubuntu implemented systemd and is still not fixed. Thank you for pointing to a working workaround though!
Well, I do know it’s a workaround. I have changed the text to be more clear on that point. Thanks!