Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| userdoc:tt_ntp_client_server [2016/12/03 00:44] – [Custom Configuration] abelbeck | userdoc:tt_ntp_client_server [2016/12/09 18:24] (current) – [Statistics and Debugging Commands] abelbeck | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| 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 |
| ===== NTP Client Configuration ===== | ===== NTP Client Configuration ===== | ||
| Line 12: | Line 12: | ||
| Locate the "NTP Server" | Locate the "NTP Server" | ||
| - | Enter user defined NTP Servers or select a regional " | + | Enter user defined NTP Servers |
| !!Tip ->!! Any changes to the " | !!Tip ->!! Any changes to the " | ||
| - | |||
| ===== NTP Server Configuration ===== | ===== NTP Server Configuration ===== | ||
| Line 21: | Line 20: | ||
| Nothing additional to configure, any local LAN interface device can use the LAN gateway address as an NTP server (UDP 123). | Nothing additional to configure, any local LAN interface device can use the LAN gateway address as an NTP server (UDP 123). | ||
| - | !!Tip ->!! By default, the DHCP " | + | !!Tip ->!! By default, the DHCP " |
| ===== Custom Configuration ===== | ===== Custom Configuration ===== | ||
| - | By default a ''/ | + | By default a ''/ |
| - | For advanced users who want addition control of the ''/ | + | For advanced users who want addition control of the ''/ |
| Using the CLI, here is a brief how-to on generating a custom configuration for chrony. | Using the CLI, here is a brief how-to on generating a custom configuration for chrony. | ||
| Line 35: | Line 34: | ||
| cp / | cp / | ||
| - | Now edit ''/ | + | Now edit ''/ |
| Now restart the NTP daemon with the new ''/ | Now restart the NTP daemon with the new ''/ | ||
| Line 42: | Line 41: | ||
| service ntpd init | service ntpd init | ||
| - | !!Tip ->!! The Network tab will support editing the ''/ | + | !!Tip ->!! The web interface |
| If you want to specify a persistent driftfile, the destination directory must have '' | If you want to specify a persistent driftfile, the destination directory must have '' | ||
| Line 52: | Line 51: | ||
| driftfile / | driftfile / | ||
| + | |||
| + | Then restart the NTP daemon (as above) to apply the change. | ||
| [[https:// | [[https:// | ||
| ===== Statistics and Debugging Commands ===== | ===== Statistics and Debugging Commands ===== | ||
| - | The '' | + | The '' |
| !!Note ->!! Some '' | !!Note ->!! Some '' | ||