Hello!
I would like to sync the time from my QNX machine with my windows machine using ntpd. ntpd is running on the windows machine, and I would like to run it also on the QNX target for better accuracy. I need an accuracy better than 1 ms. When I run ntpdate [servername], it works fine. However, running ntpd doesn’t sync the time, it just displays the offset periodically.
My /etc/ntp/ntp.conf file on the QNX machine:
driftfile /etc/ntp/ntp.drift
server 192.168.1.20
logfile /etc/ntp/ntp.log
My configuration file on the windows machine:
driftfile "C:\Program Files\NTP\etc\ntp.drift"
server 127.127.1.0
fudge 127.127.1.0 stratum 0
server 0.de.pool.ntp.org iburst
server 1.de.pool.ntp.org iburst
server 2.de.pool.ntp.org iburst
server 1.nl.pool.ntp.org iburst
server 2.uk.pool.ntp.org iburst
When I use wireshark to inspect the ethernet frames on the network, I saw something interesting:
Reference Clock ID: uncalibrated local clock
(in a frame from Windows to QNX). I cannot connect to external NTP servers because I am behind a company firewall.