From owner-freebsd-questions Sun Nov 18 5:51:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-203-60.mmcable.com [65.31.203.60]) by hub.freebsd.org (Postfix) with SMTP id 065AF37B416 for ; Sun, 18 Nov 2001 05:51:34 -0800 (PST) Received: (qmail 51679 invoked by uid 100); 18 Nov 2001 13:51:28 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15351.48352.320492.839500@guru.mired.org> Date: Sun, 18 Nov 2001 07:51:28 -0600 To: "P. U. (Uli) Kruppa" Cc: questions@freebsd.org Subject: Re: ntpd / time server confusion In-Reply-To: <20905573@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ 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 P. U. (Uli) Kruppa types: > Hi! > > Last night I thought it would be a nice idea to fetch the > exact time from some internet time server. > As far as I can see, I have ntpdate enabled in rc.conf and > I have produced some kind of /etc/ntp.conf but doing > # ntpdate I keep receiving messages like this: > > 18 Nov 10:39:42 ntpdate[56133]: no servers can be used, > exiting > > In Google I found some confusing pages about time servers > being down because of security risks. > > So my question is: > Does this work at all and if yes > which lines should be put into my rc.conf and my ntp.conf? ntp.conf isn't used by ntpdate, it's used by ntpd. You need to specify the servers for ntpdate in ntpdate_flags in rc.conf. If your system is up and connected full time, you probably want to use ntpd instead of ntpdate. See the respective man pages for more information. http://www.mired.org/home/mwm/ Q: How do you make the gods laugh? A: Tell them your plans. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message