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

restart wlan

Discussion in 'Tomato Firmware' started by mcspider, Nov 22, 2007.

  1. mcspider

    mcspider LI Guru Member


    I am new to this forum and have a question concerning the tomato firmware. I want to write a script for the SES button to switch between access point and accesspoint+wds by pushing the SES button.

    I can change the wireless mode settings using
    nvram set wl_mode = ap
    nvram set wl0_mode = ap


    nvram set wl_mode = ap+wds
    nvram set wl0_mode = ap+wds

    respectively. But how can I restart the wlan services without rebooting the router.
    I am interested in the commands that are executed, if I do manual switching in the GUI and press the save button.

    It would be great if anybody could help me.

  2. mcspider

    mcspider LI Guru Member

    Does really nobody has any idea, which shell commands have to be executed to restart the wlan services?

    greets mcspider
  3. mstombs

    mstombs Network Guru Member

    I think the commands you want are

    wl down
    wl up
    Type "wl" for a list of options, description over at dd-wrt wiki

Share This Page