Gentoo Archives: gentoo-user

From: Charles Trois <charles.trois@×××××××.fr>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] system clock keeps getting reset to weird times
Date: Mon, 21 Nov 2005 09:10:56
Message-Id: 43818D47.8010407@wanadoo.fr
In Reply to: Re: [gentoo-user] system clock keeps getting reset to weird times by Benno Schulenberg
1 Benno Schulenberg a écrit :
2 >
3 > Your hardware clock is supposed to be at UTC?
4 > Check with 'grep CLOCK= /etc/conf.d/clock'.
5 >
6 > Your time zone is correctly set?
7 > Check with 'ls -l /etc/localtime'.
8 >
9 > If those are okay, do:
10 >
11 > rm /etc/adjtime
12 > hwclock --set --utc --date="2005-11-18 21:34" # example time
13 > hwclock --hctosys
14 >
15 > If your hardware clock must be at local time, then replace --utc
16 > with --localtime.
17 >
18 I too have a clock problem (the time returned by "date" being one hour
19 fast), and I have been fiddling with "hwclock" without finding the right
20 way. When I saw the above post, I thought that it gave me the answer,
21 and tried to apply it, but had no success (I used both --utc and
22 --localtime).
23
24 The legal time, here in France and at this (winter) period, is GMT + 1,
25 as shown correctly by the clock of my iMac, but "date" keeps returning
26 GMT + 2.
27
28 Can anyone figure out the solution?
29
30 Charles
31
32 --
33 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] system clock keeps getting reset to weird times Stephen Micheals <stephen.micheals@×××××.com>
Re: [gentoo-user] system clock keeps getting reset to weird times Richard Fish <bigfish@××××××××××.org>
Re: [gentoo-user] system clock keeps getting reset to weird times Benno Schulenberg <benno.schulenberg@×××××.com>