HP3000-L Archives

April 1998, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Mon, 20 Apr 1998 20:41:33 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
I was hoping to use a contributed software utility called "nettime" to
allow me to obtain the current time from another server and then set
this time on the HP3000,  for time syncronization purposes.
The utility uses the ntp service (network time protocol?).  There are
a few entries in the file SERVICES.NET.SYS (or /etc/services) which
this utility looks for:

time    37/tcp
ntp     37/tcp

I basically dont know what I'm doing.  I'd like to configure my hp3000
to use this utility to obtain the current time from another server and
set the clock on the 3000.

Is anyone using "nettime" or a similar utility, that can give me an
overview of how this works?

any help would be much appreciated.  It may be just a simple config
change to /etc/services.  I can't seem to find any clear documentation
on this.

Here are 2 main tcp services calls which are being done within the
nettime C program:

sp = getservbyname("time", NULL)      <---  this call looks in
etc/services and returns successfully

hp = gethostbyname("ntp")                      <---  this call is
returning NULL and is failing

PLEASE REPLY TO:

[log in to unmask]

ATOM RSS1 RSS2