Author Topic: Script to reboot NANO SD when internet connection is lost  (Read 311 times)

0 Members and 1 Guest are viewing this topic.

Offline lobsterman

  • Senior Contributor
  • ****
  • Posts: 164
    • Cape Small Harbor Weather
Script to reboot NANO SD when internet connection is lost
« on: October 13, 2020, 05:05:39 PM »
Is there an existing script to do this? Or can I cobble one together? My NANO SD often loses its network/internet connection (even with a DHCP reservation set up in the router) when we have even a power flicker; a Save and Reboot fixes the issue but I am curious to know if there is a way to check the internet status and reboot if it is lost. I am adding a UPS on the router but would still like to know if such a script is possible.

 

anything