Date: Thu, 15 Aug 2002 10:05:45 +0200 From: Roman Neuhauser <neuhauser@bellavista.cz> To: MET <met@uberstats.com> Cc: freebsd-questions@freebsd.org Subject: Re: Setting the Time || Public Time Servers Message-ID: <20020815080545.GA389@freepuppy.bellavista.cz> In-Reply-To: <000301c243eb$4bb5dae0$6901a8c0@SURVIVAL> References: <000301c243eb$4bb5dae0$6901a8c0@SURVIVAL>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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?20020815080545.GA389>
