From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 13:58:30 2005 Return-Path: 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 301E616A4CE for ; Sun, 27 Feb 2005 13:58:30 +0000 (GMT) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8575743D31 for ; Sun, 27 Feb 2005 13:58:27 +0000 (GMT) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.4) with SMTP id AAA09738; Mon, 28 Feb 2005 00:58:18 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 28 Feb 2005 00:58:17 +1100 (EST) From: Ian Smith To: Pat Maddox In-Reply-To: <20050227120022.F3FEA16A5AC@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Received mail timestamp is off by 7 hours X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2005 13:58:30 -0000 On Sun, 27 Feb 2005 03:10:12 -0700 Pat Maddox wrote: > Alright, I got it all working now. Not sure how to change the time > zone with config files, so I just used sysinstall to change it to MST > (time zone is arbitrary, but since this is the zone I live in, it's > convenient for me). Then I used ntpdate to sync it, and it's working > well now. > > Thanks for pointing that out to me. I just thought that CET was central time :) Yes sysinstall's as good a way as any, it'll set your timezone and also let you choose between running with a UTC or local time CMOS clock. Or you can manually tun tzsetup(8) and create (or not) /etc/wall_cmos_clock .. see adjkerntz(8) Take little notice of people opining that you must or even should run CMOS UTC time; that's entirely up to you. I've always preferred local time CMOS clocks personally; sysinstall creates /etc/wall_cmos_clock and cron runs 'adjkerntz -a' halfhourly at times when daylight savings time might come or go in your zone, and that's always worked fine here. The only thing to watch running wall_cmos_clock is that if you boot to single user mode, before /etc/rc has run 'adjkerntz -i' the system will assume CMOS is UTC, so any files then modified show timestamps in UTC (discovered the hard way in Jan 2000 on a box with a broken y2k BIOS :) Cheers, Ian