Re: ntpd

marko via leaf-user <[email protected]> Thu, 12 May 2022 11:23:07 +1000
Newsgroups gmane.linux.leaf.user
Organization Mechtron Systems
Message-ID <12151958.hleqAzm6TE@chambourcin>
On Wednesday, 11 May 2022 11:20:38 PM AEST Bob von Knobloch wrote:
> 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 ?

NTPD won't set the system clock if there is too much time difference.   It's 
the "-g" option that allows sync regardless of the system clock time at boot.

To answer your direct question, set the system clock close to the right time 
using "date" and NTPD will take over maintaining it.  

cheers

Marko





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