...
"sudo nano /etc/ntp.conf"
Important part need to be modified in the file.
"
pool http://0.debian.pool.ntp.org iburst #Standard time server from Internet
pool 1.debian.pool.ntp.org iburst
pool 2.debian.pool.ntp.org iburst
pool 3.debian.pool.ntp.org iburst
...
"ntpq -p"
If you have the similar feedback from the terminal, that means you are successful.
The IP address should be with *.
...
Wie stelle ich einen eigenen Zeitserver ein
sudo nano /etc/systemd/timesyncd.conf2
Zeile
#NTP=
inNTP=172.16.59.134
ändernsudo systemctl restart systemd-timesyncd
Falls nach einer Weile die Zeit immer noch nicht synchronisiert wurde, kann das daran liegen, dass der Unterschied (clock skew) zu groß ist. Abhilfe kann wie folgt geschaffen werden:
NTP Synchronisation anhalten
timedatectl set-ntp false
Zeit manuell setzen
sudo timedatectl set-time "2021-10-18 09:19:00"
NTP Synchronisation wieder aufnehmen
timedatectl set-ntp true