I have a server 127.127.28.2 prefer minpoll 4 entry in my ntp.conf file. i have no other server entries in the ntp.conf file. This server entry creates a shared memory segment on startup with a defined shared memory "key".
I have an application which i start manually which uses the "key" to write a shmTime value to, see(http://www.eecis.udel.edu/~mills/ntp/ html/drivers/driver28.html). The app is correctly setting the valid and count fields when it updates the shmTime value. I use a system clock time from another application via a 1553 bus from another machine to set clockTimeStamp and receiveTimeStamp fields. i have debug code in my app which writes to standard out when the valid field has been cleared, ie ntpd has read the shared memory segment. The rate at which this vlid field is cleared is correct, at 16 seconds (this set by the minpoll 4 param ,ie 2**4). The problem is do NOT see my system clock being updated after the ntpd has read the shared memory getment. As i am completely new to ntpd i have struggled thru the man pages etc. Question 1 = Am i correct in saying i think the problem is the difference in the two machine clocks is greater than 128 ms. from the man pages i understand ntpd wont adjust a clock if the time diff is more than +- 128 ms. Question 2 = i can/have used the ntpdate command to sync the two system clocks. to do this on the server machine i start the ntpd, but on the client machine i call ntpdate BEFORE i start the ntpd. now the problem is verifying any differences of less than 128 are being corerectly adjusted on the client machine. Regards Stuart Clark _______________________________________________ questions mailing list [email protected] https://lists.ntp.org/mailman/listinfo/questions
