Suresh Payankannur

Monday, December 27, 2010

Tomato Firmware on ASUS RT-N12 Wireless Router

Tomato is supported on RT-N12. Installation is quick. I ran into a problem of not able to login using the tomato password. So had to restart the whole process a couple of times.

The path to install tomato is Stock Firmware -> DD-WRT -> Tomato. The router should be flashed with DD-WRT first using the ASUS firmware installation tool and then upgrade to Tomato using the DD-WRT web GUI.

  1. Install the router utilities from the CD-ROM comes with the router on a PC. This will install the firmware installation tool.
  2. Download the latest version of DD-WRT from ftp://dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/04-16-10-r14289/broadcom_K26/dd-wrt.v24-14289_NEWD-2_K2.6_mini_RT-N12.trx. Save this on to the PC.
  3. Download latest Tomato version from http://sourceforge.net/projects/tomatousb/files/Experimental%20%28beta%29/K26-MIPSR2/tomato-K26-1.28.9054MIPSR2-beta-Std.rar/download. Save this file on to the PC.
  4. Unrar the Tomato firmware. Rename .trx to .bin extension. The resulting tomato firmware file should be tomato-K26-1.28.9054MIPSR2-beta-Std.bin.
  5. Remove all the network connections from the PC. Set the network settings to using static IP and set it to something like 192.168.1.10 and net mask as 255.255.255.0. The default IP of RT-N12 is 192.168.1.1. So assign an IP in the same network to the PC.
  6. Reboot the PC if needed. Check the IP address and it should be what is set in the previous step (192.168.1.10).
  7. Connect the router to the PC using a Ethernet cable. Use any of the available LAN ports to connect to the PC.
  8. By pressing the RESET button on the router, plug in the power. The RESET button is the one which is slightly depressed (NOT the WPS button, which is raised and projects out). The power should be plugged in while pushing and holding the RESET button.
  9. When the LED power slowly blinks on and off, release the RESET button. I noticed the power light comes up, then it goes out for a few seconds, then comes up again etc. Release the RESET button at this point.
  10. Bring up the ASUS firmware restore utility on the PC. Upload the downloaded DD-WRT firmware.
  11. Do not disturb the router during the upgrade.
  12. After the installation, the utility should ask the router to be rebooted. Wait for a couple of minutes and unplug power from the router.
  13. Wait for another couple of minutes and plug the power back into the router.
  14. The router will boot into DD-WRT. Point your browser to http://192.168.1.1 to bring up the DD-WRT GUI.
  15. The default user name is 'root' and there is no password. So set your desired password using the GUI.
  16. Go to Administration -> Firmware upgrade. Browse to the directory where the Tomato firmware is located. Choose the file tomato-K26-1.28.9054MIPSR2-beta-Std.bin. Choose not to restore the factory defaults in the radio button.
  17. Upgrade the firmware to Tomato. The upgrade will take a few minutes and then the router will be rebooted automatically.
  18. Use admin/admin to login to the Tomato.
  19. Go to Administration -> Configuration -> Restore Default Configuration and choose 'Erase all data in NVRAM memory (thorough)' and then press OK.
  20. Reboot the router and login using admin/admin.
  21. Change the default password.
That is all. I have found Tomato to be very stable. I have a ASUS 520GU running Tomato for more than a year without any problem. This has been connected to my USB printer and act as the print server.

During installation, I wasn't able to login to Tomato. Previous tomato versions did not have any password. So I have been trying the user 'admin' and no password, but it was not letting me in. Also telnet to the router was not working. Also tried to set the http_password while in DD-WRT using telnet and 'nvram set http_password=my-password' then 'nvram commit' and 'reboot'. Still after installing tomato, none of these passwords worked.

I then went back to reinstalling DD-WRT by putting the router in rescue mode (as described in step 8). At this point, the default DD-WRT username/password also did not work. The following steps were needed to reset the DD-WRT password.

  1. Reset the router by pressing the RESET button while the router is powered on.
  2. Point the browser to 192.168.1.1. This will bring up the ASUS mini UI to reset the NVRAM parameters.
  3. Erase all the NVRAM parameters.
  4. Reboot the router.
  5. Point the browser to 192.168.1.1 and use the default DD-WRT username 'root' and choose your new password.
References


4 comments:

  1. Hey, thanks for the informative guide. It was really easy to follow and really useful. Great work! Just one thing though... maybe it would be good to include:

    First, obtain the password for the router: In the web interface, go to Administration -> Commands. Type "nvram get http_passwd" into the text box and click "Run Commands". When the page reloads, it will show the password below. Make note of this password for later use.

    * Alternatively, you can obtain the password via telnet. Assuming your router can be found at 192.168.1.1, you'd type "telnet 192.168.1.1" at a command prompt to login to the router. Once logged in, type "nvram get http_passwd" and write down the result.

    After installing dd-wrt and before installing tomato.

    (got this info from "http://en.wikibooks.org/wiki/Tomato_Firmware/Installation_and_Configuration")

    ReplyDelete
  2. Try simple configuration for your tomato router http://www.routerstop.com/tomato-router-setup/ with 4-5 steps. I've done my setup for 20 minutes

    ReplyDelete
  3. Once you release the router will reboot and return to it's factory default settings and you'll be able to use it's default username and password to log on.best wireless routers reviews

    ReplyDelete

Blog Archive

Scroll To Top