From owner-freebsd-stable@FreeBSD.ORG Thu Dec 30 19:37:07 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 61FE716A4CE for ; Thu, 30 Dec 2004 19:37:07 +0000 (GMT) Received: from mail19.bluewin.ch (mail19.bluewin.ch [195.186.18.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 055F043D1F for ; Thu, 30 Dec 2004 19:37:07 +0000 (GMT) (envelope-from Federico.Besnard@bluewin.ch) Received: from [192.168.1.33] (62.203.145.231) by mail19.bluewin.ch (Bluewin AG 7.0.035) id 41BEB8F00012856D; Thu, 30 Dec 2004 19:37:04 +0000 Message-ID: <41D458DF.3020706@bluewin.ch> Date: Thu, 30 Dec 2004 20:37:03 +0100 From: Federico Galvez-Durand Besnard User-Agent: Mozilla Thunderbird 1.0 (X11/20041209) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dtalk@u.washington.edu References: <41D43A7A.2000500@bluewin.ch> <20041230110953.T17743@atlantis.flyingjoke.org> In-Reply-To: <20041230110953.T17743@atlantis.flyingjoke.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org Subject: Re: clock running fast 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: Thu, 30 Dec 2004 19:37:07 -0000 Set /etc/localtime to your correct timezone before doing anything in your machine. Remove /var/db/ntpd.drift before you reboot or restart your ntpd. This is what I use in /etc/rc.conf: +++ ntpd_enable="YES" # Run ntpd Network Time Protocol (or NO). ntpd_program="/usr/sbin/ntpd" # path to ntpd, if you want a different one. ntpd_flags="-p /var/run/ntpd.pid -f /etc/ntp/drift -l /var/log/ntp.log" +++ Check ntpd messages with dmesg. If it does not work, this is one ntp.conf (change server to time.u.washington.edu or whatever is closer to you) that worked well for me: +++++ BEGIN /etc/ntp.conf +++++++ # NTP configuration file # # Thu Nov 11 20:06:40 GMT+1 2004 restrict 192.168.1.0 mask 255.255.255.0 notrust nomodify notrap restrict 127.0.0.1 # servers to query #------------------- server clock.tix.ch restrict clock.tix.ch mask 255.255.255.255 nomodify notrap noquery +++++ END /etc/ntp.conf +++++++ Once you get synchronised with your time-server, you can consider changing minpoll maxpoll to polite values. Fico// David Talkington wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Federico Galvez-Durand Besnard wrote: > >> what do you have in : >> /etc/ntp.conf > > > Only: > > server time.u.washington.edu > server 127.127.1.0 fudge 127.127.1.0 stratum 10 > > > Command line: > > /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid \ > - -f /var/db/ntpd.drift > > Thank you ... -d >