No real-time clock, ntpd, and settime

2021-01-09 Thread Filippo Valsorda
(Emailing the arm@ list because this is a common issue on arm platforms, although not arm specific. Let me know if I should redirect.) I run a simple OpenBSD firewall on a RPi 4, which doesn't have a real-time clock. When the power goes out, the firewall boots faster than its upstream, so it doesn

Re: No real-time clock, ntpd, and settime

2021-01-09 Thread Mark Kettenis
> Date: Sat, 09 Jan 2021 17:24:59 +0100 > From: "Filippo Valsorda" > > (Emailing the arm@ list because this is a common issue on arm platforms, > although not arm specific. Let me know if I should redirect.) > > I run a simple OpenBSD firewall on a RPi 4, which doesn't have a > real-time clock.

Re: No real-time clock, ntpd, and settime

2021-01-09 Thread Archimedes Gaviola
Hi, As Mark have said, you can buy an RTC. For how many months right now my standalone (not connected to the internet) Raspberry Pi 4B has been very stable with time using DS3231 module https://shopee.ph/DS3231-Mini-RTC-Module-i.18252381.315148783. Sharing to you as well https://marc.info/?t=15981

Re: No real-time clock, ntpd, and settime

2021-01-09 Thread Patrick Wildt
You can even get a Zigbee module combined with an RTC, and optional even PoE if you want. https://www.tindie.com/products/electrolama/zoe-rtc-zigbee-radio-and-rtc-for-raspberry-pi/ https://www.tindie.com/products/electrolama/zoe-poe-zigbee-radio-rtc-poe-for-raspberry-pi/ Am Sun, Jan 10, 2021 at 0

Driver for heartbeat LEDs

2021-01-09 Thread Wilfried Meindl
Hi, this is a simple driver for the heartbeat status LED found on many ARM boards. I find it quite useful on headless systems to see if the kernel has booted, is still running or has shut down. I am not sure if this driver is worth being included in the kernel. Still I am sharing it here with any

Re: No real-time clock, ntpd, and settime

2021-01-09 Thread Filippo Valsorda
Adding an RTC is definitely a solution, but the functionality to support RTC-less boards is there in ntpd—and indeed works well when connectivity is available from boot—it just doesn't work when network access is delayed. I'd also rather use ntpd than rdate, since the former uses constraints to ch

Re: No real-time clock, ntpd, and settime

2021-01-09 Thread Otto Moerbeek
On Sat, Jan 09, 2021 at 08:59:19PM +0100, Filippo Valsorda wrote: > Adding an RTC is definitely a solution, but the functionality to > support RTC-less boards is there in ntpd—and indeed works well when > connectivity is available from boot—it just doesn't work when network > access is delayed. >