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]