Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2002 11:34:12 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        Steven Goodwin <steve@cit.gu.edu.au>
Cc:        Len Conrad <LConrad@Go2France.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: time off by 30 minutes 
Message-ID:  <20020920183412.082FC5D04@ptavv.es.net>
In-Reply-To: Your message of "Fri, 20 Sep 2002 23:50:56 %2B1000." <Pine.LNX.4.44.0209202348080.360-100000@hobbit.cit.gu.edu.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Fri, 20 Sep 2002 23:50:56 +1000 (EST)
> From: Steven Goodwin <steve@cit.gu.edu.au>
> Sender: owner-freebsd-questions@FreeBSD.ORG
> 
> On Fri, 20 Sep 2002, Len Conrad wrote:
> 
> > 
> > >
> > >Check your /etc/localtime is correct for your timezone.
> > >
> > >ln -s /usr/share/zoneinfo/America/xxxx localtime
> > >
> > >where xxxx is the correct location.
> > 
> > rm /etc/localtime
> > 
> > from /usr/share/zoneinfo/zone.tab:
> > 
> > US      +415100-0873900 America/Chicago Central Time
> > US      +450628-0873651 America/Menominee       Central Time - Michigan - 
> > Wisconsin border
> > US      +470659-1011757 America/North_Dakota/Center     Central Time - 
> > North Dakota - Oliver County
> > 
> > I've tried rm old + ln new with all three of above, still 30 minutes late.
> > 
> > Where else is this determined?
> 
> I think the problem could be the -d (debug) option to ntpdate.  Try 
> 
> ntpdate time.nist.gov
> 
> as root and that should set your system clock to GMT.

I think that the one you want is:
ntpdate -b

That will force the system clock to reset even if it is off by more
than the maximum allowed step. It is normally used at boot time when
you want the time to be set correctly immediately since the existing
state of the clock is unknown.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020920183412.082FC5D04>