I have referred ntpdate -d Server dropped Strata too high. This is a similar but different question.
I having two devices.
- Freescale ARM board (NTP server)
- Tinker board (client)
In the Freescale board which already installed an NTP server and the ntp.conf
as below:
restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
server 127.127.1.0
fudge 127.127.1.0 stratum 8
driftfile /var/lib/ntp/drift
keys /etc/ntp/keys
Then the client didn't installed the NTP
server, only use ntpdate
to sync with server once.
Here is the problem:
- start the Freescale board NTP server
$ ntpd
. - sync in client
$ sudo ntpdate -u -d 192.168.1.10
- got error
192.168.1.10: Server dropped: strata too high
- Wait a few minutes...
- sync again
$ sudo ntpdate -u -d 192.168.1.10
- this time no error
Once I $ killall ntpd
and restart $ ntpd
in the server, the client needs to wait a long time then$ sudo ntpdate
.
For my understanding, ntpdate
is used to force sync the time. Why takes so much delay time? And the error strata too high
doesn't relate to the time at all.