Re: RPI4 + ntpdate + unbound

From: Daniel O'Connor <darius_at_dons.net.au>
Date: Fri, 08 Jul 2022 05:45:42 UTC

> 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 == no date reset == 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-raspberry-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