Both sides previous revision Previous revision Next revision | Previous revision |
userdoc:tt_ntp_client_server [2016/12/03 14:08] – [Custom Configuration] abelbeck | userdoc:tt_ntp_client_server [2016/12/09 18:24] (current) – [Statistics and Debugging Commands] abelbeck |
---|
It can synchronize the system clock with NTP servers, and can also operate as an NTPv4 (RFC 5905) server and peer to provide a time service to other computers in the network. | It can synchronize the system clock with NTP servers, and can also operate as an NTPv4 (RFC 5905) server and peer to provide a time service to other computers in the network. |
| |
!!Note: AstLinux 1.2.9 or later is required!! | !!Note: AstLinux 1.2.9 or later is required for 'chrony' specific features!! |
===== NTP Client Configuration ===== | ===== NTP Client Configuration ===== |
| |
===== Custom Configuration ===== | ===== Custom Configuration ===== |
| |
By default a ''/etc/chrony.conf'' file is automatically generated from web interface settings. For most users this is sufficient. | By default a ''/etc/chrony.conf'' file is automatically generated from web interface settings. For most users this is sufficient, and recommended, providing automatic ''/etc/chrony.conf'' configuration tweaks over time. |
| |
For advanced users who want addition control of the ''/etc/chrony.conf'' configuration, they can create a persistent ''/mnt/kd/chrony.conf'' file that will be automatically sym-linked to ''/etc/chrony.conf''. | For advanced users who want addition control of the ''/etc/chrony.conf'' configuration, they can create a persistent ''/mnt/kd/chrony.conf'' file that will be automatically sym-linked to ''/etc/chrony.conf''. |
===== Statistics and Debugging Commands ===== | ===== Statistics and Debugging Commands ===== |
| |
The ''chronyc'' command connects to the ''chronyd'' daemon to retrieve useful information. If ''chronyc'' is entered by itself you will enter an interactive mode with a ''chronyc>'' prompt. Or just enter ''chronyc'' commands on the command line. | The ''chronyc'' command connects to the ''chronyd'' daemon to retrieve useful information. If ''chronyc'' is entered by itself you will enter an interactive mode with a ''chronyc>'' prompt //(supports tab-completion of commands)//. Or just enter ''chronyc'' commands on the command line. |
| |
!!Note ->!! Some ''chronyc'' commands can actively change the ''chronyd'' operation, so carefully choose what commands you issue. Below are some //safe// examples. | !!Note ->!! Some ''chronyc'' commands can actively change the ''chronyd'' operation, so carefully choose what commands you issue. Below are some //safe// examples. |