Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2002 22:49:49 -0400 (EDT)
From:      wes chow <wes@woahnelly.net>
To:        Peter Leftwich <Hostmaster@Video2Video.Com>
Cc:        FreeBSD Questions <FreeBSD-Questions@FreeBSD.ORG>
Subject:   Re: grr, stupid springforwardfallback (timed)
Message-ID:  <20020411224909.B3095-100000@hitchcock.woahnelly.net>
In-Reply-To: <20020411223520.L3095-100000@hitchcock.woahnelly.net>

next in thread | previous in thread | raw e-mail | index | archive | help


oh by the way, I believe that ntpd will not automatically sync up a clock
that's way off.  You need to run ntpdate once first to get it within a
reasonable error before ntpd will fine tune it.


Wes



On Thu, 11 Apr 2002, wes chow wrote:

>
> I'm still not sure exactly what you want here...
>
> My understanding is that you want some program that runs constantly in the
> background that will periodically sync you computer's clock up to an
> accurate time source.  Is this correct?  If so, that's ntpd (the link I
> gave below).
>
> To clarify:  ntpdate sets the clock a single time (when the program is
> run).  You can use this a boot time to set the clock once.
>
> ntpd is a daemon process that gradually adjusts the clock and looks for
> drift.  It starts up at boot time, but runs constantly, thus adjusting the
> clock constantly.  You need to set xntpd_enable="YES" to start that up a
> boot time.  Alternatively, you can also do something like "ntpd -p
> /var/run/ntpd.pid" to start it manually.
>
> There are a bunch of configuration options you need to set for ntpd (for
> example, which time servers to sync to).  That file is /etc/ntp.conf.
> Read the link I gave you earlier for information about that.
>
> Does that help?
>
>
> And about the GMT offset... I only have a vague understanding of this.  I
> believe the time zone information is kept in the kernel and set at boot
> time by adjkerntz.  You can change it by using tzsetup.  The current
> timezone information is kept in /etc/localtime.  Check the man pages for
> tzsetup and adjkerntz for more info.
>
>
>
> Wes
>
>
>
> On Thu, 11 Apr 2002, Peter Leftwich wrote:
>
> > On Wed, 10 Apr 2002, wes chow wrote:
> > > Is this what you mean?
> > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ntp.html
> > > Wes
> >
> > Sort of but really not really :( ... There is nothing in my /etc/rc.conf
> > nor in my /boot/loader.conf that clearly is *the* one time daemon to run,
> > that promises to keep accurate time from the Navy's heartbeat and maintain
> > GMT offset and daylight savings information:
> >
> > # grep ntpd /etc/rc.conf
> > ntpdate_enable="YES"            # Run ntpdate to sync time on boot (or NO).
> > ntpdate_program="ntpdate"       # path to ntpdate, if you want a different one.
> > ntpdate_flags="-v"              # Flags to ntpdate (if enabled).
> > xntpd_enable="NO"               # Run ntpd Network Time Protocol (or NO).
> > xntpd_program="ntpd"            # path to ntpd, if you want a different one.
> > xntpd_flags="-p /var/run/ntpd.pid"      # Flags to ntpd (if enabled).
> >
> > Should I change the line 'ntpdate_program="ntpdate"' to ="ntpd" instead?
> >
> > PS. Where *is* GMT offset information for the box stored anyway??
> >
> > --
> > Peter Leftwich
> > President & Founder
> > Video2Video Services
> > Box 13692, La Jolla, CA, 92039 USA
> > +1-413-403-9555
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


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?20020411224909.B3095-100000>