This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ntp [2022-12-13 17:29:20] mi created |
ntp [2022-12-13 18:55:10] (current) mi [sntp] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | =NTP | ||
+ | |||
Time sync. is now controlled by systemd. | Time sync. is now controlled by systemd. | ||
- | =Show current state | + | ==Show current state |
systemctl status systemd-timesyncd.service | systemctl status systemd-timesyncd.service | ||
Line 9: | Line 11: | ||
cat /etc/systemd/timesyncd.conf | cat /etc/systemd/timesyncd.conf | ||
- | =Set NTP servers | + | ==Set NTP servers |
sudo mcedit /etc/systemd/timesyncd.conf | sudo mcedit /etc/systemd/timesyncd.conf | ||
Line 17: | Line 19: | ||
[Time] | [Time] | ||
NTP=ntp.metas.ch ch.pool.ntp.org | 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 | + | ==sntp |
''ntpdate'' is deprecated. Install ''sntp'' and use that instead: | ''ntpdate'' is deprecated. Install ''sntp'' and use that instead: | ||
Line 25: | Line 39: | ||
sudo apt install sntp | sudo apt install sntp | ||
- | sntp pool.ntp.org | + | sntp ch.pool.ntp.org |