linux:ntp
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:ntp [2025/10/08 04:01] – [chrony] gsys | linux:ntp [2026/04/05 20:27] (current) – gsys | ||
|---|---|---|---|
| Line 19: | Line 19: | ||
| timedatectl list-timezones | egrep -o " | timedatectl list-timezones | egrep -o " | ||
| sudo timedatectl set-timezone " | sudo timedatectl set-timezone " | ||
| + | </ | ||
| + | |||
| + | ===== timesyncd ===== | ||
| + | < | ||
| + | sudo nano / | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | [Time] | ||
| + | NTP=ptbtime1.ptb.de ptbtime2.ptb.de ptbtime3.ptb.de | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | sudo systemctl restart systemd-timesyncd | ||
| + | sudo systemctl status systemd-timesyncd | ||
| </ | </ | ||
| Line 37: | Line 52: | ||
| check if new ntp server is used | check if new ntp server is used | ||
| < | < | ||
| - | journalctl --since -1h -u chrony | + | journalctl --since -1h -u chronyd |
| </ | </ | ||
| ==== client ==== | ==== client ==== | ||
linux/ntp.1759888861.txt.gz · Last modified: by gsys