Suivi de 1.north-america.pool.ntp.org [199.101.100.221:123].
Collecte de 5 échantillons.
L’heure actuelle est 2020-11-22 11:22:28.
11:22:28, +00.0307804s
11:22:30, +00.0312482s
11:22:32, +00.0310455s
11:22:34, +00.0311427s
11:22:36, +00.0312408s
From the DietPi console, I can adequately ping those NTP servers, so not a connecting issue.
My time is a few seconds off from my windows 10 machine.
I also have the issue, maybe related to the time sync of never getting a prompt when connecting SSH from my Windows to DietPi
login as: root root@192.168.10.3’s password:
Linux DietPi 5.4.72+ #1356 Thu Oct 22 13:56:00 BST 2020 armv6l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
did you tried to change NTP server to the Global one pool.ntp.org? do you know if your internet router is providing NTP functionality as well? If yes, you could set NTP server to your Gateway.
It was pointing to Global before with the same issue.
Then I re-installed everything with a recent image, disabling everything I did not need. This PiZ is only used for Node-Red + MQTT
I just tried to change the mode from 2 (boot+daily) to 3 (boot+daily), did to change anything.
Then tried mode 4, daemon + drift… Seems the time is closer to my PC now.
Yes my local router answers to NTP w32tm
Did a reboot, I still see timeouts but also errors “the unit file, source configuration file or drop-ins of systemd-timesyncd changed on disk, run 'systemctrl daemon-reload”…
So logged in and did “systemctl daemon-reload”… no feedback
Did another reboot…
Same error: “the unit file, source configuration file or drop-ins of systemd-timesyncd changed on disk, run 'sustemctrl daemon-reload”…
The boot process recommended: Systemctl -l status systemd-timesyncd for more info
Showing active but timeout on all NTP destinations
So I manually changed the /etc/systemd/timesyncd.conf to point only to my router IPv4
Reloaded with systemctl daemon-reload
The restarted the daemon : systemctl restart systemd-timesyncd
Then status… same issue, timeout reading my local router… even tough from my win10 PC, w32tm worked fine.
Seems the timesyncd process is broken?
I did a new install yesterday with fresh image from the web.
strange that /boot/dietpi/func/run_ntpd is working one time but not a 2nd time, even if you target your internet router as NTP server. Usually staying inside local network should be quite fast.
can you scan journalctl to see if there is anything special