This fix works for me:
1. As root, create a file named /etc/systemd/system/resume.service with the following contents:
[Unit] Description=Local system resume actions After=suspend.target
[Service] Type=oneshot ExecStart=/bin/systemctl restart NetworkManager.service
[Install] WantedBy=suspend.target
####################
sudo systemctl enable resume.service sudo systemctl daemon-reload
Now after a suspend resume, I the Network Manager icon reloads almost instantly, and wifi comes back.
You can confirm the action ran by checking it's service log after a resume:
journalctl -u resume.service
Jun 01 11:29:11 myhost systemd[1]: Starting Local system resume actions... Jun 01 11:29:12 myhost systemd[1]: Started Local system resume actions.
If you want to trigger other actions to run at "resume" time, you can add additional "ExecStart=" lines to the file.
This fix works for me:
1. As root, create a file named /etc/systemd/ system/ resume. service with the following contents:
[Unit] target
Description=Local system resume actions
After=suspend.
[Service] /bin/systemctl restart NetworkManager. service
Type=oneshot
ExecStart=
[Install] suspend. target
WantedBy=
####### ####### ######
sudo systemctl enable resume.service
sudo systemctl daemon-reload
Now after a suspend resume, I the Network Manager icon reloads almost instantly, and wifi comes back.
You can confirm the action ran by checking it's service log after a resume:
journalctl -u resume.service
Jun 01 11:29:11 myhost systemd[1]: Starting Local system resume actions...
Jun 01 11:29:12 myhost systemd[1]: Started Local system resume actions.
If you want to trigger other actions to run at "resume" time, you can add additional "ExecStart=" lines to the file.