I tried so much different things of installing ntpq or other stuff but nothing works.
I dont can change it to yes. I hope someone can help here.
I had Ubuntu 16.04 This is my terminal output of the Command timedatectl
Local time: Tue 2017-06-27 20:52:45 CEST Universal time: Tue 2017-06-27 18:52:45 UTC RTC time: n/a Time zone: Europe/Berlin (CEST, +0200) Network time on: yes
NTP synchronized: no RTC in local TZ: noAlso tried this tutorial:
But when i make sudo timedatectl set-ntp on it only changes Network time on: yes/no.
Also installed ntp. But from the command sudo ntpq -p i get this error
ntpq: read: Connection refused 3 2 Answers
When the clock is too much desincronized (more than 3 seconds?) it won't get update automatically. In order to force it manually:
sudo service ntp stopsudo ntpd -gq ← here you can see it's getting syncsudo service ntp start
Confirm everything's oktimedatectl
Better explanation and all the credit here
After installing ntp
sudo apt install ntpin the output of timedatectl
NTP synchronized: yesthe time is immediately automatically synchronized.
2