AICCU and British Summer Time (BST)
Shadow Hawkins on Thursday, 05 May 2011 17:32:45
Ever since England went into British Summer Time (BST) I've been having trouble getting AICCU to run. As one would expect I get the general inconsistent time zone error in the logs as shown below:
[qoute]authpriv.notice droThe clock is off by 3600 seconds, use NTP to sync it!
local7.err syslog: Couldn't retrieve first tunnel for the above reason, aborting[/qoute]
AICCU is running on my DD-WRT router and it's time is set by an ntp server is are correct, furthermore so is the time zone. It would appear that it's the other end that is wrong / isn't aware of BST. This can be illustrated by AICCU running successfully when I turn the daylight savings settings off on the router.
Anyone else having this issue? Anyone found a work around or is this something I should take to SixXS?
Obviously I don't want to keep my router at the wrong time or to keep spoofing the time just the get AICCU to run =(
TIA
Liam
AICCU and British Summer Time (BST)
Jeroen Massar on Thursday, 05 May 2011 18:47:27
can you do as quickly as possible behind each other:
date +%s
date -u
date
That will show how 'correct' your clock is.
The various WRTs are notoriously bad with respect to timezones, and generally you want to just set them to GMT. The trick is to do it everywhere though and that might just well be the problem with your setup, if the correct flag or file (/etc/localtime generally) is not there it will get messed up.
You also might want to check The timecheck though that only works for the one where your browser is on of course.
One thing for sure though is that this is a problem on your end, otherwise we would have over 10.000 complaining folks...
AICCU and British Summer Time (BST)
Shadow Hawkins on Thursday, 05 May 2011 20:20:21
You're right... The stupid thing was changing what it thinks UTC is by the DST offset. Idiotic. See below:
:~# date +%s; date -u; date
1304621553
Thu May 5 18:52:33 UTC 2011
Thu May 5 18:52:33 UTC 2011
There seems to be a work around but I think living in GMT is the better option for now.
Thanks for your help.
AICCU and British Summer Time (BST)
Jeroen Massar on Thursday, 05 May 2011 21:30:40
The fun of WRT :)
Indeed GMT is the timezone to live in in this case...
I've encountered it several times and always just gave up on figuring out why the timezone settings did not take effect, it seems that only the UI was able to figure out what the real value is. My assumption is that the variable for the timezone simply is not honored by the libc that is included, which might make sense for space reasons.
Posting is only allowed when you are logged in. |