User Tools

Site Tools


ntp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ntp [2022-12-13 17:37:57]
mi
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 18: Line 20:
     NTP=ntp.metas.ch ch.pool.ntp.org     NTP=ntp.metas.ch ch.pool.ntp.org
  
-=Swiss time+==Swiss time
  
 METAS NTP time service : https://​www.metas.ch/​metas/​en/​home/​fabe/​zeit-und-frequenz/​time-dissemination.html METAS NTP time service : https://​www.metas.ch/​metas/​en/​home/​fabe/​zeit-und-frequenz/​time-dissemination.html
Line 31: Line 33:
  
  
-=sntp+==sntp
  
 ''​ntpdate''​ is deprecated. Install ''​sntp''​ and use that instead: ''​ntpdate''​ is deprecated. Install ''​sntp''​ and use that instead:
Line 37: Line 39:
   sudo apt install sntp   sudo apt install sntp
  
-  sntp pool.ntp.org+  sntp ch.pool.ntp.org
  
/docs/dokuwiki/data/attic/ntp.1670949477.txt.gz ยท Last modified: 2022-12-13 17:37:57 by mi