From owner-freebsd-questions@FreeBSD.ORG Wed Sep 22 21:44:00 2004 Return-Path: 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 7BDB416A4CE for ; Wed, 22 Sep 2004 21:44:00 +0000 (GMT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 477F743D3F for ; Wed, 22 Sep 2004 21:44:00 +0000 (GMT) (envelope-from wmoran@potentialtech.com) Received: from working.potentialtech.com (pa-plum-cmts1e-68-68-113-64.pittpa.adelphia.net [68.68.113.64]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by internet.potentialtech.com (Postfix) with ESMTP id 919C369A71; Wed, 22 Sep 2004 17:43:59 -0400 (EDT) Date: Wed, 22 Sep 2004 17:43:58 -0400 From: Bill Moran To: Emanuel Strobl Message-Id: <20040922174358.4688dda5.wmoran@potentialtech.com> In-Reply-To: <200409222333.13968.Emanuel.Strobl@gmx.net> References: <415197F9.3080901@verizon.net> <200409222152.12582.Emanuel.Strobl@gmx.net> <20040922172717.280ed3af.wmoran@potentialtech.com> <200409222333.13968.Emanuel.Strobl@gmx.net> Organization: Potential Technologies X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Ntpd assistance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Sep 2004 21:44:00 -0000 Emanuel Strobl wrote: > Am Mittwoch, 22. September 2004 23:27 schrieb Bill Moran: > > Emanuel Strobl wrote: > > > Am Mittwoch, 22. September 2004 17:19 schrieb alden.pierre: > > > > /etc/rc.conf contains the following: > > > > > > > > ntpdate_enable="YES" > > > > ntpdate_flags="timex.cs.columbia.edu" > > > > xntpd_enable="YES" # Run ntpd Network Time Protocol > > > > > > > > /etc/ntpd.conf contains the following: > > > > > > ^^^^^^^^^ > > > > > > Correct me if I'm wrong but doesn't ntpd 4.1 use ntp.conf instead of > > > ntpd.conf? > > > > > > You can try -c /etc/ntpd.conf > > > > > > -Harry > > > > In addition to this minor error ... > > > > I don't believe you can reliably run both ntpdate and xntpd. Besides, > > This is working because ntpdate is invoked only once at startup, which is, in > my case, because of possible empty BIOS-Battery where the date would be wrong > for several years which causes ntpd to refuse to adjust the time. > I use generally ntpdate at startup before ntpd keeps the kernel time in sync. Um ... did you read my whole message? Check the ntpd man page on the -g option. If you are running ntpd, you don't need ntpdate. You answer shows that you are not familiar with the ntpd program and didn't read the rest of my email. > > if you plan to run xntpd anyway, just set xntpd_flags="-g" and it will > > behave the same as ntpdate at startup, as well as running continually > > to ensure your clock stays synced. > -- Bill Moran Potential Technologies http://www.potentialtech.com