Monday, May 13, 2024
 Popular · Latest · Hot · Upcoming
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 4058  / 2 Years ago, sat, july 16, 2022, 7:53:52

I am affected by the bug that occasionally my wifi connection is broken on resume from suspend. The problem manifests as follows:



Screenshot:



enter image description here



What are possible commands I can try to run from the command-line to reset my wifi connection without having to restart my system?


More From » networking

 Answers
7

Please open a terminal and do:



sudo gedit  /etc/systemd/system/wifi-resume.service


Use nano or kate or leafpad if you don't have the text editor gedit. A new empty file will open. Add the following:



[Unit]
Description=Local system resume actions
After=suspend.target

[Service]
Type=oneshot
ExecStart=/bin/systemctl restart network-manager.service

[Install]
WantedBy=suspend.target


Proofread carefully twice, save and close the text editor. Now do:



sudo chmod +x  /etc/systemd/system/wifi-resume.service


And next:



sudo systemctl enable wifi-resume.service


Reboot and let us know if the problem is solved.


[#16351] Saturday, July 16, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
imonove

Total Points: 82
Total Questions: 113
Total Answers: 106

Location: Saint Vincent and the Grenadines
Member since Wed, Nov 3, 2021
3 Years ago
;