User Tools

Site Tools


ntp

This is an old revision of the document!


Time sync. is now controlled by systemd.

Show current state

systemctl status systemd-timesyncd.service
timedatectl
timedatectl -a timesync-status
timedatectl -a show-timesync
cat /etc/systemd/timesyncd.conf

Set NTP servers

sudo mcedit /etc/systemd/timesyncd.conf

Example:

  [Time]
  NTP=ntp.metas.ch ch.pool.ntp.org

sntp

ntpdate is deprecated. Install sntp and use that instead:

sudo apt install sntp
sntp pool.ntp.org
/docs/dokuwiki/data/attic/ntp.1670948960.txt.gz · Last modified: 2022-12-13 17:29:20 by mi