Installing OpenWRT firmware on Asus RT-N16 router

As a guideline i have used info from Aleksandr Kotiks intership project.

1. I have upgraded the firmware to DD-WRT due to the fact that i wasn’t able to upgrade directly to OpenWRT (don’t know why)

OPTIONAL (or required in some cases is to erase nvram) – mtd -r erase nvram

Link on how i did it: http://www.dd-wrt.com/wiki/index.php/Asus_RT-N16#How_to_restore_to_factory_firmware

2. I have installed the OpenWRT firmare using openwrt-brcm4716-
squashfs.trx – which Aleksandr recommended.

telnet 192.168.1.1

passwd (then input your password twice)

Now, the router is accesible via SSH

3. I have installed Luci (web interface) through SSH:

vi /etc/opkg.conf

– modify the first line (instead of brcm4716 its brcm47xx)

– add at the bottom

arch all 100

arch brcm4716 200

arch brcm47xx 300

opkg update

opkg install luci

It first didn’t work due to an incompatibilty of some packages in the firmware and i upgraded the the firmware to another and it ruined everything. The router was unable to boot so i had to install OpenWRT without any actually contact with the router. I followed the instructions from
http://moozing.wordpress.com/2010/12/20/installing-openwrt/  (thx Morten) and the router was back to life!!!

4. I have installed Luci again and upgraded some packages

opkg upgrade libuci uci libc opkg busybox base-files dnsmasq libiptc dropbear mtd wl libgcc ppp wlc

Enable and start it:

/etc/init.d/uhttpd enable
/etc/init.d/uhttpd start

Web interface is now up and running.

http://wiki.openwrt.org/doc/howto/luci.essentials

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

5 Responses to Installing OpenWRT firmware on Asus RT-N16 router

  1. Pingback: End of iteration 1 | Project Firewall 4

  2. TCB13 says:

    Did you get Ethernet and wireless working properly? Thank you.

  3. Kat.Ph says:

    I’m impressed, I must say. Rarely do I come across a blog that’s equally educative
    and engaging, and let me tell you, you have hit the nail
    on the head. The issue is something that not enough people are speaking intelligently about.
    I’m very happy that I stumbled across this during my search for something regarding this.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s