Installing OpenWRT on Asus RT-N16 wireless router

Installing OpenWRT on Asus RT-N16 wireless router

Installing OpenWRT on Asus RT-N16 wireless router

1 Comment on Installing OpenWRT on Asus RT-N16 wireless router

Since my Raspberry Pi is up and running now, I needed some networks to hack. There is some legal issues when trying this out on random networks. To avoid any of these issues,  I got myself a new router, by doing this I could try out as many different wireless configurations as i wanted to and see the results right away on my Pi.  I borrowed this router from my school, and it seems that the previous users of this router has made this into some sort of file server. It seemed as if there was no way to contact the configuration interface of the router, and it even had a default ip address of

So now we are installing OpenWRT on the Asus RT-N16 wireless router becaue it’s possible and a good operating system.  OpenWRT is a nice aftermarket firmware, it supports a lot of different routers. (you can find more here.)

Installing OpenWRT is pretty simple in this case. The installation varies a bit between devices, but it should work well on a Asus RT-N16 router.  The following commans are all Linux commands. The program I am using is called tftp and can be installed with sudo apt-get install tftp.

1: We find the image needed to flash the router, this can be found here, you are looking for a file called : openwrt-brcm47xx-squashfs.trx, copy it into the home folder, or use cd to get into the download folder.

2:  Turn the router off. (pull the plug)

3: You also need to clear the NvRam. this is done by holding the red “WPS” button down for 10 seconds, the router will restart, wait about 1-2 minutes, then unplug the router again.

4:  Now press and hold the reset button for about 5 seconds when you have plugged in the power plug again. This will put the router into listening mode.


Now the router is ready to be flashed with a new image. Enter the command:

ifconfig eth0

ifconfig eth0 static

this will force your ip to be the same range as the router. (it should have the ip of

try pinging the router to see if there is any response:

ping from router recovery mode

This is what it looks like if everything has worked out for you. Lets flash the image. Using tftp

There we go, the image should now be flashed and ready to be used. If you have any problems, you can always use one of the original firmwares that comes with the Asus router. This is sometimes easier than using the TFTP method.

Martin Jørgensen

Martin Jørgensen

Got my degree from EAL in 2012 as an IT-Technologist with specialty in network. I enjoy living in a century where I can earn a living doing my hobby. Material I publish here are often part of my small projects.
Martin Jørgensen

Latest posts by Martin Jørgensen (see all)

Related Posts

Back to Top