Turn off light on DD-WRT

2008/01/27 by Lassi A. Liikkanen

How to turn off Cisco Systems light from a Linksys router running DD-WRT

This tip has been tested with DD-WRT v23ps2 (VPN) on a Linksys WRT54GL

By default, DD-WRT turns on Cisco Systems light upon startup. You can turn it off by pressing it several times, but you can also do a small startup script (see DD-WRT wiki on scripting) using NVRAM (internal storage medium).

First test the following commands using Administration | Commands | Commands or after logging into ssh/telnet administration (note that user name for shell login is always 'root' no matter if you change the web administration password):

 gpio enable 2
 gpio enable 3

The gpio command adjusts the lights, the logic is inversed so that enable is actually disable... but it works. Then create the script using first nvram command and then the two:

nvram set rc_startup='gpio enable 2
gpio enable 3
'

nvram command terminates normally with enter after inserting the double quote

Keywords: [computers] , [unix] Document's status: Ok (Document dates explained)

This document created: 2007/12/09
Modified: 2008/01/27
Published: 2007/12/09


This document's permanent URI (linking):
http://iki.fi/lassial/guides/computers/080127-Turn_off_light_on_DD-WRT

© Lassi A. Liikkanen 2007 - 2016. All rights reserved.

*Change layout:
Printable printable
Large text

Myydään:

@lassial Twitter feed: