Re: ntpd

Bob von Knobloch <[email protected]> Thu, 12 May 2022 09:25:12 +0200
Newsgroups gmane.linux.leaf.user
Message-ID <[email protected]>
On 12/05/2022 03:23, marko via leaf-user wrote:
> 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
> 
A good thought Marko, I'll try it as a temporary cure.
These boxes 'never' get rebooted, but why has the time diverged?
Time sync was OK when I installed them and, as Erich wrote "NTPD is
supposed to run seamlessly"

Bob



-- 
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/