fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


linux:ntp

This is an old revision of the document!


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 -a 'burst 4/4'
chronyc -N sources -a
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.1743615486.txt.gz · Last modified: 2025/04/02 19:38 by gsys