From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 5 07:31:04 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01B4A37B401 for ; Thu, 5 Jun 2003 07:31:04 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50B1A43FA3 for ; Thu, 5 Jun 2003 07:31:03 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h55EV1gc014324; Thu, 5 Jun 2003 09:31:01 -0500 (CDT) (envelope-from dan) Date: Thu, 5 Jun 2003 09:31:01 -0500 From: Dan Nelson To: Christoph Kukulies Message-ID: <20030605143100.GA90313@dan.emsphone.com> References: <200306051115.h55BFqv06885@accms33.physik.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200306051115.h55BFqv06885@accms33.physik.rwth-aachen.de> X-OS: FreeBSD 5.1-BETA X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: hackers@freebsd.org Subject: Re: setting CMOS clock X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2003 14:31:04 -0000 In the last episode (Jun 05), Christoph Kukulies said: > I'm using a cron job to synchronize time against a timeserver in a > local network. The timeserver is a NT box that has a DCF77 clock > attached. > > I chose rdate (/usr/ports/sysutils/rdate) to do the synchronisation. > > Does this also set the CMS clock correctly or what would I have to do > to set the cmos clock? The CMOS clock is automatically set whenever the system's time is updated. You might want to think about installing NTPD on your NT machine and using NTP to synch instead. rdate can only give you time to the nearest second, and according to http://www.eecis.udel.edu/~ntp/ntpfaq/NTP-s-refclk.htm#AEN4231 , the DCF77 signal is accurate to ~3ms . Precompiled ntpd binaries for NT are available at http://www.ntp.org/links.html -- Dan Nelson dnelson@allantgroup.com