fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


linux:ntp

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
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.  More information about cookies 
linux/ntp.txt · Last modified: 2025/04/02 19:41 by gsys