Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
setting local timezone
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
bjlockie
Veteran
Veteran


Joined: 18 Oct 2002
Posts: 1186
Location: Canada

PostPosted: Sun Nov 06, 2005 10:29 pm    Post subject: setting local timezone Reply with quote

# 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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Nov 06, 2005 10:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
bjlockie
Veteran
Veteran


Joined: 18 Oct 2002
Posts: 1186
Location: Canada

PostPosted: Mon Nov 07, 2005 12:35 am    Post subject: Reply with quote

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
View user's profile Send private message
Frodg
l33t
l33t


Joined: 11 Feb 2004
Posts: 761

PostPosted: Mon Nov 07, 2005 3:19 am    Post subject: Reply with quote

See Cyrillic's previous post
_________________
Aerosolo ergo sum - I spray therefore I am

Gentoo - Registered Linux User # 361400
Back to top
View user's profile Send private message
bjlockie
Veteran
Veteran


Joined: 18 Oct 2002
Posts: 1186
Location: Canada

PostPosted: Mon Nov 07, 2005 9:15 am    Post subject: Reply with quote

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
View user's profile Send private message
Titeuf
l33t
l33t


Joined: 19 Jun 2004
Posts: 759
Location: Middelkerke, Belgium

PostPosted: Mon Nov 07, 2005 11:10 am    Post subject: Reply with quote

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
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Mon Nov 07, 2005 7:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum