Time zone


Forum: Other Help Topics
Topic: Time zone
started by: colinbes

Posted by colinbes on May 25 2004,22:22
Can someone please explain how and where I can set timezone info on DSL (I require persistant change)?

Thanks

Posted by paddanx on May 26 2004,18:09
Well there is a link in the menu -> system -> TimeZone...

But i cant det the damn thing to change it...

Posted by colinbes on May 26 2004,18:48
Correct there is a link but it gets stuck in an endless loop (mentioned in another thread somewhere).

In my case, our application is standalone (unmanned) and I need to force timezone info. I have found setting the TZ environment variable works fine.

All I need now do is figure out how to set hwclock (not via bios).

Cheers

Posted by roberts on May 27 2004,01:28
Use date command to set time.
Use hwclock --systohc  to set the hardware clock.

Posted by colinbes on May 27 2004,12:02
I did raise another thread (under HowTo's) regarding this. When I execute hwclock --systohc I get a a error regardng read-only file system.

I am running from a CF which is essentially a copy of the livecd and has something to do with time adjust file under /etc but am not sure why this file comes into play for systohc.

Any ideas?

Posted by roberts on May 28 2004,13:59
I am using that command on a frugally installed CF with no problems.
Posted by colinbes on June 02 2004,20:03
Interesting I will need to check why as I am also running off a frugal_instal CF card. Although I did have to modify the script to do what I wanted.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.