From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,91f2dc0bcc2b632d X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-02-19 10:17:48 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-koe1.dfn.de!news-han1.dfn.de!news.uni-paderborn.de!not-for-mail From: Michael Joosten Newsgroups: comp.unix.tru64 Subject: Re: Time synchronization with NT! Date: Mon, 19 Feb 2001 19:17:40 +0100 Organization: Badlab Construction Services, Inc Message-ID: <3A916344.6EEA@c-lab.de> References: NNTP-Posting-Host: clever.c-lab.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.uni-paderborn.de 982606665 11448 131.234.80.70 (19 Feb 2001 18:17:45 GMT) X-Complaints-To: usenet@news.uni-paderborn.de NNTP-Posting-Date: 19 Feb 2001 18:17:45 GMT X-Mailer: Mozilla 3.04Gold [en] (X11; I; IRIX 6.5 IP22) Xref: supernews.google.com comp.unix.tru64:1737 Darren Cuddy wrote: > > The task I have been given is to synchronize the time on my TRU64 Unix box > with an NT4.0 server. Tried timeserve from the nt resource kit but does not > seem to work this way round (NT synch with Unix no prob but have to do it > the other way around) > Is there a utility out there either for the Unix or NT box that will solve > my problem? It is an enclosed system so I can't synch them both off the same > public NTP server. > Any help gratefully received Not knowing anything about Tru64, but anyway: Two possibilities: Cheap/Simple: Install/Add 'Simple TCP /IPServices' on the NT box. (control Panel/Network, Tab 'Services'. It's either there or you must 'Add' it). This gives you a running 'time' and 'daytime' service on ports 13 and 37. Just what's normally enabled in UNIX's /etc/inetd.conf. Then use whatever Tru64 has to sync to a TIME protocol source (rdate ?? with cron job ?) More complicated/Sophisticated: Install XNTP/NTP on the NT crate. Last time it could be found at and use as ntpd's config (wherever it may be installed, windows\ntp.conf or such: # # Undisciplined Local Clock. This is a fake driver intended for backup # and when no outside source of synchronized time is available. The # default stratum is usually 3, but in this case we elect to use stratum # 0. Since the server line does not have the prefer keyword, this driver # is never used for synchronization, unless no other other # synchronization source is available. In case the local host is # controlled by some external source, such as an external oscillator or # another protocol, the prefer keyword would cause the local host to # disregard all other synchronization sources, unless the kernel # modifications are in use and declare an unsynchronized condition. # server 127.127.1.0 # local clock fudge 127.127.1.0 stratum 10 # drift and keys file locations: driftfile c:\ntntp\ntp_drift.ini This make the NT pretend that it can act as time master, either because somebody looks at it's clock or because it already runs some time gadgetry. Test by running ntpq from Tru64: ntpq -c peer remote refid st t when poll reach delay offset jitter ============================================================================== LOCAL(0) LOCAL(0) 10 l 3 64 377 0.000 0.000 0.000 The 'stratum' is important (below 16, that's unsynced) and the 'reachability' should be 377 (octal bitmask, 0377=0xff => got responses from all probes) The see how to install/activate ntpd on the Tru64 crate, with an suitable simple /etc/ntp.conf. -- Michael Joosten, SBS C-LAB, joost@c-lab.de Fuerstenallee 11, 33094 Paderborn, Germany Phone: +49 5251 606127, Fax: +49 5251 606065 C-LAB is a cooperation of University Paderborn & SIEMENS