public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] gentoo forgets DATE adjust
@ 2011-11-08  1:48 Érico Porto
  2011-11-08  6:47 ` Mick
  2011-11-08  6:53 ` Florian Philipp
  0 siblings, 2 replies; 5+ messages in thread
From: Érico Porto @ 2011-11-08  1:48 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 445 bytes --]

When I was installing my system I typed the date and hour wrong , and
didn't noticed, and as far my computer knows, today is tomorrow, two hours
wrong...

I thought it was ok to change later, but actually, I can't. If I type the
date command to change time, it changes ok, but when I boot, my system
forgets it, and it's tomorrow again.. I've tried some ideas from the web,
but nothing worked..

Is this a known bug?

Érico V. Porto

[-- Attachment #2: Type: text/html, Size: 543 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] gentoo forgets DATE adjust
  2011-11-08  1:48 [gentoo-user] gentoo forgets DATE adjust Érico Porto
@ 2011-11-08  6:47 ` Mick
  2011-11-08  6:51   ` Mick
  2011-11-08  6:53 ` Florian Philipp
  1 sibling, 1 reply; 5+ messages in thread
From: Mick @ 2011-11-08  6:47 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 644 bytes --]

On Tuesday 08 Nov 2011 01:48:30 Érico Porto wrote:
> When I was installing my system I typed the date and hour wrong , and
> didn't noticed, and as far my computer knows, today is tomorrow, two hours
> wrong...
> 
> I thought it was ok to change later, but actually, I can't. If I type the
> date command to change time, it changes ok, but when I boot, my system
> forgets it, and it's tomorrow again.. I've tried some ideas from the web,
> but nothing worked..
> 
> Is this a known bug?
> 
> Érico V. Porto

Consider setting the time in your BIOS.

Alternatively, read man hwclock and set it with that.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] gentoo forgets DATE adjust
  2011-11-08  6:47 ` Mick
@ 2011-11-08  6:51   ` Mick
  0 siblings, 0 replies; 5+ messages in thread
From: Mick @ 2011-11-08  6:51 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 890 bytes --]

On Tuesday 08 Nov 2011 06:47:42 Mick wrote:
> On Tuesday 08 Nov 2011 01:48:30 Érico Porto wrote:
> > When I was installing my system I typed the date and hour wrong , and
> > didn't noticed, and as far my computer knows, today is tomorrow, two
> > hours wrong...
> > 
> > I thought it was ok to change later, but actually, I can't. If I type the
> > date command to change time, it changes ok, but when I boot, my system
> > forgets it, and it's tomorrow again.. I've tried some ideas from the web,
> > but nothing worked..
> > 
> > Is this a known bug?
> > 
> > Érico V. Porto
> 
> Consider setting the time in your BIOS.
> 
> Alternatively, read man hwclock and set it with that.

Oops!  I forgot to say:

Instead of doing this manually, check your /etc/conf.d/hwclock is set up 
correctly and that rc-update -s -v shows:

  hwclock | boot
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] gentoo forgets DATE adjust
  2011-11-08  1:48 [gentoo-user] gentoo forgets DATE adjust Érico Porto
  2011-11-08  6:47 ` Mick
@ 2011-11-08  6:53 ` Florian Philipp
  2011-11-08 12:03   ` Érico Porto
  1 sibling, 1 reply; 5+ messages in thread
From: Florian Philipp @ 2011-11-08  6:53 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 789 bytes --]

Am 08.11.2011 02:48, schrieb Érico Porto:
> When I was installing my system I typed the date and hour wrong , and
> didn't noticed, and as far my computer knows, today is tomorrow, two
> hours wrong...
> 
> I thought it was ok to change later, but actually, I can't. If I type
> the date command to change time, it changes ok, but when I boot, my
> system forgets it, and it's tomorrow again.. I've tried some ideas from
> the web, but nothing worked..
> 
> Is this a known bug? 
> 
> Érico V. Porto

Edit /etc/conf.d/hwclock and set clock_systohc="YES". Make sure hwclock
is in runlevel boot.

If you have an internet connection during boot-up, you should also
emerge net-misc/ntp and add ntp-client and ntpd to runlevel default.

Hope this helps,
Florian Philipp


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] gentoo forgets DATE adjust
  2011-11-08  6:53 ` Florian Philipp
@ 2011-11-08 12:03   ` Érico Porto
  0 siblings, 0 replies; 5+ messages in thread
From: Érico Porto @ 2011-11-08 12:03 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 991 bytes --]

it works! I had set only clock_hctosys before.

Thanks

Érico V. Porto


On Tue, Nov 8, 2011 at 4:53 AM, Florian Philipp <lists@binarywings.net>wrote:

> Am 08.11.2011 02:48, schrieb Érico Porto:
> > When I was installing my system I typed the date and hour wrong , and
> > didn't noticed, and as far my computer knows, today is tomorrow, two
> > hours wrong...
> >
> > I thought it was ok to change later, but actually, I can't. If I type
> > the date command to change time, it changes ok, but when I boot, my
> > system forgets it, and it's tomorrow again.. I've tried some ideas from
> > the web, but nothing worked..
> >
> > Is this a known bug?
> >
> > Érico V. Porto
>
> Edit /etc/conf.d/hwclock and set clock_systohc="YES". Make sure hwclock
> is in runlevel boot.
>
> If you have an internet connection during boot-up, you should also
> emerge net-misc/ntp and add ntp-client and ntpd to runlevel default.
>
> Hope this helps,
> Florian Philipp
>
>

[-- Attachment #2: Type: text/html, Size: 1474 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-11-08 12:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-08  1:48 [gentoo-user] gentoo forgets DATE adjust Érico Porto
2011-11-08  6:47 ` Mick
2011-11-08  6:51   ` Mick
2011-11-08  6:53 ` Florian Philipp
2011-11-08 12:03   ` Érico Porto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox