Using a local Network Time server (NTP)
Ardexa Linux uses
systemctl-timesyncd
for clock synchronisation. This will be autmatically done.
For troubleshooting, or to configure one or more local, custom NTP servers, first scan the local network for port 23/udp
sudo nmap -sU -p 123 192.168.1.0/24
Next, edit the file
/etc/systemd/timesyncd.conf
and add a space separated list of IP address for each of the NTP servers to the NTP
key, e.g.timesyncd.conf
[Time]
NTP=192.168.1.1 192.168.1.51
Finally, restart the service to activate the new NTP servers and then check the status. If the timezone is changed on the edge device; make sure the device METADATA is refresh when the timezone is changed.
sudo systemctl restart systemd-timesyncd
sudo systemctl status systemd-timesyncd ... and/or
timedatectl timesync-status
Last modified 7mo ago