Re: ntpd vs ntpdate with no hardware clock

From: Warner Losh <imp_at_bsdimp.com>
Date: Sun, 07 Jul 2024 17:18:56 UTC
On Sun, Jul 7, 2024, 11:16 AM Ronald Klop <ronald-lists@klop.ws> wrote:

> I created fakertc for my rpi4.
>
> https://www.freshports.org/sysutils/fakertc/
>
> Saves the time on shutdown and sets it back early at boot.
>
> Plus I use ntpdate together with ntpd. Works fine.
>

Curious why the root mod time isn't firing... it whould alrwady do that

Warner

Regards,
> Ronald
>
> *Van:* bob prohaska <fbsd@www.zefox.net>
> *Datum:* 7 juli 2024 18:01
> *Aan:* freebsd-arm@freebsd.org
> *Onderwerp:* ntpd vs ntpdate with no hardware clock
>
> 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
>
>
> ------------------------------
>
>
>
>
>