Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Adjusting time
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
Bhodi
n00b
n00b


Joined: 04 Oct 2002
Posts: 28

PostPosted: Sat Oct 26, 2002 9:55 am    Post subject: Adjusting time Reply with quote

Hi,

Ik have made a symlink for localtime to /zoneinfo/Eurpe/Amsterdam, but my clock is till running 2 hours upfront. Is there another place where i can adjust the time? I remember something vaguely about the GMC+1 thing but i can't find it.

Another question i have is about adding users, isn't it possible to add a user with a name that starts with a capital letter?

greetz
_________________
http://www.linuxlamers.org
Back to top
View user's profile Send private message
maxpower
n00b
n00b


Joined: 07 Aug 2002
Posts: 65
Location: South Korea

PostPosted: Sat Oct 26, 2002 9:59 am    Post subject: Reply with quote

The zoneinfo file is for display purposes, it does not adjust the time. To do that use the command date.

mAx
Back to top
View user's profile Send private message
BackSeat
Apprentice
Apprentice


Joined: 12 Apr 2002
Posts: 242
Location: Reading, UK

PostPosted: Sat Oct 26, 2002 3:37 pm    Post subject: Reply with quote

Check the time the machine knows about with the 'date' command. You might want to 'emerge nntp' to automatically keep the system clock at the right time, assuming you have Internet connectivity.

Having done the above, is the the machine time which is wrong, or some utility which displays the time?

BS
Back to top
View user's profile Send private message
Bhodi
n00b
n00b


Joined: 04 Oct 2002
Posts: 28

PostPosted: Sat Oct 26, 2002 4:04 pm    Post subject: Reply with quote

well, it's the clock in Gnome and GKRellm
_________________
http://www.linuxlamers.org
Back to top
View user's profile Send private message
BackSeat
Apprentice
Apprentice


Joined: 12 Apr 2002
Posts: 242
Location: Reading, UK

PostPosted: Sat Oct 26, 2002 5:13 pm    Post subject: Reply with quote

What time does the 'date' command give?

Oh, and I made a mistake above: I meant to suggest 'emerge ntp'

BS
Back to top
View user's profile Send private message
Exci
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 265
Location: The Netherlands, Zoetermeer

PostPosted: Sat Oct 26, 2002 5:34 pm    Post subject: Reply with quote

I'm from the netherlands and I always use CET ..

i had the problem that with dual boot my windows was 2 hours later when i came from gentoo.
Back to top
View user's profile Send private message
Bhodi
n00b
n00b


Joined: 04 Oct 2002
Posts: 28

PostPosted: Sun Oct 27, 2002 5:55 am    Post subject: Reply with quote

well, i have the same. I have dual-boot with WinXP and Gentoo is always 2 hours ahead. :?
_________________
http://www.linuxlamers.org
Back to top
View user's profile Send private message
Pluvius
Apprentice
Apprentice


Joined: 15 Oct 2002
Posts: 167
Location: Phoenix, Arizona

PostPosted: Sun Oct 27, 2002 8:15 pm    Post subject: Reply with quote

If you check the Gentoo installation instructions, You also have to eidt your /etc/rc.conf file and set the appropriate clock parameter from "UMT" to "local".

You can also emerge the "ntp" build as indicated, but that means your PC will need an Internet connection to set time, basing it off an Internet timeclock.

I hope this helps. :wink:
Back to top
View user's profile Send private message
BackSeat
Apprentice
Apprentice


Joined: 12 Apr 2002
Posts: 242
Location: Reading, UK

PostPosted: Sun Oct 27, 2002 11:47 pm    Post subject: Reply with quote

Windows always (incorrectly IMO) adjusts the hardware clock to be equal to the local time. Linux generally (this can be changed) expects the hardware clock to be UTC. So, if you're dual booting between Windows and Linux then expect your time display to be incorrect in Linux.

BS
Back to top
View user's profile Send private message
Pindrop
Apprentice
Apprentice


Joined: 09 Jul 2002
Posts: 165
Location: Virginia, USA

PostPosted: Mon Oct 28, 2002 2:45 am    Post subject: Reply with quote

The fix I used was this:

Code:
date MMDDHHmmYYYY


MM being month, DD day, HH hour, mm minute, YYYY year.

Code:
hwclock --systohc


--systohc Syncs the system clock to the Hardware clock on your motherboard. Thus when you boot into windows, it will read the BIOS clock, which was set to same time as Linux keeping the time the same in both OSes.
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