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?
NTP servers from
timesyncd.conf are preceded by ones given by DHCP. Try disabling those using
/etc/systemd/networkd.conf. Alternatively, try
[Time] NTP= NTP=myserver
To verify the configuration that is currently in use, you can run
timedatectl show-timesync --all