linux:ntp
Table of Contents
NTP
Befehle
rcntp ntptimeset #Zeit mit NTP-Server synchroniseren (SLES legacy) ntpq -p #show peers timedatectl sudo timedatectl set-ntp true sudo timedatectl set-local-rtc 0 systemctl status systemd-timesyncd sudo systemctl restart systemd-timesyncd
Zeitzone setzen
timedatectl status timedatectl list-timezones | egrep -o "Europe/B.*" sudo timedatectl set-timezone "Europe/Berlin"
chrony
chrony.conf
server 192.168.1.1 allow 10.1.0.0/16 allow 192.168.1.0/24
client
chronyc activity chronyc 'burst 4/4' # might interrupt services chronyc -N sources
linux/ntp.txt · Last modified: 2025/04/02 19:41 by gsys