Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung | ||
admin_grundlagen:chrony [2024/01/02 06:07] ingo_wichmann |
admin_grundlagen:chrony [2024/01/02 06:56] (aktuell) ingo_wichmann [chronyd] |
||
---|---|---|---|
Zeile 5: | Zeile 5: | ||
binddevice lo | binddevice lo | ||
binddevice eth0 | binddevice eth0 | ||
+ | allow 192.168.1.0/24 | ||
+ | allow fd42:c0de:d0c:f0::/64 | ||
</file> | </file> | ||
Zeile 14: | Zeile 16: | ||
lsof -ac chronyd -Pi | lsof -ac chronyd -Pi | ||
| | ||
- | ===== Zeitserver der PTB hinzufügen ===== | + | ===== Zeitserver von pool.ntp.org nutzen ===== |
+ | [[https://www.ntppool.org/de/use.html|pool.ntp.org]] nutzen | ||
+ | <file txt /etc/chrony/sources.d/local.sources> | ||
+ | server 0.de.pool.ntp.org iburst | ||
+ | server 1.de.pool.ntp.org | ||
+ | server 2.de.pool.ntp.org | ||
+ | server 3.de.pool.ntp.org | ||
+ | </file> | ||
+ | |||
+ | ===== Zeitserver der PTB nutzen ===== | ||
NTP-Service der [[https://www.ptb.de/cms/ptb/fachabteilungen/abtq/gruppe-q4/ref-q42/zeitsynchronisation-von-rechnern-mit-hilfe-des-network-time-protocol-ntp.html|Physikalisch-Technische Bundesanstalt]] nutzen | NTP-Service der [[https://www.ptb.de/cms/ptb/fachabteilungen/abtq/gruppe-q4/ref-q42/zeitsynchronisation-von-rechnern-mit-hilfe-des-network-time-protocol-ntp.html|Physikalisch-Technische Bundesanstalt]] nutzen | ||
- | <file txt /etc/chrony/sources.d/local.conf> | + | <file txt /etc/chrony/sources.d/local.sources> |
- | server ptbtime1.ptb.de nts | + | server ptbtime1.ptb.de iburst nts |
server ptbtime2.ptb.de nts | server ptbtime2.ptb.de nts | ||
server ptbtime3.ptb.de nts | server ptbtime3.ptb.de nts | ||
server ptbtime4.ptb.de nts | server ptbtime4.ptb.de nts | ||
</file> | </file> | ||
+ | |||
+ | chronyc reload sources | ||
+ | |||
+ | Warten, bis die Zeitserver verbunden sind: | ||
+ | watch chronyc sources -v | ||
===== Chrony über chronyc steuern ===== | ===== Chrony über chronyc steuern ===== |