[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Init Panic, j'ai perdu l'heure...



On Thu, Jun 03, 1999 at 09:32:42AM +0200, Raphael Hertzog wrote:
> Le Thu, Jun 03, 1999 at 06:47:30AM +0200, Fabrice Gautier écrivait:
> > Suite à un joli, plantage de la mort qui tue qui ma obligé à prononcer des
> > incantations magiques, debian se comporte comme si l'heure systeme était GMT
> > alors que avant elle était à l'heure locale. Comment est-ce qu'on fait pour
> > revenir à ca?? Je croyais que tzconfig faisait ca mais apparement non...
> > j'ai pas trouve avec date non plus...  
> 
> Si vous aviez lu la page de manuel de tzconfig vous auriez su :
> 

>        The  Debian  GNU/Linux  system gains its knowledge of this
>        setting from the file /etc/default/rcS.   This  file  con­
>        tains  either  the line GMT="-u", which indicates that the
>        hardware clock is set to UTC,  or  it  contains  the  line
>        GMT="",  which declares the hardware clock is set to Local
>        Time. If these setting are correct, and the hardware clock
>        is  truely  set  as indicated, then configuring the proper
>        timezone for the machine will cause the  proper  date  and
>        time  to be displayed. If these are not set correctly, the
>        the reported time will be quite incorrect. See  hwclock(8)
>        for more details on this topic.
> 

certe, certe, mais ceci n'a pas changé, il y a toujours la ligne GMT="" dans
ce fichier. J'ai bein reussi a modifier l'heure de la RTC avec hwclock mais
je voyais pas comment changer l'heure systeme (en fait j'ai trouvé c'est
date --set ) Mais ce n'est pas recommender de le faire quand le systeme
est en route (man de hwclock) Alors j'avais d'abord essayer de changer 
l'heure "hardware" et de rebooter, mais apparement le shutdown doit
synchroniser l'horloge hard avec l'horloge systeme.
Restait la solution de le faire par le BIOS avant le redemarrage.

A+

-- 
Fabrice Gautier
gautier@email.enst.fr


Reply to: