FHEM Forum

FHEM - Hardware => Einplatinencomputer => Thema gestartet von: HarryT am 03 Juni 2026, 15:33:41

Titel: linux watchdog on raspberrypi 3
Beitrag von: HarryT am 03 Juni 2026, 15:33:41
Hi
I use the linux watchdog on my raspberrypi 3 for years without problems. 
Now I build a new fhem installation on top of Trixie / Debian 13.
After about a week my RaspberryPi stops working. FHEM stops and the raspberry won't accept an ssh connection anymore. However the yellow led add the raspberry is still blinking a bit so there seems to be some activity.Strange enough my watchdog doesn't kickin and reboot the raspberry.  However a test with
 sudo bash -c ':(){ :|:& };:'triggers a reboot. So I guess watchdog is installed correct. 
I used scripted installations and the install for watchdog is:

sudo apt install watchdog

echo 'watchdog-timeout = 15' | sudo tee -a  /etc/watchdog.conf
echo 'max-load-1 = 24' | sudo tee -a  /etc/watchdog.conf

echo 'dtparam=watchdog=on' | sudo tee -a  /boot/firmware/config.txt

sudo systemctl enable watchdog
sudo systemctl start watchdog

I will change the watchdog config a bit so it will also trigger when a specific fhem file is not updated. That might be enough.
Has anybody an idea why my watchdog  doesn't trigger a reboot yet or even an idea why my raspberry stops responding?
Thanks for any response.
Titel: Aw: linux watchdog on raspberrypi 3
Beitrag von: KölnSolar am 03 Juni 2026, 15:46:41
I had a lot of problems setting up a rpi3 with Trixie, which worked with older debian. Main Problem were the USBs which are connected to the ethernet port. Thats possibly the cause not rebooting by the watchdog, because the system is still Running but network isn't working.

With a new rpi5 my problems were gone. The network is separated from the USBs !

Regards
Markus