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 11941 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 are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 3 guests