From owner-freebsd-questions Thu Aug 15 1: 6:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDE4E37B400 for ; Thu, 15 Aug 2002 01:06:23 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 7E0FF43E75 for ; Thu, 15 Aug 2002 01:06:22 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 2532 invoked from network); 15 Aug 2002 08:06:16 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 15 Aug 2002 08:06:16 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id BDF7779; Thu, 15 Aug 2002 10:05:48 +0200 (CEST) Date: Thu, 15 Aug 2002 10:05:45 +0200 From: Roman Neuhauser To: MET Cc: freebsd-questions@freebsd.org Subject: Re: Setting the Time || Public Time Servers Message-ID: <20020815080545.GA389@freepuppy.bellavista.cz> Mail-Followup-To: MET , freebsd-questions@freebsd.org References: <000301c243eb$4bb5dae0$6901a8c0@SURVIVAL> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000301c243eb$4bb5dae0$6901a8c0@SURVIVAL> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: "MET" > To: > 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