Edge Compute Device

Updating NTP Settings

2min

For devices & cameras on isolated networks, the device may have trouble finding an NTP server and obtaining the correct time.

You can easily view the device time with the date command.

Many offline networks have an NTP server available for these isolated devices to use. The following setps outline how you can add this NTP server's IP address or hostname to the device's NTP configuration to enable proper time syncing.

First, make an edit to the following file: /etc/systemd/timesyncd.conf

/etc/systemd/timesyncd.conf


Under the [Time] group, you can add the NTP server IP address or hostname, along with a fallback server:

NTP=10.82.41.23



Once this file is saved, the following commands should be executed to enable NTP time syncing and to restart the time service:

timedatectl set-ntp true

sudo systemctl restart systemd-timesyncd



You can confirm the time is properly synced with the timedatectl command:

timedatectl