NTP for A/UX - Anyone got it ported?

John Coolidge coolidge at cs.uiuc.edu
Tue Feb 12 12:29:59 AEST 1991


maples at ddtisvr@uunet.uu.net (Greg Maples) writes:
>I'm interested in getting NTP for our environment here.
>I've not seen anyone post any info on a custom port to
>A/UX, so I thought I'd find out if anyone had...

I've done a port of XNTP for the Mac; I believe Ron Flax has put a
port out on afsg.apple.com as well. Unfortunately, it doesn't work as
well as it might; from my results it appears that the clock under A/UX
has effectively one-minute granularity and attempts to change it
within that limit (i.e. change the seconds value) are doomed to
failure. Upon much playing with the date command I convinced it to
reset the seconds to zero (and get it within a second of NTP time); it
quickly diverged back to 13 seconds off (where it was before I started
playing with date).

My hypothesis is that A/UX is maintaining a different time for hours
and minutes than that maintained by the clock chip but deferring to
the chip for seconds, and that for some reason date and adjtime don't
actually tweak the clock chip's value for the time. Anyone have any
confirmation or counter-examples?

--John
--------------------------------------------------------------------------
John L. Coolidge     Internet:coolidge at cs.uiuc.edu   UUCP:uiucdcs!coolidge
Of course I don't speak for the U of I (or anyone else except myself)
Copyright 1991 John L. Coolidge. Copying allowed if (and only if) attributed.
You may redistribute this article if and only if your recipients may as well.



More information about the Comp.unix.aux mailing list