Configure NTP Client (Ubuntu)2018/04/27
Configure NTP Client.
|||If you don't use NTP service daemon but use a command to sync time at once, use ntpdate like follows.|
apt -y install ntpdate
26 Apr 19:20:58 ntpdate: adjust time server 184.108.40.206 offset 0.000609 sec
Configure NTP Client (Windows)
Configure NTP Client on Windows. This example is based on Windows 10.
|||Open [Control Panel] - [Date and Time] and move to [internet Time] tab, then [Change settings] button.|
|||Input NTP server you'd like to sync on [Server] section and [Update now] button.|
|||It's OK to sync time if successuful message is shown like follows.
The default setting of sync interval is 86400 sec (one day).
If you'd like to configure NTP Client Service, Set like follows.Right-click Windows icon and open [run] and input "gpedit.msc" like follows.
|||Select [Administrative template] - [System] - [Windows Time Service] - [Time Providers] on the left Pane, and Open [Enable Windows NTP Client] on the right Pane.|
|||Check a box [Enabled] which is upper-left like follows.|
|||Click to open [Configure Windows NTP Client] on the right Pane.|
Check a box [Enabled] which is upper-left and change values for your environment.
[NtpServer] ⇒ Hostname or IP address of your NTP Server.
The value [0x9] is generally OK to keep default. [0x9] means [0x01] + [0x08].
They mean like follows.
0x01 SpecialIntervalFor [Type] section, It's OK to keep default [NT5DS] if your computer is in a Domain, but if not, change to [NTP].
0x08 NTP request in Client mode
For [SpecialPollInterval], set interval to sync time.
|||Open [Control Panale] - [Administrative tools] - [Services], then Select [Windows Time] Service and click [Start the service] or [Restart the service]. Furthermore, Change [Startup type] to [Automatic] if it is not the value.|