View topic - NTPd doesn't sync the time

NTPd doesn't sync the time

Discussion about the general applications that run on QNX6

NTPd doesn't sync the time

Postby markus.ritzer@gmail.com » Mon Jul 21, 2008 8:08 am

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:
Code: Select all
driftfile /etc/ntp/ntp.drift
server 192.168.1.20
logfile /etc/ntp/ntp.log


My configuration file on the windows machine:
Code: Select all
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.
markus.ritzer@gmail.com
New Member
 
Posts: 1
Joined: Thu May 29, 2008 7:47 am

Return to QNX6 - Applications

Who is online

Users browsing this forum: No registered users and 3 guests