Time services: Difference between revisions

From DWIKI
Line 17: Line 17:
you need to pass a server
you need to pass a server


==Force IPv6 only==
==Force IPv4 only==
In ntpd.service
In ntpd.service
  ExecStart=/usr/bin/ntpd -4 -g -u ntp:ntp
  ExecStart=/usr/bin/ntpd -4 -g -u ntp:ntp
Or remove the 2.* lines from /etc/systemd/timesyncd.conf
Or remove the 2.* lines from /etc/systemd/timesyncd.conf

Revision as of 14:01, 26 June 2023

Links

NTP

Linux implementations

ntpd

ntpdate

systemd

chrony

timesyncd

documentation

FAQ

ntpdate: no servers can be used

you need to pass a server

Force IPv4 only

In ntpd.service

ExecStart=/usr/bin/ntpd -4 -g -u ntp:ntp

Or remove the 2.* lines from /etc/systemd/timesyncd.conf