networking - Wifi doesn't work after suspend after 16.04 upgrade - Ask Ubuntu


this particular version of "doesn't work after suspend" came after upgrading 16.04. seems upgrade includes wicd applet (added metacity classic gnome task bar alongside regular network icon), doesn't seem work after suspend. sudo service network-manager restart duplicates problem. takes complete reboot wifi going again. ideas why?

16.04 runs on systemd. try following:

sudo systemctl restart network-manager.service 

if works, can create script automate it.

open terminal , type following:

sudo nano /etc/systemd/system/wifi-resume.service paste script in there right click. exit ctrl + x , press y save. activate it: sudo systemctl enable wifi-resume.service

script:

#/etc/systemd/system/wifi-resume.service #sudo systemctl enable wifi-resume.service [unit] description=restart networkmanager @ 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 

hope helps. works on laptop.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User