my system keeps killing my wifi connection and I am having to use the terminal to restart it using the following comand
sudo systemctl restart NetworkManager
how would i write a script for this that I could place in my favorites bar
my system keeps killing my wifi connection and I am having to use the terminal to restart it using the following comand
sudo systemctl restart NetworkManager
how would i write a script for this that I could place in my favorites bar
I've written a bash script to help with this: https://github.com/waltinator/net-o-matic
It watches the connection, and when the connection drops, does a user-specified thing to try to reconnect.
Look at the logs! sudo journalctl -b 0 -u NetworkManager
. Read man journalctl
.