Results 1 to 7 of 7

Thread: How can I disable radio?

  1. #1

    How can I disable radio?

    I didn't see an option to disable radio in Oleg's firmware 1.9.2.7-7g for wl500g. Am I overlooking something? I noticed a setting for EZSETUP Button "Use to turn off radio - Yes / No" Would this turn the EZSetup button into an on/off button for the radio?

    Thanks

  2. #2
    Where exactly do you see this option? I have the same firmware and can't find it.

    Alternatively, you can turn turn the radion on and off in Status and Logs -Wireless - Enable-Disable. Or, you can turn it off in Wireless-Advanced-Enable Radio (by days of the week).

    Quote Originally Posted by maradamc View Post
    I didn't see an option to disable radio in Oleg's firmware 1.9.2.7-7g for wl500g. Am I overlooking something? I noticed a setting for EZSETUP Button "Use to turn off radio - Yes / No" Would this turn the EZSetup button into an on/off button for the radio?

    Thanks

  3. #3
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    3,805
    to be able to use ez-setup button for something you should put a script you wish to be executed on pushing of this button in /usr/local/sbin/ez-setup . Search again, I think I have seen an example of such script somewhere on the forum. The command to be executed from script is
    PHP Code:
    wl radio [on|off

  4. #4
    we posted a script a few weeks ago,
    and it works fine.....

    go search for it

  5. #5

    ppp0e

    And i have atm proble with forceing pppoe to work - im getting same msg which ppl used to get with F version
    Crap x[

  6. #6

    Oops - brain fart

    Quote Originally Posted by al37919 View Post
    to be able to use ez-setup button for something you should put a script you wish to be executed on pushing of this button in /usr/local/sbin/ez-setup . Search again, I think I have seen an example of such script somewhere on the forum. The command to be executed from script is
    PHP Code:
    wl radio [on|off
    Sorry, my mistake. I loaded 3 different firmware (Sveasoft, DD-WRT, and Oleg's) that day trying to accomplish my goal (still not done). I think that option was in the DD-WRT firmware.

  7. #7

    How to disable the radio whenever possible

    Hi!
    I would like to add my 2 cents.
    I wanted to switch off the radio by using the ez-setup button.
    Here is how I approached the question.

    login (via telnet or ssh)
    create /usr/local/sbin/ez-setup :
    ----
    #!/bin/sh
    TIMEOUT=45
    if [ $(wl radio) = "0x0000" ]; then wl radio off; exit; fi
    wl radio on
    C=$TIMEOUT
    while [ $C -gt 0 ]; do
    printf "\x02" > /dev/gpio/out
    sleep 1
    printf "\x00" > /dev/gpio/out
    sleep 1
    if [ $(wl radio) = "0x0001" ]; then exit; fi
    if [ $(wl assoclist | wc -l) -gt 0 ]; then
    C=$TIMEOUT
    else
    C=$(($C-1))
    fi
    done
    wl radio off
    ----
    then
    chmod +x /usr/local/sbin/ez-setup
    echo "sleep 25; wl radio off" >> /usr/local/sbin/post-boot
    flashfs save && flashfs commit && flashfs enable && reboot

    After you turn on the WL500gp, the radio is switched off. To turn it on, you have to press the ez-setup button for a few seconds. The power led starts flashing (I could not control the air led that is always on, even if the radio is off, at least with the firmware version I am using). If within 90 seconds (2*45, but you can change this value) one client connects to the ssid the connection is maintained otherwise the radio is turned off again.
    As long as at least one client is connected, the radio is kept on.
    After all clients are disconnected the radio is turned off again.
    If you have comments or suggestions, feel free to open a discussion.
    Cheers,
    Luca

Similar Threads

  1. Radio Power settings
    By gusto_nl in forum WL-500gP Tutorials
    Replies: 47
    Last Post: 06-11-2009, 10:42
  2. Replies: 1
    Last Post: 20-06-2007, 09:38
  3. Scripting or automatic disable Radio
    By airone in forum WL-500g Q&A
    Replies: 2
    Last Post: 15-12-2005, 15:39
  4. Disable radio
    By Marrik in forum WL-500g Q&A
    Replies: 8
    Last Post: 26-02-2005, 17:04
  5. The right way to disable radio (physical)
    By mamici in forum WL-500g Q&A
    Replies: 2
    Last Post: 04-11-2004, 15:41

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •