Fix Wifi not working after Suspend [#ubuntu]

Sultan Al Isaiee
Oct 12, 2016 · 1 min read
sudo gedit /etc/systemd/system/wifi-resume.service
#/etc/systemd/system/wifi-resume.service
#sudo systemctl enable wifi-resume.service
[Unit]
Description=Restart networkmanager at resume
After=suspend.target
After=hibernate.target
After=hybrid-sleep.target
[Service]
Type=oneshot
ExecStart=wpa_cli resume
ExecStart=/bin/systemctl restart NetworkManager.service
[Install]
WantedBy=suspend.target
WantedBy=hibernate.target
WantedBy=hybrid-sleep.target
sudo systemctl enable wifi-resume.service

NOTE:

Sultan Al Isaiee

Written by

Tech Addict, Ubuntu Gnu/Linux Fan, Qt/C++ Developer | http://foxoman.net | sultan@foxoman.net | https://buymeacoff.ee/foxoman

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade