Guide Flashing Buffalo WHR-G54 with tomato

Status
Not open for further replies.
This thread is a followup from this thread

http://www.techenclave.com/forums/dd-wrt-flashing-firmware-static-ip-100373.html

why tomato is better,

1.Slick interface
2.Better stability with the wireless link ( most firmwares keep loosing/fluctuating connection) , you will see this alot with dd-wrt
3.Runs better with all the addons
4.More informative - ceck out tomato to see what i mean
5.Ability to scan for networks from the router
6.Bandwidth graphs and logs (yes stored IN the router)
7.Ability to boost the wireless signals and shows u current value ;)
8.Performs better since its really lean, hardly any load on the router ,u can google n see this, router is more responsive and runs with hardly any heat
9.Ability to reboot/reset router from the interface itself YES
10.Advanced QoS/access restriction features

FTW

Infact heres a guide to do it on buffalo routers

Tomato
First, you need to determine which router you have. Buffalo doesn't display the exact model number on the box. Unbox the router, and check the back side, where it has info like username, password, router address, and more. You'll find the router model ID code there. This guide applies specifically to the WHR-G54S, but you can also flash the WHR-HP-G54, WZR-HP-G54, and WZR-RS-G54, from what I can find on the web.

Next download the Tomato firmware from the above-linked site. Extract the contents. (You may need to search for a program to extract the 7zip file format; The Unarchiver freeware for the Mac is what I used.) Now look through the folders for a trx folder. Inside that folder is a file named code.trx; that is the new firmware.

Plug the router in, and get the ethernet cable out. Plug one end of the ethernet cable into the LAN ports (be sure it's the LAN port, not the WAN port; this is where I got stuck). Plug the other end of the ethernet cable into your Mac's ethernet port.

Now change the settings on your Mac. First disable AirPort if you already have a wireless router. Then go to System Preferences » Network, click on Show and select Built-in Ethernet. Click on the TCP/IP tab to display TCP/IP settings. Now set Configure IPv4 to Manually, and for the IP Address, put in 192.168.11.2. For Subnet Mask, use 255.255.255.0, and for Router, set it to 192.168.11.1. You can now test to see if your computer sees the router. Open up a Terminal window and type ping 192.168.11.1; you should see something like this:
64 bytes from 192.168.11.1: icmp_seq=663 ttl=64 time=0.867 ms
64 bytes from 192.168.11.1: icmp_seq=664 ttl=64 time=0.900 ms
64 bytes from 192.168.11.1: icmp_seq=671 ttl=100 time=2.351 ms
etc...
This means the router is communicating with the computer. If you do not see similar results, then recheck the first couple of steps and try again. Leave this window up and running. It should continue to keep pinging. Now open up a second terminal window. cd to the directory where the code.trx file is located.

Once you are in the right directory, type tftp 192.168.11.1. This command enters tftp mode; the next command lines will be proceeded by tftp>. Now type these commands:
binary
trace
rexmt 1
Now type put code.trx. However, do not press Enter yet. Just leave this window open for now.

Next, unplug the power from the router. Then hold down the INIT button on the bottom of the router (you'll need a pen tip, or some sharp object to do this). Keeping the INIT button pushed down, plug the router back in. Your router should still be connected to your computer via the ethernet port at this time.

Turn your attention back to your first Terminal window, where you entered the ping command. When you disconnected the power to the router, notice that the pings failed and did not bounce back. After you plug the power back into the router, let go of the INIT button. When you see the first ping return, go immediately to the other Terminal window and press Enter to send the command put code.trx. A whole bunch of lines should flash through with some code. This is the transfer; it should take about 10 seconds or less. You'll see something like this in the beginning:
tftp> put code.trx
sent WRQ <file=code.trx, mode=octet>
received ACK <block=0>
sent DATA <block=1, 512 bytes>
received ACK <block=1>.....
etc...etc.
And then it will end with transmission completed (or something of that nature telling you the transfer finished). If you don't see this, start over with changing the settings on your Mac. After the transmission is completed, do not interrupt the power supply for about two minutes -- if you do, you could destroy your router. The router should be rebooting during this time. If you look at your ping window, you'll know the router is ready when the pings start bouncing back again.

Once the router is rebooted, go back to System Preferences » Network » Built in Ethernet. Click on the TCP/IP tab to display TCP/IP settings. Set the Configure IPv4 setting to Using DHCP (if that's what you use; otherwise fill in your network info). Now open a browser window and type in http://192.168.11.1 to login to the router. Login name is root, password is admin.
 
Status
Not open for further replies.