timedatectl NTP service not working
unrealex opened this issue · 2 comments
unrealex commented
Its working in Rockpi 4 b.
The timedate sync is not working.
After running -> journalctl --unit=systemd-timesyncd.service
Got the following:
systemd-timesyncd.service - Network Time Synchronization was skipped because of an unmet condition check (ConditionVirtualization=!container).
edited /etc/systemd/system/dbus-org.freedesktop.timesync1.service
-ConditionVirtualization=!container
+ConditionVirtualization=container
Time sync is working. Dont know if a better solution is available.
PS: Thanks for your hard work.
XarlesEHeat commented
Solved it using Sudo date -s "HH:MM:SS"
and
sudo date -s "YYYY:MM:DD"
just change letters with the current date and good to go
unrealex commented
Thank you!