The RT-N16 is now user supported, see here for installation instructions.
Please note that the broadcom gmac driver is not covered by a GPL compliant licence. Use of it in any way is done so at your own discretion.
See thread here for support discussion.
The TRX firmware image above "debwrt-firmware-brcm4716-3.3.7-squashfs-19052013.trx" is a re-pack of "debwrt-firmware-brcm4716-squashfs-09092012.trx", unpacked, modified and then re-packed using Firmware Mod Kit on Google code. Added features are as follows:
Added to the TRX:
- Modded /etc/preinit in the TRX to check if DEBWRT_ROOT/etc/init.d/rcS.firstboot exists, if yes then it copies across a new motd message with instructions and the installation script (installation script removes DEBWRT_ROOT/etc/init.d/rcS.firstboot upon completion). If DEBWRT_ROOT/etc/init.d/rcS.firstboot doesn't exist (i.e. after successful install) then /etc/preinit will remove the installation script from DEBWRT_ROOT/sbin/setupdebwrt before chroot.
- Added an up to date setup script to the TRX image itself, which on first boot gets copied across to DEBWRT_ROOT device in DEBWRT_ROOT/sbin/setupdebwrt before the chroot on first boot.
- Added a motd banner with Asus RT-N16 ASCII art and setup instructions which get copied across to DEBWRT_ROOT device in DEBWRT_ROOT/etc/motd.tail before the chroot on first boot.
- Complete rework of Stephen Hinton's setup script - script is massively improved with many features and improvements and is now built into the base firmware (no need to upload it), wget Dropbox links were giving 404 errors, replaced with debwrt.net download links, *.deb dependencies were being installed after they were needed, order is now correct, script now also patches sources.list to local repository base on etc/timezone information and updates apt-get before updating the debian-keyring with the new sources.
After the chroot:
- Once logged in via SSH/Telnet, simply type "setupdebwrt" without the quotes, the greeting message (/etc/motd.tail) explains this also if using SSH.
Script then performs:
- Starts the firewall and displays the new rules using iptables -S command.
- Brings the WAN connection online.
- Pings Google.com to test the internet connection.
- Checks if ntpdate is installed and if not, installs it.
- Prompts user to set local time-zone (must be correct for next steps).
- Syncs the clock with online time server.
- Patches /etc/apt/sources.list based on /etc/timezone and /usr/share/zoneinfo/zone.tab, so for example a user in Germany will have a sources.list similiar to this: http://ftp.de.debian.org
- Updates apt-get with new sources.list
- Installs debian-keyring - debian-archive-keyring to deal with public key issues for the new repositories.
- Installs system locales, to remove an annoying apt-get warning.
- WGET downloads all *.deb dependencies directly from debwrt.net and then DPKG -i installs them.
- Patches Dnsmasq to enable it with: ENABLE=1.
- Reconfigures the network devices to include all adaptors.
- Enables wireless LED
- Prompts user to install all apt-get upgrades (y/n)
- Prompts user to overclock the router CPU to 532 MHz (y/n)
- Prompts user to enter the new wireless network SSID
- Prompts user to set the new wireless channel 1-13
- Prompts user for the new wireless password (WPA2)
- Prompts user to choose which DNS servers to use, Google's, OpenDNS or the default DNS servers from user's ISP and patches /etc/dhcp/dhclient.conf according to choice.
- Removes /etc/init.d/rcS.firstboot in order for the modded /etc/preinit in the TRX firmware to detect a succesful installation and not copy the installation script and motd on next boot.
- Removes installation instructions from /etc/motd.tail and leaves only the ASCII art.
- Reboots the router.
- Installation is complete.
Script has been tested around 40+ times to check for defects and none were found, script encounted no errors at all as of 19/05/2013.
Compiling From Source
Follow instructions here with a few modifications:
- After checking out the DebWrt Build Environment, download and extract the attached archive to the plugins directory. *Plugin currently not available*
- Follow the rest of the instructions as shown on the above link.
General notes about the modified source files (the ones in the above archive)
- The new plugin facility automatically patches the DebWrt config files to create brcm4716 based device targets as well as select all required packages and options.
- Other brcm4716 based devices include the Linksys E3000v1 and the WRT610Nv2. This plugin should work for them as well but is untested.
- remove the lines marked as robocfg
- enable the lines marked as asus rt-n16
- disable the lines referring to /etc/firewall/firewall.sh (this script is not available by default)
- you will need to install the broadcom-wl package to use the wifi interface with encryption