How To Flash Tomato on the ASUS RT-N66U
The stock firmware on the ASUS RT-N66U might not be too bad, but why settle for it when you can use Tomato instead? Follow these easy steps to install Tomato.
Ever since I started to host this site on VBOX, I’ve gone to ridiculous lengths to make sure the server is up and online as much as possible: The server, the internet modem and a router is connected to an APC UPS and I’ve registered the server as a Ripe Atlas node to measure uptime. This weekend I also got a spare router, just in case the one I’m currently using goes tits-up. If it does, it’s not the availability of VBOX that concerns me, though: I wouldn’t have wireless internet in the apartment. What would happen then, maybe I would have to read a printed newspaper, like a caveman?
So I bought another ASUS RT-N66U router, just to be on the safe side. It’s a proper workhorse and a great piece of hardware, but it has a bit to be desired on the firmware front. Thankfully, there are some very clever people out there. People so clever, they’re making custom firmware for routers. One of these custom firmwares is Tomato (Wikipedia). The base build hasn’t been updated in the last couple of years, but some of the Tomato modifications are very active. One of these modifications is Shibby’s, and that’s the version we’ll be flashing.
Warning: Flashing third party firmware will void your warranty. I will not be held responsible if anything goes wrong. Flashing a device’s firmware is always a risky operation, especially when you’re dealing with custom, unofficial firmware. By following this amateurish guide you understand that you might end up with a brick - a useless piece of hardware.
Another warning: Flashing a router with third party firmware isn’t a trivial thing to do, even with the help of this step-by-step guide. Make sure you read through the entire guide at least once before you start so you get an overview of the steps.
With that out of the way, let’s get started (if you are running into any problems along the way, I strongly recommend that you read the comments to this post, as other people might have had the same problem and found a solution).
- Download and install the ASUS RT-N66U Firmware Restoration utility from ASUS’ support site. Just enter RT-N66U in the search box and you should be able to find it.
- Download the latest version of Shibby’s RT-N66U firmware. Go for one of the ASUS RT-N66u 64K versions. Any of them will work great, take the one with features that best suit your needs. If you’re not sure what your needs are, download the AIO version. There are two language versions on Shibby’s site, one Polish and one English; The Polish version is in the directory ending with -PL, the English version in the directory ending with -EN. So make sure you’re downloading the correct one.
- Connect the RT-N66U to your network with a network cable, but don’t turn it on yet. If you have more ASUS routers connected to your network, make sure you isolate the one you will be flashing, or you run the risk of flashing the wrong router (or at least that’s my theory). Isolating the router can be easily achieved by connecting it directly to your computer with a network cable (make sure you connect the network cable to one of the LAN ports on the router, and not the WAN port) and disconnecting your computer from any wireless network you might be connected to. At this point you don’t need an internet connection (since you have all the files you need now and you see this guide).
- Open the ASUS Firmware Restoration utility and load Shibby’s RT-N66U firmare, but don’t start the restoration process just yet.
- If the RT-N66U is on, turn it off.
- While holding the reset button, turn the router on. After a short while, the power LED should start blinking. Release the reset button. The router is now in emergency firmware restore mode, ready to be flashed.
- Start the restoration process in the ASUS Firmware Restoration utility.
- The utility should upload the firmware to the router and start the restoration process. If you get any warnings that the firmware is unknown, unofficial or similar warnings, just click OK (or similar) and continue. The flashing process might take several minutes. In my case it took more than 5 minutes. Note: Some users have reported that they get an error message (screenshot) from the firmware restoration utility. It seems like the reason for the error is that the flashing process is so slow the restoration utility gives up. But the flashing process is still running on the router. The solution is to just wait, but it’s not clear how long you have to wait. One user reported about 15 minutes, another about 30 minutes, so your mileage will vary. After a while, the router will restart itself, and when it’s done restarting itself, the Wi-Fi light will be turned on. It’s then time to move to the next step.
- When the router restarts as described above or the ASUS Firmware Restoration utility reports that everything went OK, you might not yet be able to connect to the router. But there’s no need to panic, you simply have to clear the NVRAM.
- Turn off the RT-N66U.
- While holding the WPS button, turn the router on.
- Keep holding the WPS button for at least 30 seconds and then release it.
- The router should now reboot.
- After the router has rebooted, open the browser of your choice and go to http://192.168.1.1/. When prompted to log in, the default user name is root and the default password is admin. You should change the default password after logging in the first time.
Congratulations, you now have one of the finest custom router firmwares available installed on your ASUS RT-N66U.
This guide is based on How to flash RT-N66U with Shibby’s TomatoUSB firmware and ASUS RT-N66U – TomatoUSB firmware Flashing Guide
Feedback
vegard at vegard dot net
with your input. You can also use any of the other points of contact listed on the About page.You say ’turn the router on’ … at this point shouldn’t it already be on?
Do you mean off then on?
Also, when do you release the reset button?
Similarly step #11, do you mean press and hold WPS and simultaneously turn on the router?
Step 5 (now step 6): The router should not be turned on at this point (I’ve added a new step to clarify this). It should be turned on while you hold the reset button. The reset button should be released when the power LED is flashing.
Step 11 (now step 12): Yes, press and hold the WPS button and simultaneously turn on the router.
I can’t get to step 7.
The Firmware Restoration app is searching for an available IP address for ever.
Please help.
Error: https://dl.dropboxusercontent.com/u/32753780/Capture.PNG
If I try again after the error: https://dl.dropboxusercontent.com/u/32753780/Capture2.PNG
Some more information, the routers power LED is not blinking. The only active light is the one indicating my LAN port is in use.
So, I guess to reiterate:
Once the flashing finishes (the firmware is uploaded and it hits 100% on the recovery process), the utility errors out and says that it failed to connect to my device and to check to see if the power light is blinking (it’s not) to denote if it’s still in recover mode.
Anyway, are you sure the router was in emergency firmware restore mode (LED light was blinking) when you started the restoration process from the ASUS utility on your computer?
I have done some digging but can’t test till tonight but there is talk on the dd-wrt pages that you need to set a static IP (and actually Sabai Tech who use a Tomato derivative also state to set a static IP).
Steps from Sabai Tech:
1) Unplug all network cables from the router and turn the router off. While the router is powered off, hold the reset button and, at the same time, turn the power on to the router. (This will take the router into a special mode).
2) You will need to then set a Static IP address like 192.168.1.5 on your computer with a subnet of 255.255.255.0 (gateway, etc does not matter), and connect that PCs network cable to the router.
3) …Install Firmware
4) Wait 10 minutes then enable DHCP address on your computer.
If you could give this a try and let me know if it works or not, that would be great!
Soooo I guess I am good?
The steps provided by Sabai Tech provided no difference, I still had to wait a good hour or so before anything actual happened within my router and the errors were all the same.
Appreciate all of the help guys :) But, as it’s working I guess we can chalk it up as resolved?
The ASUS tool will upload the firmware and then it will time out saying that it cannot talk to the router. Just let it sit. And then let it sit more. Keep letting it sit until the unit reboots itself and powers back on (Wifi lights being on is basically the indicator). Apparently (via lots of googling) this is due to the filesystem writing to flash really, really slowly. If you interrupt the process (I did more than once, thinking it was simply stuck) then you basically make the next try take even longer.
I’m using the latest Shibby build of Tomato and it definitely needed me to reset the NVRAM afterwards, otherwise it basically didn’t "see" the WAN side of things (couldn’t get a DHCP address and such).
Complete steps 2 above. Then give your computer a fixed IP address of 192.168.1.2. Complete step 3. The Router is then in Firmware Restoration Mode. You can access the router by typing 192.168.1.1. in your Web browser. There, use the Router-integrated function to upload directly the new Firmware of your choice.
I’m trying to set up an ASUS RT-N66U. I’ve followed all of the directions, and my browser simply will not connect to the router’s tool.
Any thoughts are much appreciated.
Same issue here. Have you found a solution ?
Thanks
So, I could only connect to the router when connected via DHCP and while the router was in the normal "on" position…not the recovery mode. Note the router is not connected to the internet.
When I put in the server address of the router I came upon its set-up mode. Go through most of this, but there is a screen where it allows you to set the time zone. By clicking this, you are brought into the advanced settings mode.
In this screen you can upgrade the firmware. Upload the firmware. At this point mine (Sabai OS) could not be uploaded and I was brought to its CFE miniWeb Server. Once again you have the option of uploading firmware.
Turn off the router and put your computer into static ip mode. Restart the router in recovery mode. Now upgrade the firmware and wait for 10 minutes after your firmware has been successfully flashed. Then enable DHCP.
This worked for me. It may or may not work for you. Hopefully it will! Advance at your own risk.
- You need to upload the new firmware really, really fast. For some reason, the web utility is disabled after a minute or so. You’ll know it’s not working because your upload hangs for more than 2 minutes.
- After the upload is complete, the router will stop responding. This is perfectly normal, the router is flashing. This takes between 5 to 10 minutes; you’ll know it’s done because the WiFi lights start flashing.
- You need to do the VRAM reset. This is required if you want your router to work as intended.
in case this was part of the waiting for two hours, i let it sit all night (8+ hours) and it was still going this morning.
it seems to be able to get back into recovery mode, so im currently trying to flash the stock asus firmware on it. right now im in the "wait 2 hours" step and it doesnt look like it is boot looping right now…
for some reason, I was trying to flash an older version of the firmware. when I tried the latest version, it took only maybe 30 minutes
The sixth time I flashed via tftp, got the file uploaded confirmation and went to bed. When I checked the N66U in the morning Tomato was flashed and ready to go!
Moral of the story, flash the router and go to bed and check it in the morning or at least wait until you see a solid power LED and the two wifi LEDs lit.
- I think that the firmware restore utility doesn’t work if you had previously changed your LAN’s network address to anything other the default 192.168.1.x address. In my case, I had changed it to 192.168.0.x and the utility couldn’t connect to the router.
- You have to connect the router directly your PC. If there are other PCs or devices connected to your LAN, the Rescue utility gets confused and warns that it cannot find the router.
- (just a comment) The port LED corresponding to other devices connected to the router continue to indicate active connections when the rescue mode is active.
But I can’t get internet with the Ethernet cable or wirelessly so can’t download the English version .
1. I did all these below.
2. I did not see any warning about error firmware.
3. After I am done with Step 4 below, I plug in my hot WAN into it and wait. Few minutes later I use the address on #4 and it work.
======
(From Mike Jones)
A few points in the guide are wrong
1.To upload the firmware you need to hold down the reset button push the power switch on (while holding down the reset switch down) untill the power light starts flashing on and off.
2.Then you can leisurely go to your pc and use the ASUS upload utility to load the firmware.
3.To access the web interface after installing the firmware the Nvram must be cleared first. You do this by Pressing and hold the WPS button (on the back) while plugging in the power cable. Hold for 30 seconds and release the WPS button. It will now reboot
4.now attempt to access the web interface on 192.168.1.1 L:root PW:admin
I did follow the instructions for my new RT-N66U (B1) but to no avail. I use a windows xp virtual machine on my laptop to start the Firmware Restoration utility but when I put the router in
emergency mode nothing happens. The LED that used to be blinking stops and goes away.
I let it go for more than 1 hour and still nothing happens. I double checked that I can access the router from the windows vm in ’normal’ mode, both from the wireless and Lan. The router is not connected to Wan, and my laptop has only one interface configured (manually at 192.168.1.2).
Any ideas what’s happening?
jf
I just flashed my RT-66U with tomato-K26USB-1.28.RT-N5x-MIPSR2-115-AIO-64K.trx for a MAC on Mavericks using Safari.
Worked first time - took about 20 minutes..!
thank you
Thanks again!
halfway (around 45%) the upload of the tomato stopped, and i got a message.
Waited a little and tried to upload again, but got the message that the router is not in recue mode.
Turned it off and on again, but i’m afraid its fried now.
Is there something i can still do to save it?
The answer is about 15 minutes. Mine was ready 12 minutes after I got the error.
I used the recover webserver approach as described earlier in the thread.
I also erased NVRAM from the same interface.
I had to wait for 15-20 minutes - so patience is the key!
Thanks for the guide…
Frederik
- I can’t find a shibby firmware file for the RT-N66u with 64k in the file name. I have this one . Is this good enough?
2. Should I place this file into a USB drive and plug it into the router?
- You can use this file: tomato-K26USB-1.28.RT-N5x-MIPSR2-121-AIO-64K.trx
2. It might be possible to put in the file on a USB drive, but I have not flashed like that. Try following the guide above instead.
Can I use the same instructions to flash RT-N66W, which is the white version of RT-N66U?
It looks like you're using Google's Chrome browser, which records everything you do on the internet. Personally identifiable and sensitive information about you is then sold to the highest bidder, making you a part of surveillance capitalism.
The Contra Chrome comic explains why this is bad, and why you should use another browser.