*BSD News Article 87299


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!lucy.swin.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!phaedrus.kralizec.net.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!newsfeeds.sol.net!newspump.sol.net!howland.erols.net!surfnet.nl!newsfeed.sunet.se!news01.sunet.se!sunic!mn6.swip.net!seunet!news2.swip.net!nike.volvo.se!cyklop.volvo.se!peter
From: peter@cyklop.volvo.se (peter hakanson)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: xntp/ntpdate woes
Date: 21 Jan 1997 17:28:54 GMT
Organization: Volvo Corp.
Lines: 47
Message-ID: <5c2ucm$pci@nike.volvo.se>
References: <32E48414.337@postmodern.com>
NNTP-Posting-Host: cyklop.volvo.se
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:5686

You got to be close (< 15 minutes) from correct utp time
for ntpd to sync.

And kernel should run in UTC, your timezone setting must
reflect correct zone.

Here is a snippet of one typical /etc/ntp.conf:
peer ntp1.volvo.se
peer gatekeeper.volvo.se

there is more, but this will work.

Regards
Michael C. Berch (mcb@postmodern.com) wrote:
: I've never gotten either xntp or ntpdate to work for me.  In the 
: 2.0 /etc/rc file, xntp gets invoked if there's a config file present.
: I added the names of our ISP's NTP servers to the file, following the 
: syntax in the xntp man entry... no dice.  The clock never gets set.

: So, I gave up on xntp and decided to try ntpdate -- I put this line
: in /etc/rc.local:

: /usr/sbin/ntpdate -bs ntp3-sf.tlg.net ntp1-sf.tlg.net ntp2-sf.tlg.net

: and also invoke ntpdate via cron every hour.  All I get, though, is the
: error message

: ntpdate: no server suitable for synchronization 

: and, sigh, the clock is never reset.  The NTP servers are known to
: be good (I have an NTP client on my Mac, on the same network, and it
: gets the time from those servers just fine) and do not require
: authentication, etc.  

: This is a BSDI 2.0 system, 486DX66, 32MB, on an ethernet connected to
: our ISP via 56K frame relay. 

: Any ideas?

: -- 
: Michael C. Berch
: mcb@postmodern.com

--
--
<peter.devnull@cyklop.volvo.se> (remove ".devnull" before use!)
Peter Hakanson  VolvoData Dep 2580 phone +46 31 66 74 27