From owner-freebsd-questions Sun Aug 18 18: 3:15 2002 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 7299337B400 for ; Sun, 18 Aug 2002 18:03:13 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2622C43E6E for ; Sun, 18 Aug 2002 18:03:12 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id E847A812EA; Mon, 19 Aug 2002 09:59:56 +0930 (CST) Date: Mon, 19 Aug 2002 09:59:56 +0930 From: Greg 'groggy' Lehey To: Jeff Penn Cc: freebsd-questions@freebsd.org Subject: Re: timezone on freebsd/debian system Message-ID: <20020819002956.GD43138@wantadilla.lemis.com> References: <20020818152332.GA594@jrpenn.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020818152332.GA594@jrpenn.demon.co.uk> User-Agent: Mutt/1.3.99i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sunday, 18 August 2002 at 16:23:32 +0100, Jeff Penn wrote: > I installed FreeBSD on a new system back in January. When promped to set > UTC during the install I answered no, and set the timezone to London. > > In March my system did not forward the system clock by 1 hour, although > date shows the timezone as BST. > > I recently installed Debian Woody on the system and set the timesone to > London. The date also displays BST, but is 1 hour ahead. I also installed > freedos recently, but did not notice if the time was correct. > > any suggestions? Set the system clock to UTC. That's what that first question meant, and it's the only correct thing to do. The system then installs a time zone file for your local time zone. The alternative is a kludge to make life easier with systems which don't have any concept of time zones. It involves the use of the adjkerntz(8) program via /etc/crontab: # time zone change adjustment for wall cmos clock, # does nothing if you have UTC cmos clock. # See adjkerntz(8) for details. # 1,31 0-5 * * * root adjkerntz -a This gets activated by uncommenting the last line (remove the initial "# ". I suspect something has gone wrong with your crontab entry. The better solution, though, is to install a time zone file: cp /usr/share/zoneinfo/Europe/London /etc/timezone Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html 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