Date: Thu, 15 Aug 2002 11:43:02 -0400 From: "MET" <met@uberstats.com> To: "'Roman Neuhauser'" <neuhauser@bellavista.cz> Cc: <freebsd-questions@freebsd.org> Subject: RE: Setting the Time || Public Time Servers Message-ID: <000e01c24472$71480120$6901a8c0@SURVIVAL> In-Reply-To: <20020815080545.GA389@freepuppy.bellavista.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
And I'm guessing that (xntpd_enable="YES") or (ntpdate_enable="YES")
should be declaired in /etc/rc.conf ?
And the machine doesn't shut down very much at all, but running every 64
- 1024 seconds seems obsurd. Perhaps I'm wrong ?
~ Matthew
-----Original Message-----
From: Roman Neuhauser [mailto:neuhauser@bellavista.cz]
Sent: Thursday, August 15, 2002 4:06 AM
To: MET
Cc: freebsd-questions@freebsd.org
Subject: Re: Setting the Time || Public Time Servers
> From: "MET" <met@uberstats.com>
> To: <freebsd-questions@freebsd.org>
> Subject: Setting the Time || Public Time Servers
> Date: Wed, 14 Aug 2002 19:35:33 -0400
>
> How would I make my BSD machine get its time from something like a
> public time server so that reports the correct time?
If you boot your machine often, you may want to use ntpdate. It
synces on startup only.
ntpdate_enable="YES"
ntpdate_flags="-b -t10 -u ntp1.example.com ntp2.example.com"
If your machine stays up for extended periods of time, you would
prefer ntpd, which synces every 64 - 1024 seconds.
xntpd_enable="YES"
xntpd_flags="-g -p /var/run/ntpd.pid"
/etc/ntp.conf:
server ntp1.example.com
server ntp2.example.com
server ntp3.example.com
--
FreeBSD 4.6-STABLE
9:57AM up 5 days, 21:52, 17 users, load averages: 0.00, 0.00, 0.00
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?000e01c24472$71480120$6901a8c0>
