This is a discussion on Really strange time thing within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Hello, my date is set to timezone /Europe/Brussels, so when I choose 'adjust date & time' current timezone says ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello, my date is set to timezone /Europe/Brussels, so when I choose 'adjust date & time' current timezone says CEST. This all seems to be normal, but every time I reboot, my pc-clock is being turned back for about 30-40 minutes. For instance, my mobile says it's 11h23 right now, but my Gentoo says 10h45. When I correct that and reboot, same thing happens. Can anyone explain this, or even better: solve it Regards, Kristof. |
| |||
| Kristof wrote: > Hello, > > my date is set to timezone /Europe/Brussels, so when I choose 'adjust > date & time' current timezone says CEST. This all seems to be normal, > but every time I reboot, my pc-clock is being turned back for about > 30-40 minutes. > For instance, my mobile says it's 11h23 right now, but my Gentoo says > 10h45. When I correct that and reboot, same thing happens. Can anyone > explain this, or even better: solve it > > Regards, > > Kristof. Yeah, setting time in Linux seems to be a pain. Especially when you dual boot with a retarded Windows install. Anyway, as far as I can tell, you probably need to set your hwclock. Try doing it with hwclock -w -u once you have date set correctly. I use: root $ /etc/init.d/ntp-client start root $ hwclock -w -u and everything seems to be ok, at least until the next time I boot windows. |
| |||
| Kristof enlightened us with: > my date is set to timezone /Europe/Brussels, so when I choose > 'adjust date & time' current timezone says CEST. This all seems to > be normal, but every time I reboot, my pc-clock is being turned back > for about 30-40 minutes. That's due to a faulty setting in /etc/adjtime. Use NTP to set your clock correctly, and then remove that file. Sybren -- The problem with the world is stupidity. Not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? |
| ||||
| Ben O'Brien wrote: > Kristof wrote: > >>my date is set to timezone /Europe/Brussels, so when I choose 'adjust >>date & time' current timezone says CEST. This all seems to be normal, >>but every time I reboot, my pc-clock is being turned back for about >>30-40 minutes. > > Yeah, setting time in Linux seems to be a pain. Especially when you dual > boot with a retarded Windows install. > [snip] > and everything seems to be ok, at least until the next time I boot windows. In /etc/rc.conf : > # Set CLOCK to "UTC" if your system clock is set to UTC (also known as > # Greenwich Mean Time). If your clock is set to the local time, then set CLOCK > # to "local". This setting is used by the /etc/init.d/clock script. > > CLOCK="local" Windows keeps the hardware clock at local time. If you dual-boot, setting CLOCK="local" may help. -- Ben M. |