Yeah, we know that sometimes Raspberry Pi loves to lose its internet connection. Once that is done, you have to unplug and replug it again, which is a real pain.
This helps to mitigate that issue. There are two scripts:
- To restart the Raspberry Pi upon sensing no Internet.
- To restart the Wi-Fi of the Raspberry Pi upon sensing no Internet.
Choose one and let's explore both of them!