Changes between Version 4 and Version 5 of Docs/825gen2/Dev/Networking/TimeSync
- Timestamp:
- 02/21/24 14:38:36 (9 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/825gen2/Dev/Networking/TimeSync
v4 v5 3 3 The 825gen2 provides time/date synchronization to automatically set the time and date from a server on the internet. 4 4 5 The "Setup" menu screen "Set Date/Time" has the prompt "Automatic:" If this is set as "Yes" the automatic time synchronization is enabled. This is the same as the terminal command: 6 {{{ 7 sudo timedatectl set-ntp true 8 }}} 9 10 If "Automatic" is changed to "No" this is the same as: 11 {{{ 12 sudo timedatectl set-ntp false 13 }}} 14 15 From a terminal the **timedatectl** command can be used with no arguments to check whether synchronization is enabled (NTP service active). 5 16 {{{ 6 17 card825gen2:~$ timedatectl … … 14 25 }}} 15 26 27 The following command will show information about time synchronization. 16 28 {{{ 17 29 card825gen2:~$ timedatectl show-timesync --all … … 29 41 }}} 30 42 31 43 The systemctl command can also be used to view status of the systemd-timesyncd service. This will be active when time synchronization is enabled. 32 44 {{{ 33 45 card825gen2:~$ sudo systemctl status systemd-timesyncd … … 43 55 └─ 223 /lib/systemd/systemd-timesyncd 44 56 }}} 57 58 The "Setup Nework Services" has a service selection "Network Time Protocol (NTP)". This should not be needed. The systemd-timesyncd service is the preferred method of time synchronization for the 825gen2.