Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Adjusting the clock settings
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
kogorman
n00b
n00b


Joined: 14 Mar 2004
Posts: 12
Location: Arroyo Grande, California USA

PostPosted: Sat Jul 17, 2004 8:43 pm    Post subject: Adjusting the clock settings Reply with quote

My system seems to always report times in UTC; I would prefer local times. I have no idea where to adjust this.
Help a n00b?

As a possibly separate issue, how do I tell if the system
clock is holding UTC or local time, and how do I change
that?

These matters were probably clear to me for a minute or
so in the midst of the initial install, but I've forgotten
everything since.

++ kevin
_________________
Kevin O'Gorman, PhD
Back to top
View user's profile Send private message
KePSuX
Guru
Guru


Joined: 29 Sep 2003
Posts: 312
Location: Fredericksburg Va

PostPosted: Sat Jul 17, 2004 9:03 pm    Post subject: Reply with quote

Section 7a of the install guide....

Code:

# ls /usr/share/zoneinfo
(Suppose you want to use GMT)
# ln -sf /usr/share/zoneinfo/GMT /etc/localtime

_________________
http://www.atomicraygunattack.com
Back to top
View user's profile Send private message
frohman
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2004
Posts: 94
Location: Boston, MA, USA

PostPosted: Thu Jul 22, 2004 1:38 am    Post subject: Reply with quote

My system clock holds the local time, not UTC. How can I get Gentoo to realize that it is local and not UTC? Right now I have to set my time zone as GMT to get the right time to display.
Back to top
View user's profile Send private message
Tazok
Guru
Guru


Joined: 25 Oct 2003
Posts: 310

PostPosted: Thu Jul 22, 2004 1:43 am    Post subject: Reply with quote

Have a look at the /etc/rc.conf file:
Quote:
# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# Greenwich Mean Time). If your clock is set to the local time, then set CLOCK
# to "local". This setting is used by the /etc/init.d/clock script.

CLOCK="UTC"
Back to top
View user's profile Send private message
frohman
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2004
Posts: 94
Location: Boston, MA, USA

PostPosted: Thu Jul 22, 2004 1:26 pm    Post subject: Reply with quote

It is already set as local
Back to top
View user's profile Send private message
radonsg
Apprentice
Apprentice


Joined: 26 Jun 2004
Posts: 257
Location: Singapore

PostPosted: Thu Jul 22, 2004 1:28 pm    Post subject: Reply with quote

maybe u will wan to use npt-client to sync your time.
_________________
Athlon64 3000+ on a MSI Neo2 Platinum (nVidia nForce3)
1 Sata Hitachi (HGST) 7K250
1 Sata Samsung SpinPoint
2 x 512MB TwinMos DDR400 Dual Channel
Geforce 5200
Back to top
View user's profile Send private message
asph
l33t
l33t


Joined: 25 Aug 2003
Posts: 741
Location: Barcelona, Spain

PostPosted: Thu Jul 22, 2004 1:48 pm    Post subject: Reply with quote

i use rdate to sync my time, it works great!
Code:
emerge rdate && rdate -s time.nist.gov

_________________
gentoo sex is updatedb; locate; talk; date; cd; strip; look; touch; finger; unzip; uptime; gawk; head; emerge --oneshot condom; mount; fsck; gasp; more; yes; yes; yes; more; umount; emerge -C condom; make clean; sleep
Back to top
View user's profile Send private message
frohman
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2004
Posts: 94
Location: Boston, MA, USA

PostPosted: Fri Jul 23, 2004 1:01 am    Post subject: Reply with quote

Thanks. Everything is working now. (With the clock, that is.)
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