timezone


Forum: Other Help Topics
Topic: timezone
started by: diletant

Posted by diletant on Mar. 07 2005,08:05
How to setup timezone in DSL?
Posted by diletant on Mar. 09 2005,04:58
It's insane that I am replying to my own question, even more insane that everybody seems to be happy with Eastern Timezone, that is softcoded into knoppix initiallization script, so every time you boot, you are on the East Coast.

Developers, are you aware of that?
Is it fixed in the latest beta?

Posted by cbagger01 on Mar. 09 2005,05:43
Hmm...

Sounds like a tweak to the script that creates a small file for timezone in /opt could do the trick

In the meantime, can you backup your symlink with the backup / restore function?

I live in the Eastern Timezone so it is not an issue for me.

Posted by roberts on Mar. 11 2005,00:12
Actually the timezone stuff shoud be working for US zones.
If you don't do anything the default is EST and setting your BIOS to local time is OK for most uses.

Now, if you want to try setting your timezone, must be in US, the others were cut for space reasons. Try this at the first boot prompt:

dsl tz=US/Pacific

This will set the timezone to PST8PDT with an offset based on EST.

or use this

dsl tz=US/Pacific utc

Then the offest will be based on the hardware, BIOS, clock set to UTC time.

You can easily add these boot options during the execution mkmydsl script, so that your "custom" cd won't require typing them in everytime.

Also useful is the date command to set the system time

# date mmddhhmm      (see date --help for all the options )

and then update the hardware clock with this command

# hwclock --systohc

Doing this you won't have to figure out the offsets.

You can query the hardware clock with this command:

#hwclock --show

To see the US zones that are supported take a peek at:

ls -l /usr/share/zoneinfo/US


The choice is yours on what time is to be store in the BIOS hardware clock.

Posted by joer on Mar. 11 2005,07:24
bookmark - this should be in the docs.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.