Power & Source of Big Ideas

Watchdog

Moderators: chensy, FATechsupport

Hi, I use a Nanopi Duo with heatsink as Flightradar 24 receiver at the top ground. It works fine. But sometimes the Duo is not working. I can only interrupt the power supply. Then the temp is very high:
temp.png
temp.png (44.84 KiB) Viewed 2622 times

NanoPi Monitor is also not working - no readings. Has the Nanopi Duo a watchdog? So it can reboot, if it is not working anymore. If yes, how can I activate the watchdog?

Peter
I found: https://forum.armbian.com/topic/2898-ho ... dog-in-h3/

Install:

Code: Select all

sudo apt-get install watchdog

Test watchdog:
Activate, after 16 sec the nanopi is restarted:

Code: Select all

 sudo sh -c 'echo 1 > /dev/watchdog'

Deactivate:

Code: Select all

sudo sh -c 'echo V > /dev/watchdog'

Start the watchdog service:

Code: Select all

sudo systemctl start  watchdog

But enable with

Code: Select all

sudo systemctl enable watchdog

start it not after reboot.
see https://unix.stackexchange.com/question ... rt-at-boot and add in /lib/systemd/system/watchdog.service

Code: Select all

[Install]
WantedBy=multi-user.target

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 2865 on Sun Nov 10, 2019 5:27 am

Users browsing this forum: No registered users and 1 guest