Written by: Andrew Lunn <[EMAIL PROTECTED]> > > On Thu, Nov 02, 2006 at 11:48:43AM -0500, Andre-John Mas wrote: > > Hi, > > > > We have found the SNTP client can get the time from some servers but > > not others. For example we have a Linux based SNTP server from which > > we can get the time, but not from the SNTP server running on our > > Solaris machines. Are there any known limitations with the client > > implementation. > > > > I am currently checking to see if it is a server configuration issue, > > but I would like a confirmation as to the client to see whether I am > > spending my time in the right place. > > I only ever tested it with a i386 Linux box > > I suppose it could be an endian issue. I'm assuming you have a Sparc > Solaris machine and not an i386? > > The other possibility is that your Solaris machine does not support > version 3 or 4 of SNTP? > > Andrew >
Using the Java client from: http://ntp.isc.org/bin/view/Support/JavaSntpClient I got the following responses: NTP server: testsys2 Leap indicator: 0 Version: 3 Mode: 4 Stratum: 4 Poll: 4 Precision: -17 (7.6E-6 seconds) Root delay: 0.00 ms Root dispersion: 10.50 ms Reference identifier: 127.127.1.0 Reference timestamp: 02-Nov-2006 12:14:21.970141 Originate timestamp: 02-Nov-2006 12:06:12.887000 Receive timestamp: 02-Nov-2006 12:15:04.371634 Transmit timestamp: 02-Nov-2006 12:15:04.371800 Dest. timestamp: 02-Nov-2006 12:06:12.887000 Round-trip delay: -0.17 ms Local clock offset: 531484.72 ms NTP server: 10.1.4.15 Leap indicator: 0 Version: 3 Mode: 4 Stratum: 3 Poll: 4 Precision: -16 (1.5E-5 seconds) Root delay: 63.22 ms Root dispersion: 80.69 ms Reference identifier: 63.111.165.21 Reference timestamp: 02-Nov-2006 12:01:40.517556 Originate timestamp: 02-Nov-2006 12:12:21.394000 Receive timestamp: 02-Nov-2006 12:12:21.325495 Transmit timestamp: 02-Nov-2006 12:12:21.325661 Dest. timestamp: 02-Nov-2006 12:12:21.394000 Round-trip delay: -0.17 ms Local clock offset: -68.42 ms NTP server: wiki Leap indicator: 0 Version: 3 Mode: 4 Stratum: 3 Poll: 0 Precision: -20 (9.5E-7 seconds) Root delay: 119.17 ms Root dispersion: 71.33 ms Reference identifier: 146.48.83.182 Reference timestamp: 02-Nov-2006 12:04:26.587828 Originate timestamp: 02-Nov-2006 12:05:23.780000 Receive timestamp: 02-Nov-2006 12:05:23.705543 Transmit timestamp: 02-Nov-2006 12:05:23.705565 Dest. timestamp: 02-Nov-2006 12:05:23.780000 Round-trip delay: -0.02 ms Local clock offset: -74.45 ms Only the last one seems to work with the SNTP implementation in eCos. Is there anything in there that raises any flags? Andre -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
