NTP Server : Configure NTP Client |
Configure NTP Client. | |
NTP Client [systemd-timesyncd.service] is running by default on Ubuntu, so it's easy to set NTP Client. By the way, it's also possible to use NTPsec or Chrony as a NTP Client. | |
| [1] | Configure [systemd-timesyncd.service]. |
| root@client:~# systemctl status systemd-timesyncd ● systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded (/usr/lib/systemd/system/systemd-timesyncd.service; enabled>
Active: active (running) since Sun 2025-08-10 19:56:03 JST; 8min ago
Invocation: 97c332fd521d4be4b5e925f7b6a4b348
Docs: man:systemd-timesyncd.service(8)
Main PID: 338 (systemd-timesyn)
Status: "Contacted time server 10.0.0.10:123 (10.0.0.10)."
Tasks: 3 (limit: 4635)
Memory: 2.1M (peak: 2.9M)
CPU: 30ms
CGroup: /system.slice/systemd-timesyncd.service
.....
.....
root@client:~# vi /etc/systemd/timesyncd.conf # add to last line : set NTP server for your timezone NTP=dlp.srv.world root@client:~# root@client:~# systemctl restart systemd-timesyncd timedatectl timesync-status Server: 10.0.0.30 (dlp.srv.world)
Poll interval: 1min 4s (min: 32s; max 34min 8s)
Leap: normal
Version: 4
Stratum: 2
Reference: 85F3EEA3
Precision: 1us (-25)
Root distance: 15.312ms (max: 5s)
Offset: -1.621ms
Delay: 236us
Jitter: 0
Packet count: 1
Frequency: -15.309ppm |
No comments:
Post a Comment