Newsgroups: comp.protocols.time.ntp
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!news.cs.indiana.edu!ux1.cso.uiuc.edu!reepicheep.sws.uiuc.edu!richman
From: richman@reepicheep.sws.uiuc.edu (Mike Richman)
Subject: more novice questions
Message-ID: <1991Mar20.015304.15356@ux1.cso.uiuc.edu>
Followup-To: comp.protocols.time.ntp
Summary: having problems at boot up
Sender: richman@reepicheep.sws.uiuc.edu
Organization: State Water Survey/U of Illinois, Champaign
Distribution: na
Date: Wed, 20 Mar 1991 01:53:04 GMT
Lines: 52

Thanks to those who clued me in on the use of "tickadj".  That portion
appears to be working now.  I have another problem, though.  Upon
booting, the tickadj seems to work and then the following diagnostic
appears:

/usr/local/sbin/ntpdate: sendto(130.126.174.40): Network is unreachable

.
.      (two other ip numbers listed and sequence repeated about 10X)
.

/usr/local/sbin/ntpdate: no server suitable for synchronization found

I thought that the original sites (stratum 1), were wasteful,
so replaced those in the /etc/rc.local file with 3 local
machine numbers (stratum 2 machines) and then got the following
message after a second boot attempt:

Mar 19 19:23:49 reepicheep xntp[96]: send to(128.174.5.50): Host is
unreachable.

.
.     (two other ip numbers repeated once but the machines were verified
	   up)
.

Below is the pertinent portion of the /etc/rc.local file.  Any
suggestions?  Machine is a Sparcstation 1+ running SunOS 4.1.1.


#
#	@(#)rc.local 1.112 90/09/14 SMI; from UCB 4.3
#
# Set system as required for network time server NTP clock set.
# First, adjust the tickadj number in the kernel and then start    
# ntp daemon.
# ntp programs used: tickadj  ntpdate
#
if [ -f /usr/local/sbin/tickadj ]; then
   /usr/local/sbin/tickadj -A -s >/var/log/timeadj.log
fi
if [ -f /usr/local/sbin/ntpdate ]; then
   /usr/local/sbin/ntpdate -o  128.174.5.50 128.174.5.58 128.174.5.3>/var/log/timeadj.log
fi

#
#  Start the xntpd daemon for NTP clock sync
#
if [ -f /usr/local/sbin/xntpd ]; then
   /usr/local/sbin/xntpd  &
fi
#
