From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 13:11:52 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C377106566C for ; Sat, 12 Feb 2011 13:11:52 +0000 (UTC) (envelope-from cjr@cruwe.de) Received: from cruwe.de (t1850.greatnet.de [83.133.124.96]) by mx1.freebsd.org (Postfix) with ESMTP id ACE008FC08 for ; Sat, 12 Feb 2011 13:11:51 +0000 (UTC) Received: (qmail 30900 invoked from network); 12 Feb 2011 13:11:49 -0000 Received: from p57bdeeb5.dip.t-dialin.net (HELO dijkstra) (smtpallow@87.189.238.181) by t1850.greatnet.de with ESMTPA; 12 Feb 2011 13:11:49 -0000 Date: Sat, 12 Feb 2011 14:11:41 +0100 From: "Christopher J. Ruwe" To: freebsd-questions@freebsd.org Message-ID: <20110212141141.53b77248@dijkstra> In-Reply-To: <4D56721B.3080204@infracaninophile.co.uk> References: <20110211221648.03c65a04@dijkstra> <4D56721B.3080204@infracaninophile.co.uk> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/FbR=Mpx8LiauQuHTmNnUo24"; protocol="application/pgp-signature" Subject: Re: system clock running 2h early although ntpd enabled X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2011 13:11:52 -0000 --Sig_/FbR=Mpx8LiauQuHTmNnUo24 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 12 Feb 2011 11:42:19 +0000 Matthew Seaman wrote: > On 11/02/2011 21:16, Christopher J. Ruwe wrote: > > Since some weeks my local clock runs two hours early. > > My /etc/localtime is a copy of /usr/share/zoneinfo/Europe/Berlin > > and I have set both ntpd_enable=3D"YES" and ntpd_sync_on_start=3D"YES". > > My ntp.conf consists of=20 > >=20 > > server ntp1.ptb.de prefer > > server ntp2.ptb.de > > restrict default ignore > > restrict 127.0.0.1 > >=20 > > Surely, I must be missing something. Does anybody have an idea? > >=20 >=20 > Sounds like your CMOS clock is set to local wallclock time, but you > haven't got the /etc/wall_cmos_clock file. Or vice-versa: your CMOS > clock is set to UTC, but you've got the wall_cmos_clock file. See > adjkerntz(8) for details. The CMOS clock is what drives the time/date > display shown in the system BIOS, and it's separate from the clock > used for the system time when the OS is running. OK, thank you, that was indeed the case, i.e., the CMOS clock was set to local time. I do not know why, usually I set it to GMT, so I never did bother to check. Turned out I should have had this time. > [snip] >=20 > Personally, if the machine is dedicated to running FreeBSD (or FreeBSD > and other unixoid OSes) I'd set the CMOS clock to UTC[*] It is now. Thanks and cheers, --=20 Christopher J. Ruwe TZ GMT + 1 --Sig_/FbR=Mpx8LiauQuHTmNnUo24 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iQIcBAEBAgAGBQJNVocSAAoJEJTIKW/o3iwUSWgP/3jT3Sf9wXjXGKfLvEO+se2n /AN4ojxyDQXTYd5a65l21OcWOHwl/3nJHT+HBlbtZPtykEE2S49GICA4XuE+ovS4 6hZXy+9o/qi8qdNH4UHavUZGinIT6p62BTI1dMj4E+HYcmqdXU8UTarhfCT0N8Df K5vkVOZH2iwxeYWzeBy9UBHKw9kv4rNsTdByZNNaIRf2UkPXtVxXzqE9MSPp7RNV tOifV9FPliWDSYSZGvLpYiBXWfnCzy6g5eSQrkSsV2YQlqOLfdxj7l84DsesLEvK 6aK5mr0C+m3IsnY2XRvNRlePEjTKdEIBAM4M9YSrq0ejvN2W2nIWX/twS0iQiEHY oGcbcwyNmQ3RPr/Ar/3vztwDkA2SFi9MUjtO83E7LiYNmD1MPsA6UhYdjNc+93iU yy9EJN/kGaI5Uzm9uI9WyTzwt2/DNUZtQGnxKV3KdWyGJrmurQo4KAa6RVa7FrO8 n9vP2xMNgOCKGyCVMGtOw2aQUjFedltdu6QF7vcJtvwNIh9P7TWW+v81EsYodmVt Pz0580cVwlWA6UROSkEp+9vwBaUnTjtlnoYbctmfN/pELHoC9AGIgsCjINwUIBGm HB3FZz5cg6k41rMr0anTHQ7RW3yyXE/ZWG3v+5jyg1dwnl06uGptgEoa0AhT01Mq 2A41MGj/CF5n1uqasMSL =02mI -----END PGP SIGNATURE----- --Sig_/FbR=Mpx8LiauQuHTmNnUo24--