Configuring the SES LED button

Discussion in 'Tomato Firmware' started by aeonone, Jan 8, 2007.

  1. aeonone

    aeonone Network Guru Member

    Is there any script or way to make it so that when there is at least one wireless connection, the led is turned on?
  2. Reiper

    Reiper LI Guru Member

    There is this one written for HyperWRT so I'm not sure if it will work with Tomato...

    Amber when a wireless client is connected, white when there's data being transferred wirelessly:

    I=`nvram get wl0_ifname`
    while sleep 1; do
    if [ "`wl assoclist`" != "" ]; then
    XFER=`ifconfig $I|grep bytes`
    if [ "$XFER" != "$PXFER" ]; then
    LED="am on wh on"
    LED="am on wh of"
    LED="am of wh of"
    if [ "$LED" != "$PLED" ]; then
    led $LED
  3. aeonone

    aeonone Network Guru Member

    Thanks! Which section of the router is this for? NVRAM?
  4. Reiper

    Reiper LI Guru Member

    My guess would be Administration/Scripts/Init? Someone else that is more familiar with scripts may know better...
  5. digitalgeek

    digitalgeek Network Guru Member

    When I ran Thibor I tried this script and it worked quite well on my GS router (my G does not have an ses button/light)... it actually blinked white with traffic.

    I put it in the startup(init) script.
  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