On 9 December 2017 at 01:58, mabi <[email protected]> wrote:
>
> I have a new Lanner FW-7526B firewall loaded with OpenBSD 6.2. I must say
> it's a nice small firewall but unfortunately the ntp daemon does not seem
> to manage to set the time correctly with this hardware. The time is off by
> approximately 1:20h and every 2-3 minutes I see the following log entries:
>
If your hardware doesn't have a clock (or the clock is bad) then it can
take ntpd a long time to adjust it back to the correct time (it uses
adjtime(), which I think adjusts at +/- 10%). You can avoid this long
convergence by telling ntpd to step to the correct time on startup
(although this won't step after startup, so it requires that your NTP
servers be reachable at boot time).
$ grep ntp /etc/rc.conf.local
ntpd_flags="-s"
--
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA (new)
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.