From owner-freebsd-questions Wed Jan 10 16:27:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id A3C3A37B400 for ; Wed, 10 Jan 2001 16:27:23 -0800 (PST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id B7BDB6A90D; Thu, 11 Jan 2001 10:57:20 +1030 (CST) Date: Thu, 11 Jan 2001 10:57:20 +1030 From: Greg Lehey To: Cliff Sarginson Cc: j mckitrick , freebsd-questions@FreeBSD.ORG Subject: Re: changing CMOS time on a laptop Message-ID: <20010111105720.Q44170@wantadilla.lemis.com> References: <20010110193943.B38307@dogma.freebsd-uk.eu.org> <20010111004014.F970@buffy.raggedclown.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010111004014.F970@buffy.raggedclown.net>; from cliff@raggedclown.net on Thu, Jan 11, 2001 at 12:40:14AM +0100 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, 11 January 2001 at 0:40:14 +0100, Cliff Sarginson wrote: > On Wed, Jan 10, 2001 at 07:39:43PM +0000, j mckitrick wrote: >> >> OK, I know 'date' can be used to change the *kernel* time, but the CMOS >> clock is still holding the old time. What do I use to change it? > > hwclock --utc --systohc Have you tried this? # hwclock --utc --systohc hwclock: not found hwclock is a kludge used in Linux to make up for the fact that the date(1) command doesn't set the CMOS clock correctly. FreeBSD's implementation of date(1) *does* set the CMOS clock correctly, so there's no hwclock. This doesn't help Jonathon, of course. Without knowing more about his laptop, it's difficult to answer that question. Most laptops set time with no problems. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message