View previous topic :: View next topic |
Author |
Message |
Bhodi n00b
Joined: 04 Oct 2002 Posts: 28
|
Posted: Sat Oct 26, 2002 9:55 am Post subject: Adjusting time |
|
|
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 |
|
|
maxpower n00b
Joined: 07 Aug 2002 Posts: 65 Location: South Korea
|
Posted: Sat Oct 26, 2002 9:59 am Post subject: |
|
|
The zoneinfo file is for display purposes, it does not adjust the time. To do that use the command date.
mAx |
|
Back to top |
|
|
BackSeat Apprentice
Joined: 12 Apr 2002 Posts: 242 Location: Reading, UK
|
Posted: Sat Oct 26, 2002 3:37 pm Post subject: |
|
|
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 |
|
|
Bhodi n00b
Joined: 04 Oct 2002 Posts: 28
|
Posted: Sat Oct 26, 2002 4:04 pm Post subject: |
|
|
well, it's the clock in Gnome and GKRellm _________________ http://www.linuxlamers.org |
|
Back to top |
|
|
BackSeat Apprentice
Joined: 12 Apr 2002 Posts: 242 Location: Reading, UK
|
Posted: Sat Oct 26, 2002 5:13 pm Post subject: |
|
|
What time does the 'date' command give?
Oh, and I made a mistake above: I meant to suggest 'emerge ntp'
BS |
|
Back to top |
|
|
Exci Apprentice
Joined: 12 Jul 2002 Posts: 265 Location: The Netherlands, Zoetermeer
|
Posted: Sat Oct 26, 2002 5:34 pm Post subject: |
|
|
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 |
|
|
Bhodi n00b
Joined: 04 Oct 2002 Posts: 28
|
Posted: Sun Oct 27, 2002 5:55 am Post subject: |
|
|
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 |
|
|
Pluvius Apprentice
Joined: 15 Oct 2002 Posts: 167 Location: Phoenix, Arizona
|
Posted: Sun Oct 27, 2002 8:15 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
BackSeat Apprentice
Joined: 12 Apr 2002 Posts: 242 Location: Reading, UK
|
Posted: Sun Oct 27, 2002 11:47 pm Post subject: |
|
|
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 |
|
|
Pindrop Apprentice
Joined: 09 Jul 2002 Posts: 165 Location: Virginia, USA
|
Posted: Mon Oct 28, 2002 2:45 am Post subject: |
|
|
The fix I used was this:
MM being month, DD day, HH hour, mm minute, YYYY year.
--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 |
|
|
|