Bug: "Auto Daylight Savings Time" not working

Discussion in 'Tomato Firmware' started by rs232, Mar 26, 2012.

  1. rs232

    rs232 Network Guru Member

    I have NTP enabled and the "Auto Daylight Savings Time" set on the latest version of Toastman.
    This yesterday morning it should have moved forward by 1 hour but it didn't!

    Anybody else have experienced the same problem?
  2. Badders44

    Badders44 LI Guru Member

    Same here on Shibby's latest build.
  3. Dark_Shadow

    Dark_Shadow LI Guru Member

    On the TomatoUSB forum.

    lordico likes this.
  4. Badders44

    Badders44 LI Guru Member

    Setting the Custom TZ string works. Thanks Dark_Shadow.
  5. rs232

    rs232 Network Guru Member

    Thanks the TZ string worked for me too.

    BTW why did this year the -Daylight Savings Time- kick in on the 24th? Isn't the 31st the last Saturday of the month?
  6. kthaddock

    kthaddock Network Guru Member

    There is no sunday in 5:th week, DST change on 25:th 02:00 to 03:00
  7. mstombs

    mstombs Network Guru Member

    Clocks change on the Sunday am, this system library bug must be very old (at least 10 years) but only shows up when the first of the next month happens on the next Sunday in a leap year.
  8. rs232

    rs232 Network Guru Member

    You always learn something :)
    Thanks guys
  9. Badders44

    Badders44 LI Guru Member

    If a patch has been produced, how would it get integrated into the next Tomato builds? It doesn't seem the Tomato way to just acknowledge the fact there's a problem with a solution and do nothing. After all, we all want Tomato to be the best router firmware out there :) I assume this issue will continue to affect people until Daylight Saving is over - so quite a few months.
  10. Toastman

    Toastman Super Moderator Staff Member Member

    Simply, modders will be reading this and will probably incorporate it into their next builds.
  11. rhdcheme

    rhdcheme Addicted to LI Member

    Excuse me for my ignorance, but why is NTP on the router itself important? COuldn't one just use the time on the client device? Does the time setting on the router itself make any difference in terms of connections or other functions outside/inside the network?
  12. Badders44

    Badders44 LI Guru Member

    Not around the network but for syslog within the router maybe. Also, if it's bothering to show the time then it should be correct.
  13. koitsu

    koitsu Network Guru Member

    It doesn't impact network I/O, but it does impact logging functions, as well as some software (depending on what you're using your Tomato-based router for; e.g. Dovecot will completely freak out in the case the clock skews too much). None of these routers contain an RTC + battery, thus they have no concept of what the present time is -- they can keep track of time but they have no starting point/frame of reference. If the router is unplugged or rebooted it loses any knowledge it has of what the present time is, cycling back to the epoch (value 0, which is December 31st 1969, 23:59:59). Use of NTP fixes that (clock gets sync'd from a remote source on init script start-up).

    So is it important for actual functionality? The answer is "it depends on what you use your router for". I consider it extremely important to have a working/reliable clock on any system, thus NTP is very important to me.
  14. lordico

    lordico Serious Server Member

    I am a complete noob when it comes to this, so could you please explain in plain English what you just said here (and what most of the people understood) for someone like me? I have the same problem and the time has not changed yet... Thanks a lot!
  15. rs232

    rs232 Network Guru Member

    In a nutshell go to the NTC config and select "custom" in the timezone.
    In the field add (supposed you're inGMT0):
    save and you're good to go.
    Once you'll upgrade the firmware to a future that includes the patch as per above you can roll back the config as it was before.

    Dark_Shadow likes this.
  16. lordico

    lordico Serious Server Member

    Thanks for answering! I figured it out, the custom string was already written, needed to just change that value from 5 to 4... Thanks again, it worked like a charm :)
  17. Elbart

    Elbart LI Guru Member

    Better change it back on April 1st or until March 2013, because next year the day of the DST-change is the fifth sunday (31st), not the fourth (24th).
  18. mstombs

    mstombs Network Guru Member

    I noticed the problem because of complaints - have access restriction and wireless on/off based on times...
  19. Elbart

    Elbart LI Guru Member

    Bump, just a reminder for you guys to change it back today. :)
  20. mstombs

    mstombs Network Guru Member

    And 28 years to fix the toolchain before the UK April timechange fails again, but could hit in October 2020, assuming rules stay the same. There's always talk of changing to be on European 'double summer time' and/or not changing - (Russia recently abandoned DST). Never understood why farmer's have to listen to 6am news before going out into the fields, nor why Scottish schools can't change their start-times to avoid kids walking to school in dark...

    But no need to worry about the April bug because it next hits after the 32 bit unix timestamp rollover:-

    Year 2038 problem
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice