ASL3, 44 Net Connect, RPi, Clock

RPi's do not have an internal clock. By default the time at boot on the RPi is 1/1/1970 until it is updated from an NTP server.

If you are using 44 Net Connect there can be a problem. The clocks have to be close in time for the VPN to come up.

There is a solution called "fake-hwclock". I'm surprised it is not in the pi-appliance. This program writes the current time to disk and restores it on boot. After a power failure "fake-hwclock" will give the RPi a time that is close enough for the VPN to come up.

Has anyone tried this? I'm considering it as one site has no wired internet requiring the use of "44 Net Connect" and frequent power failures. I'm thinking this will eliminate trips to the site.

Roger
WA1NVC

The fake-hwclock doesn't actually guantee that and messed up other stuff which why isn't standard. In general, traffic should pass over Wireguard on-demand. The clocks have to monotonically increase (can't jump backwards) nor can jump too far into the forward. However that should only last as long as it takes systemd-timesyncd to get the local time at boot which is usually pretty fast. Are you having some other issue that's blocking NTP entirely until Wireguard is trying to start?