Beginners Firmware Flash Guide
This beginners guide is intended as a tutorial for people who're unsure about flashing their router or have less computer experience.
The guide will show you, step by step, how to Flash the Buffalo WHR-G300N Router with the DD-WRT Firmware. Although I've used the WHR-G300N, you will be able to use the guide when flashing any Buffalo router with the DD-WRT firmware. The guide is for Windows XP and Vista, but can also be used for Windows 7.
If you already know a bit about this, understand what I mean by "ping 192.168.11.1" etc, then you may want to check out the Quick Guide.
Downloading the Firmware [Contents] First things first, we need to head over to http://www.dd-wrt.com and download the latest DD-WRT firmware. Click on the "Supported Hardware" tab and enter "WHR-G300N" (or whatever the model of router you have is). You'll see the model come up, so click on that link. Keep the "Supported By" pull down menu set to the default recommended option. There are 2 different versions of the firmware available; "firmware.tftp" and "WHR-G300N-webflash.bin". As this is first time you're flashing the router we have to use firmware.tftp, download this and save it your c: drive (not in any folders). The reason we can't use the webflash version is due to Buffalo encrypting their firmware, so we have to hack into the router during its "Recovery Mode". This is a simple process, but more about that later. Once we have flashed with the DD-WRT firmware the first time, then we'll be able to use the much simpler web interface to flash it, for any future updates..
TCP/IP Settings [Contents] Now, we need to make sure our TCP/IP settings are in the correct range, so we can talk to the router. This is pretty easy to do.
TCP/IP Settings
Click to enlarge
Connecting up the Router [Contents] Everything you need will be in the router box.
Router Switch
Click to enlarge
Router Connected
Click to enlarge
Flashing the Router [Contents] Now the cool part, flashing the router! We have the new firmware saved in the c: drive and the router is all connected up.
TFTP Command Finished
Click to enlarge
TFTP Command
Click to enlarge
New TCP/IP Settings [Contents] The new firmware uses a different IP address. So we need to update the TCP/IP settings to a new range. It's the same way we did it before, but a slightly different address.
Finalising Install [Contents] With the router now running the DD-WRT software and a IP address in the same range, we just need to connect to the router and do a couple more things; change the default password and perform a reboot. This is important to do after flashing it.
DD-WRT First logon
Click to enlarge
DD-WRT Working
Click to enlarge That's it! You now have a very cool, very powerful router. Enjoy.
Downloading the Firmware [Contents] First things first, we need to head over to http://www.dd-wrt.com and download the latest DD-WRT firmware. Click on the "Supported Hardware" tab and enter "WHR-G300N" (or whatever the model of router you have is). You'll see the model come up, so click on that link. Keep the "Supported By" pull down menu set to the default recommended option. There are 2 different versions of the firmware available; "firmware.tftp" and "WHR-G300N-webflash.bin". As this is first time you're flashing the router we have to use firmware.tftp, download this and save it your c: drive (not in any folders). The reason we can't use the webflash version is due to Buffalo encrypting their firmware, so we have to hack into the router during its "Recovery Mode". This is a simple process, but more about that later. Once we have flashed with the DD-WRT firmware the first time, then we'll be able to use the much simpler web interface to flash it, for any future updates..
TCP/IP Settings [Contents] Now, we need to make sure our TCP/IP settings are in the correct range, so we can talk to the router. This is pretty easy to do.

TCP/IP Settings
Click to enlarge
- Open Network Connections dialog, this can be done from Control Panel. Or for the lazy amongst us, open the Start Menu and choose "Run", enter "ncpa.cpl" (no quotes) and hit return. Note: in the Vista menu, you may not see a Run option, just enter ncpa.cpl in the "Start Search" box.
- You should see an option for "Local Area Connection", Right Click and select "Properties".
- From the Properties dialog, select "TCP/IP Settings" (maybe called "Internet Protocol" in vista) and hit the "Properties" button. If given a choice, its IPv4 you want and not IPv6.
-
Enter the following IP Address details and hot "OK".
IP Address: 192.168.11.2
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.11.1
Connecting up the Router [Contents] Everything you need will be in the router box.

Router Switch
Click to enlarge
- Take the router out the box, connect the power and plug it in. You should see lights at the front come on and start flashing. After around a minute it have booted.
- Connect one end of the suppled Ethernet cable to your PC's (or Laptop or Netbook) Ethernet port - it will be the only port the Ethernet cable will fit in.
- Connect the other end of Ethernet cable to Port 1 on the Router.
- Make sure the "Router" Switch on the back of the router is set to "Auto". If using a different model, there may not be a Router switch.

Router Connected
Click to enlarge
Flashing the Router [Contents] Now the cool part, flashing the router! We have the new firmware saved in the c: drive and the router is all connected up.

TFTP Command Finished
Click to enlarge

TFTP Command
Click to enlarge
- Unplug the router.
- Make sure all Firewalls are turned off, including the Windows Firewall.
- Open a command prompt. To do this open the Windows Start Menu and select Run. Enter "cmd" (no quotes) and hit enter. Note: in the Vista menu, you may not see a Run option, just enter cmd in the "Start Search" box.
- In the newly opened command prompt windows; enter the following tftp -i 192.168.11.1 put firmware.tftp but do not hit return. Note if using Windows Vista, the TFTP client may not be installed. From the run menu again run "appwiz.cpl" (no quotes) this brings up the "Programs and Features" dialog. Select "Turn Windows features on or off". Check the box "TFTP Client" and hit OK. You can now use the TFTP command.
- Power on the router.
- Within 3 seconds of powering on router, hit return on the command prompt. You should see a Transfer Successful... message. The reason we need to do this in the first 3 seconds, is this the router in "Recovery Mode" and the only time we can overwrite the encrypted Buffalo firmware. Luckily we can use the web interface once the DD-WRT firmware is on there.
New TCP/IP Settings [Contents] The new firmware uses a different IP address. So we need to update the TCP/IP settings to a new range. It's the same way we did it before, but a slightly different address.
- Open Network Connections dialog, this can be done from Control Panel. Or for the lazy amongst us, open the Start Menu and choose "Run", enter "ncpa.cpl" (no quotes) and hit return. Note: in the Vista menu, you may not see a Run option, just enter ncpa.cpl in the "Start Search" box.
- You should see an option for "Local Area Connection", Right Click and select "Properties".
- From the Properties dialog, select "TCP/IP Settings" (maybe called "Internet Protocol" in vista) and hit the "Properties" button. If given a choice, its IPv4 you want and not IPv6.
-
Enter the following IP Address details and hot "OK".
IP Address: 192.168.1.2
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1
Finalising Install [Contents] With the router now running the DD-WRT software and a IP address in the same range, we just need to connect to the router and do a couple more things; change the default password and perform a reboot. This is important to do after flashing it.

DD-WRT First logon
Click to enlarge
- Open your browser at http://192.168.1.1. You should now see the cool new DD-WRT interface. This is the new address of you router.
- The first thing you'll be asked to do is change the default username and password. You must enter a new username and password here (you'll have to confirm the password). It's important you remember what you enter here, as you'll need it every time you enter the access the firmware.
- Now you'll get the main DD-WRT interface. But before we play around, we need to reboot the router after flashing the firmware. Click on the "Administration" tab, this will bring up a new set of tabs. Now click on "Management" tab. Finally click on the "Reboot Router" button at the bottom and wait 30 or so seconds for the reboot to finish.

DD-WRT Working
Click to enlarge That's it! You now have a very cool, very powerful router. Enjoy.