From owner-freebsd-questions Sun Nov 18 21: 0: 5 2001 Delivered-To: freebsd-questions@freebsd.org Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [171.66.112.163]) by hub.freebsd.org (Postfix) with ESMTP id EF99737B417 for ; Sun, 18 Nov 2001 21:00:02 -0800 (PST) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.9.3/8.9.1) with ESMTP id UAA83563; Sun, 18 Nov 2001 20:45:55 -0800 (PST) Date: Sun, 18 Nov 2001 20:45:55 -0800 (PST) From: Annelise Anderson To: "P. U. (Uli) Kruppa" Cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: ntpd / time server confusion In-Reply-To: <20011118102741.K639-100000@big> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Sun, 18 Nov 2001, P. U. (Uli) Kruppa wrote: > > 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 I think you're running ntpdate on boot (by enabling it in rc.conf) and then perhaps running ntpd. If ntpd is running, ntpdate cannot be used. The ntp.conf file and the driftfile refer to ntpd. ntpd can be started on boot with the xntpd_enable="YES" line; the program it runs in now named ntpd rather than xntpd. Annelise > 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? > > Thanx for your answers. > > Uli. > > > ************************************ > * P. U. Kruppa - Wuppertal * > * Germany * > * www.pukruppa.de www.2000d.de * > ************************************ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Annelise Anderson Author of: FreeBSD: An Open-Source Operating System for Your PC Available from: mall.daemonnews.org and amazon.com Book Website: http://www.bittreepress.com/FreeBSD/introbook/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message