Default Raspbian Date/Time Settings

From KlavoWiki
Revision as of 06:25, 7 July 2021 by David (talk | contribs) (→‎Default file)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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