This is an old revision of the document!
Time sync. is now controlled by systemd.
systemctl status systemd-timesyncd.service timedatectl timedatectl -a timesync-status timedatectl -a show-timesync cat /etc/systemd/timesyncd.conf
sudo mcedit /etc/systemd/timesyncd.conf
Example:
[Time] NTP=ntp.metas.ch ch.pool.ntp.org
ntpdate
is deprecated. Install sntp
and use that instead:
sudo apt install sntp
sntp pool.ntp.org