Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Feb 2011 14:11:41 +0100
From:      "Christopher J. Ruwe" <cjr@cruwe.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: system clock running 2h early although ntpd enabled
Message-ID:  <20110212141141.53b77248@dijkstra>
In-Reply-To: <4D56721B.3080204@infracaninophile.co.uk>
References:  <20110211221648.03c65a04@dijkstra> <4D56721B.3080204@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <m.seaman@infracaninophile.co.uk> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110212141141.53b77248>