Oct 222012
 

This time a client requested the ability to change the wireless network key of several dd-wrt Linksys WRT54GL routers at once.

Linksys WRT54G – CC BY-SA 3.0Wiki Commons

To simplify the process I wrote a small bash script that changes the WPA key of a given AP using only the web interface. This means no additional service (like SSH or Telnet) have to be enabled!

In the backend it uses curl to submit a specially crafted HTTP POST request to the router that applies the new key.

You can download change_wpa_key.sh under the WTFPL licence.

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)