You are not logged in.
Pages: 1
So I'm having some time issues...
It is currently 10:33:00PM GMT+10 and the time displays incorrectly as seen below.
The return of the 'date' command:
Sun Nov 30 02:32:24 PST 2008
Settings in rc.conf:
LOCALE="en_AU.utf8"
HARDWARECLOCK="UTC"
USEDIRECTISA="no"
TIMEZONE="Hobart/Australia"
Please help, it's driving me mad...
Last edited by slipper (2008-11-30 20:47:41)
Offline
.. Then just .. manually set the time via `date` (or am I missing something?). Also consider using NTP.
Offline
I've tried ntp, the time doesn't change.
I did manually set the time beforehand however it was still stuck on 'PST'.
Offline
Offline
Is the time in your BIOS correct?
Yes it is set correctly.
Offline
TIMEZONE="Hobart/Australia"
Try "Australia/Hobart"
Offline
I would suggest installing "openntpd" ... Solved my time issues in no time
Offline
I've tried ntp, the time doesn't change.
I did manually set the time beforehand however it was still stuck on 'PST'.
1. ntp won't fix large offsets, you have to do that with ntpdate. (Or use openntpd instead, imo it's a lot better)
2. If you just changed rc.conf but haven't rebooted, then nothing will change. To set the timezone manually, cp /usr/share/zoneinfo/foo/bar /etc/localtime
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
I did not take the time to look into it on some systems here either, so I added to /etc/rc.local
ln -sf ../usr/share/zoneinfo/EST /etc/localtime
Offline
slipper wrote:TIMEZONE="Hobart/Australia"
Try "Australia/Hobart"
Argh, I can't believe I got this messed up, thankyou!.
Also thankyou for the advice on using openntpd.
Offline
Is the time in your BIOS correct?
Just to clarify:
When you set your system to use UTC time, the time in your bios should be in UTC time. When the system starts, it gets the UTC time from the BIOS and adjusts + or - according to your time zone; when you shutdown the opposite happens. For example my system is set to UTC time with America/New_York as my time zone which means -5 GMT. So if the hardware clock is set to 08:00, the system would boot up, read it and subtract five hours giving me 03:00 (the correct time). If you were to use localtime both the system and the hardware clock use the same time. This is only useful on dual boot systems with Windows because it only uses localtime and will mess up a linux UTC configured system. Otherwise UTC is superior because time stamps of a constant UTC time can be used and understood by other machines around the world in different time zones.
Last edited by T-Dawg (2008-12-01 01:54:52)
Offline
Pages: 1