View previous topic :: View next topic |
Author |
Message |
bjlockie Veteran
Joined: 18 Oct 2002 Posts: 1186 Location: Canada
|
Posted: Sun Nov 06, 2005 10:29 pm Post subject: setting local timezone |
|
|
# ls -l /etc/localtime
lrwxrwxrwx 1 root root 34 Nov 6 05:19 /etc/localtime -> /usr/share/zoneinfo/Canada/Eastern
# uname -a
Linux localhost 2.6.13.3 #1 Sat Oct 8 23:09:32 Local time zone must be set--see zic manua x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
Aahhhh |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Nov 06, 2005 10:34 pm Post subject: |
|
|
The output of "uname -a" shows the settings that were in effect when the kernel was compiled, so you will need to recompile the kernel to change what uname shows.
The good news is that this is only cosmetic. You should wait to recompile the kernel until you actually need to. |
|
Back to top |
|
|
bjlockie Veteran
Joined: 18 Oct 2002 Posts: 1186 Location: Canada
|
Posted: Mon Nov 07, 2005 12:35 am Post subject: |
|
|
It is not showing what I expect for a time.
$ date
Mon Nov 7 00:26:41 UTC 2005
It should be EST instead of UTC? |
|
Back to top |
|
|
Frodg l33t
Joined: 11 Feb 2004 Posts: 761
|
Posted: Mon Nov 07, 2005 3:19 am Post subject: |
|
|
See Cyrillic's previous post _________________ Aerosolo ergo sum - I spray therefore I am
Gentoo - Registered Linux User # 361400 |
|
Back to top |
|
|
bjlockie Veteran
Joined: 18 Oct 2002 Posts: 1186 Location: Canada
|
Posted: Mon Nov 07, 2005 9:15 am Post subject: |
|
|
Frodg wrote: | See Cyrillic's previous post |
If it is only cosmetic then why is the time correct in Windows OR Linux but never both at the same time?
I am positive that the timezone is set for Windows. |
|
Back to top |
|
|
Titeuf l33t
Joined: 19 Jun 2004 Posts: 759 Location: Middelkerke, Belgium
|
Posted: Mon Nov 07, 2005 11:10 am Post subject: |
|
|
bjlockie wrote: | Frodg wrote: | See Cyrillic's previous post |
If it is only cosmetic then why is the time correct in Windows OR Linux but never both at the same time?
I am positive that the timezone is set for Windows. |
It can be that the time in gentoo is set to UTC time: gentoo stores the time as UTC in the bios, whereas windows as EST.
From the installation handbook:
Quote: |
Gentoo uses /etc/conf.d/clock to set clock options. Edit it according to your needs.
Code Listing 26: Opening /etc/conf.d/clock
# nano -w /etc/conf.d/clock
If your hardware clock is not using UTC, you need to add CLOCK="local" to the file. Otherwise you will notice some clock skew. Furthermore, Windows assumes that your hardware clock uses local time, so if you want to dualboot, you should set this variable appropriately, otherwise your clock will go crazy.
|
Here's your solution |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Mon Nov 07, 2005 7:20 pm Post subject: |
|
|
Moved from Installing Gentoo to Other Things Gentoo
not an installation problem. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
|