Ntpdate and sntpclock differ by 20+ seconds

Ethan Erchinger <[email protected]> Thu, 30 Jan 2003 13:40:42 -0800
Newsgroups gmane.comp.lib.libtai
Message-ID <[email protected]>
Hi all,

I'm having problems with sntpclock.  It seems that it's showing drastically
different times than the ntp tool ntpdate.

Here is a snippit from my tests:
==========================
$ ntpdate -q 131.107.1.10
server 131.107.1.10, stratum 1, offset -0.259161, delay 0.04840
30 Jan 13:37:48 ntpdate[25681]: adjust time server 131.107.1.10 offset
-0.259161 sec

# 1-2 seconds later:
$ sntpclock 131.107.1.10 | clockview
before: 2003-01-30 13:37:50.001695000000000000
after:  2003-01-30 13:38:11.742115499824039637
==========================
As you can see there is a 21 second difference from the same master ntp
server.  How's this possible?  I call "popcorn" on my telephone and the time
corresponds with the ntpdate results!

I'm running this on Linux 2.4 kernel. Is this package not kept up-to-date
for this "new" of a kernel?  Are the calls it's using invalid for anything >
2.2 kernel?

Any hints would be greatly appreciated.

Thanks,
Ethan