From owner-freebsd-stable@FreeBSD.ORG Tue Nov 23 15:34:48 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34EEF16A4CE for ; Tue, 23 Nov 2004 15:34:48 +0000 (GMT) Received: from auk1.snu.ac.kr (auk1.snu.ac.kr [147.46.100.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id A63F643D4C for ; Tue, 23 Nov 2004 15:34:47 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from [147.46.44.181] (spamrefuse@yahoo.com) by auk1.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004112400:34:45:615305.29903.2257615792 for ; Wed, 24 Nov 2004 00:34:45 +0900 (KST) Message-ID: <41A35895.5080906@yahoo.com> Date: Wed, 24 Nov 2004 00:34:45 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <41A3D0F5.1020406@ispro.net.tr> <20041123141250.GB51987@kierun.org> In-Reply-To: <20041123141250.GB51987@kierun.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: NO (SR:2.71) (by Terrace) Subject: Re: ntpd v4.2 problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2004 15:34:48 -0000 Yann Golanski wrote: > Quoth Evren Yurtesen on Tue, Nov 23, 2004 at 16:08:21 -0800 > >>The handbook seem to give wrong information about ntp and the manual >>page of ntp.conf is ?old? maybe? >> >>The notrust option obviously changed between v4.1 and v4.2... >>http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ntp.html >> >>Can an ntpd guru have a look into that? > > > My set up is as follows and it works fine on 4.10 and 5.3... > > # cat /etc/ntp.conf > driftfile /var/db/ntp.drift > > server 0.pool.ntp.org > server 1.pool.ntp.org > server 2.pool.ntp.org > > # grep ntp /etc/rc.conf > ntpd_enable="YES" > ntpdate_flags="-b 0.pool.ntp.org" > > But make sure your clocks are in sink at the start by using date. or add "-g" with the ntpdate_flags, to forcefully adjust time at the very beginning. R.