I just set up a hardware watchdog on YunoHost to monitor my connectivity using the watchdog systemd service. If I can't ping 8.8.8.8 for 30 minutes, it'll trigger a reboot.

I've been having issues where my RPi4 server suddenly lost the internet connection... I disabled EEE, which hopefully fixed that, but having some extra security like this probably won't hurt.

#YunoHost #SelfHosted #Linux #RaspberryPi #SystemD

@bammerlaan Are you using a static IP address that is only assigned by the router? I was having a problem with multiple pis losing their network connection like that. After setting up the static IP in NetworkManager on the pi itself, things have been stable.

@dwsharp Ah, yes, that was something else I found earlier! I changed that, and in fact thought I'd fixed the problem for a couple of days after that, but it was still losing its internet connection after a while, as it turned out...

In fact, I also found out about the EEE thing earlier, and created a sytemd service to disable it as soon as it booted... The only thing I really changed now was adding "dtparam=eee=off" to my config.txt file, to disable it earlier in the boot process. 🤞