LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Daylight savings time (http://www.linuxquestions.org/questions/slackware-14/daylight-savings-time-378496/)

Jeebizz 10-30-2005 10:21 PM

Daylight savings time
 
Well October is almost over, and last night midnight the hour was supposed to change, on the windows side, it changed automatically, since it had the option to do so with the clock settings, but apparantly Linux did not, I had to manually change the hour back. I live in Dallas TX, but I could not find Dallas as part of the time zone, so I chose America/North_Dakota/Center, for CST. My question is, how do I make sure the settings under linux will change the next time the hours are changed again, during the upcoming spring?

MMYoung 10-31-2005 05:54 AM

When you was setting up Slackware there was an option to set the hardware clock to localtime or UTC. If you choose localtime the next screen allows you to select which timezone you are in which *should* adjust your clock automatically. At least it does for me.

Later,
MMYoung

rovitotv 10-31-2005 07:41 AM

Mine new 10.2 install changed OK for me.

BroX 10-31-2005 08:08 AM

I've always set up the time as local time but have never noticed that daylight saving time changed automatically.
Slack-current/Fluxbox-cvs/kernel 2.6.14

What am I missing?

doc.nice 11-01-2005 05:07 AM

have a look here...

http://www.tldp.org/HOWTO/Clock-2.html

setting to UTC will do the trick, but be aware of your windows clock ;)

BroX 11-01-2005 05:50 AM

Quote:

Originally posted by doc.nice
have a look here...

http://www.tldp.org/HOWTO/Clock-2.html

setting to UTC will do the trick, but be aware of your windows clock ;)

Thanks! I'll give that a try! No windows clock here! ;)
Another question: in your link above /etc/localtime is mentioned as a link to /usr/share/zoneinfo/<your-timezone>. But when I checked this file it is not a link but a binary? Is this different in Slack? Is the symlink somewhere else, or can I remove the binary and make it a symlink?

Cheers, Leon.

Nobber 11-01-2005 05:56 AM

Quote:

Originally posted by LJSBrokken
Another question: in your link above /etc/localtime is mentioned as a link to /usr/share/zoneinfo/<your-timezone>. But when I checked this file it is not a link but a binary? Is this different in Slack?
Yes: the file is copied rather than symlinked in Slackware. Don't know why.

Bruce Hill 11-02-2005 10:53 AM

I haven't set my clock to UTC, but to localtime, and it adjusted itself
for Daylight Savings Time. I am running Slackware -current with my
own custom 2.6.13.4 kernel. I also use Fluxbox, not KDE.

BroX 11-02-2005 10:55 AM

During the installation I choose the option localtime, but now I'd like to change it to UTC.

In Slack, where do I go for that?

Cheers, Leon.

gbonvehi 11-02-2005 11:04 AM

Using as root: /usr/sbin/timeconfig

Or using pkgtool under Setup, choose timeconfig and press Ok

BroX 11-02-2005 11:07 AM

Quote:

Originally posted by gbonvehi
Using as root: /usr/sbin/timeconfig
Thankx!

dkpw 11-02-2005 12:57 PM

Another way to ensure accurate time is to establish a cron job using NTP.

The command is simply:

Code:

/usr/sbin/ntpdate "your nearest ntp server"
Google for your nearest NTP server and set the cron job to run once a day. This method took care of the daylight savings change.

Regards,

dkpw

doc.nice 11-02-2005 01:45 PM

see http://ntp.isc.org/bin/view/Servers/WebHome for time server adresses

archtoad6 11-21-2005 08:08 PM

From Post # 1:
Quote:

... so I chose America/North_Dakota/Center, for CST
That may have been your mistake, it gripes me every time I have to use it, but Chicago is the generic CST choice.


All times are GMT -5. The time now is 06:54 PM.