1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Disable WiFi on startup

Discussion in 'Tomato Firmware' started by xicu, Sep 14, 2008.

  1. xicu

    xicu LI Guru Member

    Hi all,

    Is it possible to disable the WiFi on startup, so I can enable it later with the front button. I am using a Linksys WRT54GL with Tomato 1.21.

    Thanks,

    xicu
     
  2. danix71

    danix71 LI Guru Member

    In the ''basic'' settings you have in Tomato an option ''enable wireless''. Unclick it then reboot.
     
  3. xicu

    xicu LI Guru Member

    Sorry, but if I do that then the wireless won't get enabled with the front button.


    xicu
     
  4. kevanj

    kevanj LI Guru Member

    You could try downing the eth1 interface using an ifconfig eth1 down command in the Init scripts. I don't know if this will allow you to retart eth1 'on demand' using the button though...
     
  5. xicu

    xicu LI Guru Member

    Added to Administration -> Scripts -> Init, but for some reason it's not working (the wireless keeps enabled).
     
  6. kevanj

    kevanj LI Guru Member

    you have any other scripts in there? If not put a line with sleep 5 in before the ifconfig.

    you can test the ifconfig command by logging in via telnet or SSH and running it from there...does the eth1 interface go down (wireless turn off?)
     
  7. danix71

    danix71 LI Guru Member


    Did you try it?
    First try! and then...we will talk. (when you will push the front button, will enable wireless-100% certain)
     
  8. xicu

    xicu LI Guru Member

    I got it! I just needed to add the "sleep 5" before the "ifconfig eth1 down" line :)

    Thanks all!
     

Share This Page