Because the clocks of multiple of my Debian/KDE machines went off by many minutes for no apparent reason and common mainboards (or at least the one that I have) don't have accurate, reliable hardware clocks, I had to set up openntp.
With openntp there are constantly connections to ntp servers (check with sudo lsof -i) with various implications for e.g. attack-surfaces of devices and privacy. I'd like to keep Internet-connections minimal and would like to prevent all network activity which I don't need/doesn't have any use. I'd just like to have a working clock for everyday use so I don't think all of this is really needed:
there must be a better and simpler way to get a working clock on GNU/Linux/Debian.
Two such ways I can think of would be:
- having openntpd only connect to ntp servers every z minutes (a random number between x and y), sync the clock and then shut down again.
- in a similar way fetching time information from a few authenticated web-servers and only if the clock drift seems to be too large, having openntpd connect to ntp servers and sync the clock.
Maybe there are better ways like new reliable hardware clocks. I think one of these two ways could be easy to configure. Is something like this possible / how can something like this be done?
ntpqand found in ntpd.conf but I have neither that command/binary, nor a ntpd.conf file.