WiFi Reconnection Script[diff: 1..2]

r1 () → r2 ()

added link to nmcli docs


xml
  • 3 insertions
  • 1 deletion
  • +83 bytes
20 lines hidden
    decade. So I wrote this cron script that kind of works.
</p>
<p>
    Basically it uses the network manager CLI utility to see if the WiFi is connected,
    Basically it uses the 
    <a href="https://www.networkmanager.dev/docs/api/latest/nmcli.html">NetworkManager CLI utility</a> 
    to see if the WiFi is connected,
    and if not, it cycles the radio off and then on. In the event that this doesn't work
    for 15 minutes (900 seconds), it just reboots the whole machine. I'm tired of trying
    to debug this nonsense so I'm taking a scorched Earth approach now.
53 lines hidden