User Tools

Site Tools


ntp

This is an old revision of the document!


NTP

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

Swiss time

METAS NTP time service : https://www.metas.ch/metas/en/home/fabe/zeit-und-frequenz/time-dissemination.html

METAS operates three public stratum 1 NTP servers in open access policy, namely: 

ntp11.metas.ch
ntp12.metas.ch
ntp13.metas.ch

The alias ntp.metas.ch points to one of the above servers.

sntp

ntpdate is deprecated. Install sntp and use that instead:

sudo apt install sntp
sntp pool.ntp.org
/docs/dokuwiki/data/attic/ntp.1670953513.txt.gz · Last modified: 2022-12-13 18:45:13 by mi