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

Additional security using "cisco" led ?

Discussion in 'DD-WRT Firmware' started by embrion, Nov 15, 2005.

  1. embrion

    embrion Network Guru Member

    Hi

    I'm wondering is it possible, to write such script:
    Cisco led (G v 3.1) is off and it turns on when someone access WRT54G WWW interface (for ex. 192.168.x.x)
     
  2. robmack

    robmack Network Guru Member

    Possible

    It may be possible to write such a script; maybe not the Cisco LED but the Power or DMZ LEDs are possible. Here is OpenWRT's documentation on the WRT54G LEDs:

    http://wiki.openwrt.org/wrtLEDCodes

    I haven't tried this so I'm not sure if /proc/sys/diag exists in DD-WRT but since it is partially based on OpenWRT, it might be available.
     
  3. pyrolithic

    pyrolithic Network Guru Member

    I'd love to see a script like that.. I know I'd used it!
     
  4. embrion

    embrion Network Guru Member

    Re: Possible

    Thx, I'll check it out.
     
  5. juanker

    juanker Network Guru Member

    Actually, dd-wrt has an embedded tool for "playing" with them: gpio
     
  6. robmack

    robmack Network Guru Member

    Oh, that's cool!! :) I saw the source code for gpio on the OpenWRT site but wasn't sure if the system calls were implemented in the DD-WRT kernel. gpio should make scripting easy. Is there documentation for the command anywhere (WRT wiki ?? :cry: )
     
  7. embrion

    embrion Network Guru Member

  8. juanker

    juanker Network Guru Member

    Are you sure? I also have a 3.1 with DD-WRT v23 (10/27/05) and I can perfectly enable/disable leds.
    Some examples:

    Turn on Orange Cisco Led: gpio disable 3
    Turn on DMZ led: gpio disable 7
    etc ...
     
  9. embrion

    embrion Network Guru Member

    It may be because I'm using v22.
    Tomorrow I'll install gpio manually and check everything one more time.
     
  10. Cyberian75

    Cyberian75 Network Guru Member

    Works for me as well.
     

Share This Page