ntpd

Bob von Knobloch <[email protected]> Wed, 11 May 2022 15:20:38 +0200
Newsgroups gmane.linux.leaf.user
Message-ID <[email protected]>
Hi, I am using LEAF (2 boxes) as VPN entry points. While checking
connectivity to a client, I noticed that the time was ca. 40 minutes slow.
ntpd is installed and configured.
I am sure that a reboot would set the time, but it would be nice to do
this by hand. Does the LEAF ntpd have a way of manually setting and why
is the time drifting so ?

CONIGS

# /etc/ntp.conf, configuration for ntpd



# ntpd will use syslog() if logfile is not defined

logfile /var/log/ntpd



driftfile /var/lib/ntp/ntp.drift

statsdir /var/log/ntpstats/



statistics loopstats peerstats clockstats

filegen loopstats file loopstats type day enable

filegen peerstats file peerstats type day enable

filegen clockstats file clockstats type day enable



# pool.ntp.org maps to more than 100 low-stratum NTP servers.

# Your server will pick a different set every time it starts up.

#  *** Please consider joining the pool! ***

#  ***  <http://www.pool.ntp.org/#join>  ***

server pool.ntp.org iburst


ntpd config:

# NTPD options

NTPD_OPTS="-g"



# should we wait for ntpd to be synchronized

#NTP_WAIT=YES

#NTP_WAIT_TIMEOUT=60


-- 
The Sun is out, the sky is blue, it's time to drive the MR2.


------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/