Automatically change SSID & Pre-Shared Key On DD-WRT Routers

I wanted to be able to automatically change either the SSID or Pre-Shared Key of my Wireless Access Point, so I googled around, found some examples and made my changes.

One of the biggest additions to my code is that it displays a webpage that provides a user with the new SSID & Pre-Shared Key as well as a QR-Code of the PSK, which you can use on IOS devices (which don’t support QR-Codes for Wifi configuration) and a QR-Code for devices, like Android, that will configure and connect your device.

This pages is found in http://{ip address of your router}/user/wifi.html

I use a $58 Android phone with the web browser to display this information to visitors. I also created a webpage shortcut on my iPhone that calls this page and displays the current Pre-Shared Key which I use to tell visitors.

Copy & Paste the code below into the file /opt/home/set_passphrase/

Make it executable and run it from within Putty.

The SSID is QRcode_aug12
The PSK is Daily_aug12

IOS (Apple) devices must manually enter the above information, If your IOS device has a QR Code reader, you can scan this QR Code and PASTE the resulting text into the password field on your device.

ANDROID devices can enter all the Wireless information and connect you automatically using the following QR Code

Posted in Uncategorized | Comments Off

Linksys E1200 Router, Vulnerable.

Here is some interesting news.

The US-CERT released the information about the UPnP library being vulnerable to multiple buffer overflow due to some types of SSDP requests that can be sent to the router remotely (can be from both LAN or WAN) to exploit the device.  To keep your router protected, it is recommended that you disable its UPnP setting.


Posted in Uncategorized | Comments Off

Running Calibre Content Server on Raspberry Pi.

You should run Calibre on a Windows PC when you want to connect your eReader using a USB connection, but if you would like to connect to your Calibre Library over the Internet, you can run the Content Server on your low-powered Raspberry Pi.

It’s really quite simple, once you have the basic Raspbian OS installed on your Pi, simply SSH into the Pi and execute the following command.

sudo apt-get update && sudo apt-get install calibre

You can use a Windows application like WinSCP to connect to your Pi to create a folder and transfer your Calibre Library to your Pi, then just run …

calibre-server –with-library=/home/pi/calibre –daemonize

to run Calibre and point it to the folder you created.

Everything should be up and running, done!

You can use your webbrowser to connect to the content server or configure your eReader to connect to you Pi to see your library…


Posted in Uncategorized | Comments Off