From owner-freebsd-current@FreeBSD.ORG Mon Nov 15 06:46:42 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB3A316A4CE for ; Mon, 15 Nov 2004 06:46:42 +0000 (GMT) Received: from auk1.snu.ac.kr (auk1.snu.ac.kr [147.46.100.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8640143D41 for ; Mon, 15 Nov 2004 06:46:42 +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 2004111515:46:27:787278.29903.2917424048 for ; Mon, 15 Nov 2004 15:46:27 +0900 (KST) Message-ID: <419850CE.8090209@yahoo.com> Date: Mon, 15 Nov 2004 15:46:38 +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-current References: <20041109190853.GA9301@nunotex.local> In-Reply-To: <20041109190853.GA9301@nunotex.local> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: YES-__TRSYS_LV__3 (SR:-0.43) (SRN:SPAMROBOT) ----------------- Subject: Re: /etc/ntp.conf doesn't exist X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 06:46:43 -0000 Nuno Teixeira wrote: > Hello to all, > > I've noticed that /etc/ntp.conf doesn't exist. It's strange because > exists an empty /etc/ntp directory instead. I wonder if a very basic setup like below could serve this purpose, to have a working conf file, but might need optimizing to local conditions (server list, what to send to syslog etc.). An additional advantage, by using the pidfile and driftfile keywords here, the default ntpd_flags variable in /etc/defaults/rc.conf should become an empty string. # Process ID file, so that the daemon can be signalled from scripts pidfile /var/run/ntpd.pid # The correction calculated by ntpd(8) for the local system clock's # drift is stored here. driftfile /var/db/ntp.drift # Public servers from the pool.ntp.org project. Volunteer's servers # are dynamically assigned to the CNAMES below via DNS round-robin. # The pool.ntp.org project needs more volunteers! The only criteria to # join are a nailed-up connection and a static IP address. For details, # see the web page: # # http://www.pool.ntp.org/ # server 0.pool.ntp.org server 1.pool.ntp.org server 2.pool.ntp.org Maybe one more comment could be added here that it is better to choose servers from a list of nearby time servers; although the manpage on ntp.conf also can explain this. Rob.