SES LED Script Request

Discussion in 'Tomato Firmware' started by jmmjm, Oct 13, 2008.

  1. jmmjm

    jmmjm Addicted to LI Member

    Could someone please share the script that do the following?

    Wireless off SES LED off
    Wireless on w/ no wireless connections SES LED amber
    Wireless on w/ wireless connections SES LED white
    SES button toggles wireless on/off (This can be done in Tomato setting)

    Does Tomato has some settings to do it without writing self defined scripts?
    If not, could someone please post one for me?

    Thanks in advance.
  2. Rob650

    Rob650 Addicted to LI Member

  3. jmmjm

    jmmjm Addicted to LI Member

    err... thanks. I am a newbie, i don't understand that script, do i need to modify it to satisfy my need?


    sleep 5
    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