byte4RR4Y/rock-4se-kali

timedatectl NTP service not working

unrealex opened this issue · 2 comments

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.

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

Thank you!