From: Michael Joosten <joost@c-lab.de>
Subject: Re: Time synchronization with NT!
Date: Mon, 19 Feb 2001 19:17:40 +0100 [thread overview]
Message-ID: <3A916344.6EEA@c-lab.de> (raw)
In-Reply-To: mAjj6.30475$zz4.817061@news2-win.server.ntlworld.com
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
<http://www.five-ten-sg.com/util/ntp4099b.zip>
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 <server ip>
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
next prev parent reply other threads:[~2001-02-19 18:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-17 0:28 Time synchronization with NT! Darren Cuddy
2001-02-19 18:17 ` Michael Joosten [this message]
2001-02-20 9:13 ` Eric de Redelijkheid
2001-02-21 15:10 ` eb
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox