Ubuntu DST Changes

This year marks the start of the new Daylight Savings Time standards set in place by congress. Everyone seems to be scrambling around to get every PC, router, switch, phone, and any other piece of hardware that keeps time updated.

Below are the instructions on how to accomplish this on Ubuntu.

Open up a terminal window or go to tty1 and enter the following command:
Code:
sudo zdump -v /etc/localtime | grep 2007


Youll see 4 lines being returned, if they match the lines below than youre ok:
Code:

/etc/localtime Sun Mar 11 07:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 CST isdst=0 gmtoff=-21600
/etc/localtime Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 CDT isdst=1 gmtoff=-18000
/etc/localtime Sun Nov 4 06:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 CDT isdst=1 gmtoff=-18000
/etc/localtime Sun Nov 4 07:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 CST isdst=0 gmtoff=-21600


If your lines dont match then youll need to following the following steps:
1. Open up terminal or switch to tty1(youll need to login)
2. cd /tmp
3. ftp elsie.nci.nih.gov
user: anonymous
pass: you_(at)_you.com --Substitute the _(at)_ for @
4. cd pub
5. ls
6. use 'get' to get the latest tzdata file like so:
get tzdata2007a.tar.gz
7. quit
8. mkdir tzdata
9. mv tzdata*.gz tzdata/.
10. cd tzdata
11. tar xzvf *.gz
12. sudo cp /etc/localtime /etc/localtime.LAST
13. sudo rm /etc/localtime
14. sudo zic northamerica
15. sudo ln -s /usr/share/zoneinfo/EST5EDT /etc/localtime
16. sudo zdump -v /etc/localtime | grep 2007

You should now show the correct lines from above.

Info from: Ubuntu Forums

Submit to RedditSubmit to Reddit Submit to Del.icio.usSubmit to Del.icio.us Submit to SlashdotSubmit to Slashdot


Comments


Be the first to post a comment!

Add a Comment
Copyright © 2005 - 2010 Fast Track Sites