Other Help Topics :: ntp time server select ?



For others who might be reading this thread, all of the supported locations are in /usr/share/zoneinfo. If your particular location is not supported then...

1. Make a working directory
   mkdir tzdata
2. Change to it
   cd tzdata
3.  Get the latest zoneinfo data files
   wget ftp://elsie.nci.nih.gov/pub/tzdata2007k.tar.gz
4.  Unpack it
    tar -zxvf tzdata2007k.tar.gz
5. Find your major area
   ls -l
6. Compile for your location, eg, asia
   zic -d zoneinfo asia
7. Find your specific area
   ls -l zoneinfo
8  Copy the newly created zoneinfo file, e.g.,
   sudo zoneinfo/Asia/Saigon /usr/share/zoneinfo/Asia/.

   or to /etc/localtime


HTH

Well if it does point to the one in opt, imo that's probably the best one to choose (along with bootlocal, etc.)
I tried this in dsl-3.4.11:
Code Sample
$ sudo mkdir /tmp/tzdata
$ sudo chown dsl /tmp/tzdata
$ sudo chgrp staff /tmp/tzdata
$ cd /tmp/tzdata
$ tar -zxvf tzdata2007k.tar.gz
$ zic -d zoneinfo asia
$ sudo cp zoneinfo/Asia/Dubai /usr/share/zoneinfo/Asia/
$ sudo rm /etc/localtime
$ sudo cp zoneinfo/Asia/Dubai /etc/localtime
$ sudo gettime.lua
Requesting time from: time-nw.nist.gov
Mon Mar  3 14:06:10 UTC 2008


The UTC is correct but the time in the menu bar thing is not updated??

Normally gettime.lua as well as setting localtime is done during the boot process and not from within X-windows.

If one runs the process from within X then restart your window manager to see the results of time in your taskbar.

zdump on dsl always seems to give me the wrong time for any location I try, whether listed in /usr/share/zoneinfo or not?  Unless I'm missing something.

This is one reason I wrote my citytime thing.

Next Page...
original here.