Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jul 2022 15:15:42 +0930
From:      "Daniel O'Connor" <darius@dons.net.au>
To:        John Kennedy <warlock@phouka.net>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: RPI4 + ntpdate + unbound
Message-ID:  <8FBD6A2A-0A20-4DDA-A4D6-4D1DA8C469AF@dons.net.au>
In-Reply-To: <Yr/DPWc9Y%2Brp0J78@phouka1.phouka.net>
References:  <Yr/DPWc9Y%2Brp0J78@phouka1.phouka.net>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 2 Jul 2022, at 13:32, John Kennedy <warlock@phouka.net> wrote:
>  So I've got a RPI4 (no system time stored in NVRAM) that I did a =
stock
> type FreeBSD install on setting the time with ntpdate and the unbound
> DNS server (aiming for DNSSEC).  As many people have noted before me,
> that setup is sort of broken because you can't look up DNSSEC hosts if
> you think it's 1970.  No NTP time servers =3D=3D no date reset =3D=3D =
no DNS.

If you are interested in a hardware solution you can add an RTC to an =
RPI4 quite cheaply.

For example: =
https://core-electronics.com.au/ds1307-rtc-module-with-battery-for-raspber=
ry-pi.html

I needed the trick from this thread to get it working though:
https://lists.freebsd.org/pipermail/freebsd-arm/2021-May/023713.html

I also needed a dtso based on this: =
https://github.com/seiyo/freebsd-rpi-b-ds1307/blob/main/ds1307.dtso
(Also changed brcm,bcm2708 to brcm,bcm2385)

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8FBD6A2A-0A20-4DDA-A4D6-4D1DA8C469AF>