NTP Server : Configure NTP Server (NTPsec)2024/04/26 |
|
Install NTPsec and Configure NTP server for time adjustment. NTP uses 123/UDP.
|
|
| [1] | Install and Configure NTPsec. |
|
root@dlp:~#
apt -y install ntpsec
root@dlp:~#
vi /etc/ntpsec/ntp.conf # line 24 : if you use your own NTP servers only and also # pool entries are a few, change number of value below or comment out the line #tos minclock 4 minsane 3 # line 34 : comment out default settings and add NTP server pool you like to use # * OK to keep default if you do not have specific requirements #pool 0.ubuntu.pool.ntp.org iburst #pool 1.ubuntu.pool.ntp.org iburst #pool 2.ubuntu.pool.ntp.org iburst #pool 3.ubuntu.pool.ntp.org iburst # Use Ubuntu's ntp server as a fallback. #server ntp.ubuntu.com pool ntp.nict.jp iburst
root@dlp:~#
systemctl restart ntpsec
# verify status root@dlp:~# ntpq -p
remote refid st t when poll reach delay offset jitter
===============================================================================
ntp.nict.jp .POOL. 16 p - 256 0 0.0000 0.0000 0.0001
-ntp-a3.nict.go. .NICT. 1 u - 64 1 17.4839 -1.6838 1.1843
+ntp-b3.nict.go. .NICT. 1 u - 64 1 20.2276 -0.4035 1.2985
+ntp-b2.nict.go. .NICT. 1 u - 64 1 20.1772 -0.3506 1.1771
*ntp-k1.nict.jp .NICT. 1 u - 64 1 13.3053 0.1693 1.2011
-ntp-a2.nict.go. .NICT. 1 u - 64 1 16.4007 -1.2824 1.2209
ntp-a2.nict.go. .INIT. 16 u - 64 0 0.0000 0.0000 0.0001
2001:ce8:78::2 .INIT. 16 u - 64 0 0.0000 0.0000 0.0001
ntp-a3.nict.go. .INIT. 16 u - 64 0 0.0000 0.0000 0.0001
|
| Sponsored Link |