User Tools

Site Tools


ntp

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 ch.pool.ntp.org
/docs/dokuwiki/data/pages/ntp.txt · Last modified: 2022-12-13 18:55:10 by mi