Re: ntpd vs ntpdate with no hardware clock

Warner Losh <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <CANCZdfpPQ3jpHTHifCRBAwd3Tp85EHFLLVFyd7CWVzg-wBqk+g@mail.gmail.com>
Try -q on ntpd. It will step system time, but only once.

FreeBSD will set the time to the last modification of /. At least for
UFS... I'm guessing this is why it was within a minute.... and is FreeBSD's
psuedo equivalent.

Warner.

On Sun, Jul 7, 2024, 10:01 AM bob prohaska <[email protected]> wrote:

> Just tried using ntpd with a fresh 14.1 installation on a Pi4.
> Near as I can tell, ntpd reports a failure due to the clock
> being off by too much, even if it's set manually to within
> a minute before reboot. Probably that's caused by the lack
> of a hardware clock on the Pi4, linux has a bodge called
> fake-hwclock. Is there an equivalent workaround for FreeBSD?
>
> In the meantime ntpdate seems to work, though deprecated
>
> Thanks for reading,
>
> bob prohaska
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.