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

SES LED script problems

Discussion in 'Tomato Firmware' started by azjerry, May 27, 2008.

  1. azjerry

    azjerry Addicted to LI Member

    I installed a script that lights the SES LED either amber or white if the wireless connection is up/active. IT worked well for a week or two but now is constantly on, usually white and amber, occasionally amber only. Nothing unusual in the device list or the logs as far as I can tell. This is with Tomato 1.19 on a WRT54GL V1.1. Any suggestions on what's happening?
  2. jestermiami

    jestermiami Addicted to LI Member

    the script i use its..
    amber when a wireless client is connected.
    white with wireless activity
    off when nothing is connected wirelessly
    it seems to be still working fine
  3. azjerry

    azjerry Addicted to LI Member

    Think I figured it out. My son's Wii is always connected and, apparently, always checking the internet for updates and email and such. Why the LED wasn't on when I initially added the script I don't know. Maybe that was before we got the wireless key into Wii.

    Too bad, kind of makes the script pointless in my case.
  4. danix71

    danix71 LI Guru Member

    Just curiosity, 'cause I tried the script myself. How high it's loading the CPU (with the script ON obvious)?
  5. azjerry

    azjerry Addicted to LI Member

    Between 7.5 and 8.5
  6. danix71

    danix71 LI Guru Member

    So, a lot! Thanks. Without the script, my number is below 1.0, with the script between 3 and 4. Big difference!
  7. azjerry

    azjerry Addicted to LI Member

    So what is unit of the measure and/or the range?
  8. danix71

    danix71 LI Guru Member

    I think it's the loading of the CPU...and as I've wrote, it's kinda' of relative.
    Without script: <1.0
    With script (me): 3.0-4.0
    With script (you): 7.5-8.5
  9. Low-WRT

    Low-WRT LI Guru Member

    You can modify the script to ignore the Wii.
    Also that script checks the WLAN every second, which is why the load is so high.

    I, with the help of others, modified the script--if you are interested.
    It's amber when no wireless connections are present, white when they are (it doesn't show activity), and it ignores a second router in client bridge mode:

    sleep 2
    while sleep 20; do
    minusbridge=$(wl assoclist | grep -v aa:bb:cc:dd:ee:ff)
    if [ -n "$minusbridge" ] ; then
    led amber off white on
    led amber on white off
    Substitute your Wii mac address.
    Hope that helps.
  10. azjerry

    azjerry Addicted to LI Member

    Interesting, I reset my router and now the load is running around 0.1 - 0.2
  11. danix71

    danix71 LI Guru Member

    How could this be moddified to show on a WRT54GL (bridge) that a internet connection exists and then a white SES light to be shown?

Share This Page