For some reason the BIOS of my HP Proliant Microserver (running Debian Jessie) doesn't like its Battery anymore, I changed it a couple of times, it always complains about the Battery being empty, which is not correct, I checked with a Voltmeter.
As a consequence, the machine forgets its date on startup, obviously causing all sorts of problems on restart. As a "simple" workaround, I want to prevent Debian of using the hwclock as a timesource, use ntpd instead and then (if need be) set the hwclock to the time retrieved by ntp.
There seem to have been some changes how the time is managed in the last couple of years, ntpdate seems not the right way anymore. ntpd -qg
works, then there are posts where people say timedatectl is the correct way to handle time setting nowadays on a systemd distribution, but it's not working out of the box on my Debian ("Failed to create bus connection: No such file or directory").
What is the correct way to retrieve system time via ntp on boot on a Debian Jessie system?
How do I prevent Debian from using the hwclock as a time source? (https://wiki.debian.org/DateTime mentions /etc/init.d/hwclock.sh - so do I just delete it?)