EasyManua.ls Logo

SeeedStudio reComputer R1000 - Watchdog

SeeedStudio reComputer R1000
46 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
reComputer R1000
© 2009-2024 Seeed Technology Co.,Ltd. All rights reserved.
29
sudo systemctl stop systemd-timesyncd
sudo systemctl disable systemd-timesyncd
2. Set the time to 12:00 PM on March 20, 2024:
sudo hwclock --set --date "2024-03-20 12:00:00"
3. Synchronize the RTC time to the system:
sudo hwclock --hctosys
4. Check the RTC time:
sudo hwclock -r
This command will read and display the time stored in the RTC.
5. Disconnect the power source from the RTC, wait a few minutes, then reconnect it and check the RTC time again
to see if it retained the correct time.
3.14 Watchdog
To perform a watchdog test, follow these steps:
1. Install the watchdog software:
sudo apt install watchdog
2. Edit the watchdog configuration file:
# make sure you install vim already, if haven't, can install by the command below
sudo apt-get install vim
sudo vim /etc/watchdog.conf
Modify the configuration as follows:
watchdog-device= /dev/watchdog
# Uncomment and edit this line for hardware timeout values that differ
# from the default of one minute.
watchdog-timeout = 120
# If your watchdog trips by itself when the first timeout interval
# elapses then try uncommenting the line below and changing the
# value to 'yes'.
#watchdog-refresh-use-settimeout = auto
# If you have a buggy watchdog device (e.g. some IPMI implementations)
# try uncommenting this line and setting it to 'yes'.
#watchdog-refresh-ignore-errors = no
# ====================== Other system settings ========================
#
# Interval between tests. Should be a couple of seconds shorter than
# the hardware time-out value.
interval= 15
max-load-1 = 24
#max-load-5= 18

Related product manuals