Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Driving me nuts #1, wrong timezone< Next Oldest | Next Newest >
lagerratrobe Offline





Group: Members
Posts: 50
Joined: Dec. 2005
Posted: Feb. 02 2006,22:14 QUOTE

Alright, before you tell me to RTFM, I did read the previous posts I could find in the forum, and I've read the man pages for date and hwclock. I've tried a few things, but to no avail, I still have a timezone mismatch on my laptop.

It is currently 2:00pm PST, but the test msg I just sent myself from Sylpheed says it was sent at 11:00am.  The date and time in the dsl panel is correct, and the date and time in Xshell are correct, but the timezone is set to EST.  I know how to reset the time using the "date" command, but evidently not how to set the correct timezone.

I have tried removing the /etc/localtime file and replacing it with a symbolic link to /usr/share/zoneinfo/Pacific, but the link is gone when I reboot, and doesn't seem to jelp while its in place.

Can somone help?

Thanks.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Feb. 02 2006,23:47 QUOTE

DSL Wiki Timezones
Back to top
Profile PM WEB 
lagerratrobe Offline





Group: Members
Posts: 50
Joined: Dec. 2005
Posted: Feb. 03 2006,04:22 QUOTE

Thanks Robert,

Adding the "dsl TZ=US/Pacific" to the boot line did the trick.

I didn't think to look in the WIKI, I'll go peruse that in a bit.
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Feb. 03 2006,05:23 QUOTE

RTFM



Just kidding :laugh:

Welcome to the revolution!
Back to top
Profile PM 
lagerratrobe Offline





Group: Members
Posts: 50
Joined: Dec. 2005
Posted: Feb. 03 2006,23:21 QUOTE

<grin>  I totally deserve that.  Also, I have to update my last posting and say that the time only stayed put until my next reboot.  Afterwards my timezone was correct, but I was still getting an offest calculated in my system date.  Since my hardware clock was coorect, I ended up adding
Code Sample
hwclock --systohc
to my /opt/bootlocal.sh file.  Works like a charm, even though in my eyes it isn't the most elegant solution in the world.
Back to top
Profile PM 
7 replies since Feb. 02 2006,22:14 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Driving me nuts #1

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code