Default Raspbian Date/Time Settings: Difference between revisions
From KlavoWiki
Jump to navigationJump to search
(One intermediate revision by the same user not shown) | |||
Line 12: | Line 12: | ||
== Restart Services == | == Restart Services == | ||
<pre> | <pre> | ||
systemctl daemon-reload | |||
systemctl restart systemd-timesyncd | systemctl restart systemd-timesyncd | ||
</pre> | </pre> | ||
Line 33: | Line 34: | ||
#NTP= | #NTP= | ||
#FallbackNTP=0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org | #FallbackNTP=0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org | ||
#RootDistanceMaxSec=5 | |||
#PollIntervalMinSec=32 | |||
#PollIntervalMaxSec=2048 | |||
</pre> | </pre> | ||
[[Category : Raspbian]] | [[Category : Raspbian]] |
Latest revision as of 06:25, 7 July 2021
To change the default NTP server used for Date/Time queries.
Config File
vi /etc/systemd/timesyncd.conf
NTP=au.pool.ntp.org
Restart Services
systemctl daemon-reload systemctl restart systemd-timesyncd
Default file
# This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. # # Entries in this file show the compile time defaults. # You can change settings by editing this file. # Defaults can be restored by simply deleting this file. # # See timesyncd.conf(5) for details. [Time] #NTP= #FallbackNTP=0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org #RootDistanceMaxSec=5 #PollIntervalMinSec=32 #PollIntervalMaxSec=2048