From owner-freebsd-questions@FreeBSD.ORG Thu May 12 22:51:13 2005 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 6CE0916A4D1 for ; Thu, 12 May 2005 22:51:13 +0000 (GMT) Received: from muse.calarts.edu (muse.calarts.edu [198.182.157.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE88443D64 for ; Thu, 12 May 2005 22:51:12 +0000 (GMT) (envelope-from smurphy@calarts.edu) Received: from [198.182.157.173] (not-in-use.calarts.edu [198.182.157.173] (may be forged)) by muse.calarts.edu (8.11.7p1+Sun/8.11.7) with ESMTP id j4CMpB625489 for ; Thu, 12 May 2005 15:51:11 -0700 (PDT) Message-ID: <4283DE11.4050209@calarts.edu> Date: Thu, 12 May 2005 15:52:01 -0700 From: Sean Murphy User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.91.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: RE: Setting up ntpd on FreeBSD (5.4) 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: Thu, 12 May 2005 22:51:13 -0000 Ensure you due ntpdate before you run ntpd. This can be done just once from the command line and ntpd cannot be running. ntpdate ntp2.sf-bay.org then add the following to /etc/rc.conf ntpd_enable="YES" ntpd_flags="-c /etc/ntp.conf -p /var/run/ntpd.pid" between the lines is a example of ntp.conf in /etc ==== #List of servers to pull time from server ntp2.sf-bay.org server clock.isc.org server clock.via.net server ntp.ucsd.edu #This is created automaticaly you do not have to touch it #However it might take hours for it to be created driftfile /var/db/ntp.drift #This Line restricts which hosts are allowed to pull from your box restrict 172.30.0.0 mask 255.255.0.0 notrust nomodify notrap === restart your box check ntp using ntpdc $ ntpdc -s remote local st poll reach delay offset disp ======================================================================= .bigben.ucsd.edu 198.182.157.33 2 1024 377 0.01555 0.038196 0.01865 *clock.via.net 198.182.157.33 1 1024 377 0.02483 0.038705 0.01482 .clock.isc.org 198.182.157.33 2 1024 377 0.02481 0.040574 0.01482 zorac.sf-bay.or 198.182.157.33 2 1024 377 0.01485 0.044078 0.01865