newbie SES led script question

Discussion in 'Tomato Firmware' started by katamara, May 2, 2008.

  1. katamara

    katamara Guest

    OK, I'm a newbie to Tomato and really dont know much about scripts. I've done some searching but havent found exactly what I'm looking for, I'm hoping someone more knowledgeable than myself can help me.

    Script I'm looking for:

    Wireless off SES LED off
    Wireless on w/ no wireless connections SES LED white
    Wireless on w/ wireless connections SES LED amber
    SES button toggles wireless on/off

  2. apillowofclouds

    apillowofclouds Addicted to LI Member

    That sounds cool, anyone know how to do it?
  3. jestermiami

    jestermiami Addicted to LI Member

    Here is a script i use.. i cant remember where i found it or who made it but it does work--
    I=`nvram get wl0_ifname`
    while sleep 1; do
    if [ "`wl assoclist`" != "" ]; then
    XFER=`ifconfig $I|grep bytes`
    if [ "$XFER" != "$PXFER" ]; then
    LED="amber on white on"
    LED="amber on white off"
    LED="amber off white off"
    if [ "$LED" != "$PLED" ]; then
    led $LED
  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