Script to enable wireless if disabled

Discussion in 'Tomato Firmware' started by F157, Jul 27, 2009.

  1. F157

    F157 LI Guru Member


    I'm remotely managing a router for my parents with tomato 1.25. I have a problem with wireless disabling itself spontaneously just like

    I will be able to reset and reconfigure everything in a few weeks, but until then I'm looking for a way to let the router check via script if wireless is enabled and if not, to enable it.

    Is this possible in an easy way and remotely?

    Thanks in advance
  2. landa

    landa LI Guru Member

    What do you have selected on Administration -> Buttons?

    SES/AOSS Button

    When Pushed For...
    0-2 Seconds Do Nothing

    I had the same problems. I fixed it changing this setting.
  3. F157

    F157 LI Guru Member

    Thanks for the hint, this is weird: it says "Toggle Wireless"...
    Could that be the root for the spontaneous wireless changes?

    But I never touch any of those buttons... and, I have another router, same hardware, same tomato version where wireless is enabled since ages and it never gets disabled... there's also "Toggle Wireless" configured for button 0-2 sec...
  4. fyellin

    fyellin LI Guru Member

    If the router is someplace where it could be accidentally prodded, poked, or moved, then yes, this could be the problem. Does a cleaning lady have to move the router to dust up underneath it? Pushing a button accidentally is surprisingly easy.

    To answer your original question. You should set up the router so that you can either ssh to it from outside or such that you can reach it via OpenVPN. Make sure you have a really good password, (or use the PKI based login). You can then access your router GUI via the WAN, and make any changes you need.

    I emphasize >>a good password<< and maybe move ssh to some non-standard port like 2222.
  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