Date: Sun, 7 Jul 2024 10:15:16 -0700 From: bob prohaska <fbsd@www.zefox.net> To: Warner Losh <imp@bsdimp.com> Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: ntpd vs ntpdate with no hardware clock Message-ID: <ZorNJIblpVbTilo4@www.zefox.net> In-Reply-To: <CANCZdfpPQ3jpHTHifCRBAwd3Tp85EHFLLVFyd7CWVzg-wBqk%2Bg@mail.gmail.com> References: <Zoq7xD2BRT6YyF6l@www.zefox.net> <CANCZdfpPQ3jpHTHifCRBAwd3Tp85EHFLLVFyd7CWVzg-wBqk%2Bg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 07, 2024 at 10:16:34AM -0600, Warner Losh wrote: > 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. > Trying in /etc/rc.conf ntpd_enable="YES" ntpd_sync_on_start="YES" resulted in Starting ntpd. Jul 7 16:31:47 nemesis ntpd[1736]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): expired 10 days ago which looks like UTC presented as PDT. Trying in /etc/rc.conf ntpd_enable="YES" # Run ntpd Network Time Protocol (or NO). ntpd_sync_on_start="NO" # Sync time on ntpd startup, even if offset is high ntpd_flags="-q" resulted in a report ending 7 Jul 16:37:55 ntpd[1731]: Clock offset exceeds panic threshold. 7 Jul 16:37:55 ntpd[1731]: Set system clock by hand. Finally, adding ntpd_sync_on_start="YES" set the time sensibly during boot. Thanks very much, ntpd is now usable! bob prohaska
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZorNJIblpVbTilo4>