How to change the Timezone
Miroslaw Dach
miroslaw.dach at psi.ch
Tue Jul 10 00:34:35 PDT 2007
Thank you for all the hints. Below I enclose steps I did and what works
for me:
All is described here in great details:
http://www.linux-watch.com/news/NS6300294422.html
The steps I did are described below:
1. Download the tar file which contains the configurations data of every
time zone (the name can change with time tzdata2007f.tar.gz so
maybe it is better first to see what the server contains )
wget ftp://elsie.nci.nih.gov/pub/tzdata2007f.tar.gz
2. Untar the package
tar zxvf tzdata2007f.tar.gz
3. Compile the config data for certain area. The compiled files will be
stored in the directory after -d option (in my case zoneinfo1). Launch
zic compiler on the host computer.
/usr/sbin/zic -d zoneinfo1 europe
4. Install the time zone data on the remote computer
cp zoneinfo1/CET /etc/.
ln -s /etc/CET /etc/localtime
Best Regards
Mirek
On Mon, 9 Jul 2007, Mike Frysinger wrote:
> On Monday 09 July 2007, Miroslaw Dach wrote:
> > Thank you for the suggestion. I use glibc. I have copied across
> > the zoneinfo directory contents ie. (iso3166.tab and zone.tab) under
> > /etc/timezone. I have setup the time zone according to the file zone.tab
> > TZ=Europe/Zurich
> >
> > Next I have started the ntpd but I still see the time difference of 2 hours
> > (ie, UTC time instead of the new time zone).
>
> considering this isnt a busybox issue, perhaps you should go ask on a glibc
> list or read the glibc manual
> -mike
>
--
=============================================================================
Miroslaw Dach (Miroslaw.Dach at psi.ch) - SLS/Controls Group
PSI - Paul Scherrer Institut CH-5232 Villigen
=============================================================================
More information about the busybox
mailing list