I'm putzing with RPi-4 with (I guess) stretch and initially both the NTP= and Fallbackntp= lines of timesyncd.conf are hashed out. Yet service ntp status shows it soliciting 10 pool servers. When I set my local lan router on the NTP= line and restart ntp service, nothing changes. How do I get the Pi4 to use MY NTP server setting and NOTHING ELSE?
Asked
Active
Viewed 2,300 times
1 Answers
3
NTP servers from timesyncd.conf are preceded by ones given by DHCP. Try disabling those using
[DHCP]
UseNTP=false
in /etc/systemd/networkd.conf. Alternatively, try
[Time]
NTP=
NTP=myserver
in timesyncd.conf.
To verify the configuration that is currently in use, you can run
timedatectl show-timesync --all
Dmitry Grigoryev
- 27,928
- 6
- 53
- 144
timedatectl show-timesync --all– Dmitry Grigoryev Jan 28 '20 at 09:21