Router Boot after Electrical Failure

Discussion in 'Tomato Firmware' started by Bill_S, Mar 16, 2013.

  1. Bill_S

    Bill_S Network Guru Member

    I live in an area that has frequent power failures and when that happens, my DSL modem and my separate router along with all my WiFi AP’s go down. When the power returns all the devices restart simultaneously and that creates a problem. The modem needs to obtain the DSL signal and then the router needs to authenticate the PPPoE log in.

    My problem is the router needs to allow enough time for the modem to obtain the DSL signal, prior to sending the log in, which it does not do. The router sends the log in before the modem is ready.

    I was wondering if the solution would be to adjust the Boot Wait Time in the Advanced/Miscellaneous setting of my Shibby/Tomato firmware running on my WRT54GSv4? Would this allow for the delay that I need for the modem to obtain the DSL signal? I noticed that there is a disclaimer stating that this setting may not work on some routers and that the maximum delay is only 20 seconds. Would setting the delay to 20 seconds work on the WRT54GSv4?

    Thanks for any advice you can provide.
  2. koitsu

    koitsu Network Guru Member

    The proper/correct solution is to buy a UPS and power your DSL modem and "separate router" with that -- even a small/cheap-end UPS would work (given the low power requirements of both devices).

    Solve the actual problem, don't try to hack your way around it.

    Besides, eventually that power loss (especially if it's similar to what we have in my area, which are short duration black-outs that recur at very short intervals (power goes out, then half a second later power comes back on, half a second later power goes back out, rinse lather repeat 4 or 5 times) is going to destroy/damage your equipment; get a UPS and kill two birds with one stone.
  3. jerrm

    jerrm Network Guru Member

    Allowing for proper start-up sequencing is not really a hack.

    A UPS definitely sounds necessary, but it is till just another form of band-aid, it will eventually fail.

    I've never used Tomato's pppoe client, but I'm surprised it doesn't have some sort of automatic retry loop.
  4. Bill_S

    Bill_S Network Guru Member

    If I had room and if the power came back after a reasonable period of time I would install a UPS. I guess I should have just asked the question without giving the details but I just want to know if this setting delays the routers start-up. Eventually the router does connect but it takes several hours and I just wanted to improve the process.
  5. Bill_S

    Bill_S Network Guru Member

    This issue is for my home in Brazil and I don't have room and the power can be off for many hours. I have, what Brazilians refer to as a establizador (voltage stabilizer) to protect the devices and that has provided protection for the past 10 years.
    I am trying to solve the problem.
  6. Toastman

    Toastman Super Moderator Staff Member Member

    I use UPS for all routers and AP's. Usually the cheapest ones for PC's work fine. But if power is off for some time, eventually the battery will run out so this isn't a cure-all.

    As Koitsu says, supply restarts after blackouts usually fail several times, often this coincides with the router writing to NVRAM and this often destroys config, causing the router to reset to with default settings. That means that DHCP starts issuing the wrong IP's, etc. (That's why DHCP is disabled by default in my builds).

    However, I don't understand what is happening there. Tomato merely keeps trying to connect, it shouldn't need any delay loop. The delay in misc. is not intended for this purpose. If it takes many hours to reconnect, there is some other problem that needs to be addressed. The logs should help.
  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