Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

Time

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
molnarferenc
n00b
n00b
Posts: 7
Joined: Thu Jun 16, 2005 6:28 am

Time

  • Quote

Post by molnarferenc » Thu Jun 16, 2005 7:11 am

Hy,

I have a big problem. The bios time is normal, but the gentoo is show a wrong time. I live in hungary, so gtm+2.
The gentoo system add two hours to the bios time and show that. Why????

Please help me.

If i set the gentoo time is normal, then a bios time change minus 2 hours. I can't syncronized this.

Thanks Feco
Top
Earthwings
Bodhisattva
Bodhisattva
User avatar
Posts: 7753
Joined: Mon Apr 14, 2003 8:13 pm
Location: Germany

  • Quote

Post by Earthwings » Thu Jun 16, 2005 7:16 am

Did you edit /etc/rc.conf and set CLOCK="local" as described in the handbook?

Welcome to the forums btw. :)
KDE
Top
molnarferenc
n00b
n00b
Posts: 7
Joined: Thu Jun 16, 2005 6:28 am

Thank

  • Quote

Post by molnarferenc » Thu Jun 16, 2005 7:23 am

Thank you!

It's work!
Top
molnarferenc
n00b
n00b
Posts: 7
Joined: Thu Jun 16, 2005 6:28 am

  • Quote

Post by molnarferenc » Thu Jun 16, 2005 7:24 am

What does it mean "btw" ?
Top
vishnja
n00b
n00b
Posts: 30
Joined: Tue Sep 23, 2003 12:08 pm

  • Quote

Post by vishnja » Thu Jun 16, 2005 7:25 am

I think, the Gentoo Localization Guide knows the answer:
In most Gentoo Linux installations, your hardware clock is set to UTC (or GMT, Greenwich Mean Time) and then your timezone is taken into account to determine the actual, local time. If, for some reason, you need your hardware clock not to be in UTC, you will need to edit /etc/rc.conf and change the value of CLOCK from UTC to local.

Code Listing 2.1: local vs. GMT clock

(recommended:)
CLOCK="UTC"
(or:)
CLOCK="local"
So, no you need to set your localtime:
In order to keep time properly, /etc/localtime must point to the correct time zone data file. Look around in /usr/share/zoneinfo/ and pick your timezone or a near-by big city.

Code Listing 1.1: setting the timezone

# ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
# date
Sun Feb 16 08:26:44 CET 2003

Note: Make sure that the three-letter timezone indicator (in this case "CET") is correct for your area.

Note: You can set the value of TZ to be everything after the /usr/share/zoneinfo in your shell rc file (.bash_profile for bash) for a user-level setting. In this case TZ="Europe/Berlin".
Of course you should select the appropriate city for you ;-)

Good luck!
Top
vishnja
n00b
n00b
Posts: 30
Joined: Tue Sep 23, 2003 12:08 pm

  • Quote

Post by vishnja » Thu Jun 16, 2005 7:27 am

Oops! I was too late :lol:

btw.= by the way?
Top
idonno
n00b
n00b
Posts: 5
Joined: Sat Oct 02, 2004 9:14 pm

Time

  • Quote

Post by idonno » Wed Jul 20, 2005 11:07 pm

My /etc/conf.d/clock is set to local time, and i have a symbolic link to my time zone /etc/localtime(/etc/localtime -> /usr/share/zoneinfo/America/North_Dakota), and when I do date it says UTC... What I miss?

Dave
Top
Post Reply

7 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic