From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 5 08:08:22 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 42C1B37B401 for ; Thu, 5 Jun 2003 08:08:22 -0700 (PDT) Received: from accms33.physik.rwth-aachen.de (accms33.physik.RWTH-Aachen.DE [137.226.46.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id B459D43FBD for ; Thu, 5 Jun 2003 08:08:18 -0700 (PDT) (envelope-from kuku@accms33.physik.rwth-aachen.de) Received: (from kuku@localhost) by accms33.physik.rwth-aachen.de (8.11.6/8.9.3) id h55F85u10439; Thu, 5 Jun 2003 17:08:05 +0200 Date: Thu, 5 Jun 2003 17:08:05 +0200 From: "Christoph P. Kukulies" To: Dan Nelson Message-ID: <20030605150805.GC9046@gilberto.physik.rwth-aachen.de> References: <200306051115.h55BFqv06885@accms33.physik.rwth-aachen.de> <20030605143100.GA90313@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030605143100.GA90313@dan.emsphone.com> User-Agent: Mutt/1.4i cc: hackers@freebsd.org cc: Christoph Kukulies 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 15:08:22 -0000 On Thu, Jun 05, 2003 at 09:31:01AM -0500, Dan Nelson wrote: > 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 Ah, that's good to know. Under Linux Boxes which I had under my command in the meantime (Redhat 6.1) an additional /sbin/clock -w was necessary. > 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 Thanks for the pointer. That's good to know. What NT 4.0 Resource kit is supplying calls itself TimeServ and offers time service on port 37 only. And obviously the ntpdate client times out on given this as the server. -- Chris Christoph P. U. Kukulies kukulies@rwth-aachen.de