Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!julius.cs.uiuc.edu!coolidge From: coolidge@cs.uiuc.edu (John Coolidge) Newsgroups: comp.unix.aux Subject: Re: NTP for A/UX - Anyone got it ported? Message-ID: <1991Feb12.012959.6546@julius.cs.uiuc.edu> Date: 12 Feb 91 01:29:59 GMT References: <1991Feb11.235540.25736@ddtisvr@uunet.uu.net> Sender: news@julius.cs.uiuc.edu (USENet News) Reply-To: coolidge@cs.uiuc.edu Organization: U of Illinois, Dept. of Computer Science, Systems Research Group Lines: 27 maples@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@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.