Trying to set system's clock to local time; where is tzconfig gone?
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Trying to set system's clock to local time; where is tzconfig gone?
Hi people, I reinstalled Debian last week, and as usual, during the installation I set my time to America/Caracas (it was a networkless install with the first debian etch dvd, since I'm on a wireless network). Then, when I booted debian, my time was 4 hours earlier (Caracas is -4 hours from GMT), so I ran tzconfig attempting to set the time to the hardware clock, but, by mistake, I selected UTC instead of UCT. Now, everytime I reboot, the system's time is 4 hours earlier (it is ok in windows and ubuntu). So, I tried running tzconfig to set the time properly, but I get 'command not found' when trying to run it, so where is it gone? (guess I lost it with a dist-upgrade to lenny/sid, but how to set my time to the hardware clock now?).
Oh, and something that might be related, when I invoke 'hwclock --show', I get the following message (translated from spanish): 'The execution of select() to /dev/rtc to wait for a clock signal timed out' (I see a similar message when turning debian off).
So, what am I missing here? (it's getting very annoying seting up the time every time a boot into debian).
Hi HappyTux, well, there's something weird here: when I was gonna edit /etc/default/rcS, the time was already set to 'UTC=no', so I guess I might have changed it some time in some other way and don't remember now. I changed it to 'UCT=yes' and rebooted to test if the system's time was set to the hardware clock, but I'm still 4 hours earlier when I reboot. Any clues?
Sorry, I forgot to say this in my previous post, my /etc/timezone file is set to America/Caracas:
Code:
cat /etc/timezone
America/Caracas
I'm really confused here. I even try going to 'System>Administration>Date and time' (in Gnome), setting the timezone to America/Caracas and still it's always 4 hours earlier when I reboot (no matter if I choose to synchronize to a NTP server or not).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.