Wednesday, June 23, 2010

Firmware flash and brick recovery through TFTP

Though the whole flashing process can be done via Web interface(dd-wrt to stock and vice versa) without getting your hands dirty, still, there're cases that the Web flashing is not sufficient. One common scenario is a bricked WZR-HP-G300NH, i.e., no web access and no ping response due to bad firmware or wrong operation, or you just want to try other firmware like OpenWrt. Luckily that the WZR-HP-G300NH has a robust bootloader and the router can be recovered by using TFTP, either in Windows, Linux or OSX.

It's a little tricky comparing to traditional Broadcom routers, as the WZR-HP-G300NH will not broadcast its MAC during initial bootup process, as a result, we must tell the computer how to communicate with the router by manipulating its arp table.

TFTP recovery in Windows
*Untested, credit goes to ermax at D-WRT forum
  1. Get your router's MAC, its the 12 digit default SSID printed on the sticker at the back of the router, starting with 00. Then you'll need to break it down every two digit by inserting : or - between them.
  2. Download the latest official firmware(in case of recovery) from Buffalo's official website. Extract to get the firmware, in my case, its 1.74 and the firmware name is wzrhpg300nh-174, ~20MB.

    Also download the
    Linksys TFTP utility.
  3. (May not necessary) Do a hard reset or 30/30/30 on the router.
  4. Unplug all the ethernet cable and the power cable and connect the computer directly to the router(still leave it off)
  5. Set the computer's static IP to, netmask, gateway/DNS
  6. Open a Windows command prompt as Administrator. This is default on Windows XP, under Windows Vista/7, type cmd in the search box from Start menu, then press Ctrl+Shift+Enter. You will be prompted with the User Account Control dialog.
  7. Type route print to get a list of your NIC(s). Write down the interface number for the LAN card, in my case, it's 12.
  8. Now type the command below to get the ARP binding(thanks ermax at DD-WRT forum):

    netsh interface ipv4 add neighbors 12 00-1d-12-34-56-78

    Replacing the number 12 with the interface number and 00-1d-12-34-56-78 with the router's MAC address.
  9. Run Linksys TFTP utility. Put as Server address, Password empty, File is wzrhpg300nh-174 just extracted, set retry time to 30.
  10. Click "Upgrade" in the TFTP utility and quickly plug the power back to turn on the router. There might be few failed attempts but the flash process should start later. Wait patiently the router will reboot itself when the upgrade is done. Navigate to stock firmware) to configure your router.

TFTP recovery in Linux
*Most of this part is from DD-WRT wiki with some tweak. TEST WORKING

Will use Ubuntu Live CD as an example but other distro should also work. The Ubuntu LiveCD can be booted from a USB flash drive. See here.

  1. Do Step 1-4 in "TFTP recovery in Windows" except we don't need Linksys TFTP utility here. So we have MAC address ready, router unpowered and the computer is directly connected to the router.
  2. After booting into Ubuntu, open a terminal and type:

    sudo apt-get update
    sudo apt-get install tftp-hpa
    sudo /etc/init.d/networking stop
    sudo ifconfig eth0
    sudo ifconfig eth0 netmask
    sudo arp -s 00:1D:12:34:56:78
    #change to the folder where you put the firmware image, if it's on desktop then it's
    cd /home/ubuntu/Desktop
    *from this point, you're under tftp command prompt, the "tftp>" is the prompt tftp gives you, you just need to type the command AFTER that.
    tftp> verbose
    tftp> binary
    tftp> trace
    tftp> rexmt 1
    tftp> timeout 60
    tftp> put wzrg300nh-firmware.tftp

    Replace the fictional MAC in red with the router's. All command you need to input is in italic. Also replace wzrg300nh-firmware.tftp with the firmware you need, in case of stock firmware, its wzrhpg300nh-174.

    Also, at this point, the router is still unpowered and that's OK. Tftp will keep trying to send the firmware to the router and when it fails (because the router isn't yet on or hasn't yet brought up it's tftp interface) it will wait 1 second and retry, up to 60 times as that's how we set up the tftp client.
  3. Now quickly plug the power cord back to the router. The router will start up and you will see some lights blinking (possibly). About 10-20 seconds in, you should notice that tftp is sending the file. instead of the retry message over and over you will see some progress scrolling down the screen and at the end it will tell you how many blocks or bytes were transferred in how many second.
  4. After the transfer is complete, wait about 5-10 minutes the router will reboot itself. When the wireless LED is on you're good to go.
  5. Bring the network back in Linux by typing

    sudo service networking start
TFTP recovery in OSX
*Untested, credit goes to BDawg at DD-WRT forum
  1. Do Step 1-4 in "TFTP recovery in Windows" except we don't need Linksys TFTP utility here. So we have MAC address ready, router unpowered and the computer is directly connected to the router.
  2. Set the computer's static IP to, netmask, gateway/DNS
  3. Open a terminal and type

    sudo arp -s 00:1D:12:34:56:78 ifscope en0

    Replace with your own router's MAC.
  4. Type


    tftp> put wzrhpg300nh-174

    Don't press Enter
  5. Now plug the power cord back and hit Enter to start tftp transfer.


Anonymous said...

Is it able to apply this method on WZR-HP-G300NH Japanese version? I have problems with DD-WRT firmware on WZR-HP-G300NH so I want to use Buffalo original English firmware (1.74)

Anonymous said...

It is not that easy.
you might want to read this first.

Anonymous said...


I had a WZR-HP-G300NH with DD-WRT on it. I then tried to upgrade using mtd to Open-WRT. The router rebooted with blinking Diagnostic light - pause, 2 red blinks, pause.
I tried tftp'ing dd-wrt and openwrt, nothing worked, mostly because the file never transferred completely before the timeout, and the ole' red light would just blink away.

I now tried the official buffalo 1.74 firmware as described on this page, and the file transferred over correctly with tftp, all 21541116 bytes in 50.9 seconds (phew!). The router did not reboot though, I left it about 20 minutes. Rebooting it manually does nothing either, same old blinking Red light.

Any ideas for me? Much appreciated!!

HeavyP said...

While trying to install open-wrt I have more or less bricked my router. I can connect to it's Wi-Fi but DHCP seems to be messed up. LAN cable connect doesn't work neither.

I tried all the options for all 3 OS but it doesn't work. Everything just keep timeout. The router does not response to 30/30/30 reset. It boots with a red DIAG and goes to blinking green Router LED for a few seconds then stay on.

Any help is appreciated.

Anonymous said...

A very important step should be added to "TFTP recovery in Windows"

Step 8a) Turn off your windows firewall!
Otherwise nothing happens because the Windows firewall blocks the tftp ack packets from the router.

I lost a lot of time on this - assuming that the router has a problem I forgot other simple issues such as firewalling. ;-(

Thanks for a great article.

Best regards
Steen Larsen

Eric said...

Heavy P, I had the same problem on my end. I sent the router back and got a new one, then somehow did the same thing on the second one. It worked fine for a while then ... I'm going to Jtag it. I will include detailed instructions once I've completed the process. I'm attempting the CA-42 nokia cable approach. wish me luck

Anonymous said...

Had problems by flashing with the linksys TFTP tool, but it was working under ubuntu. Thanks!

Phil said...

I can confirm that you CAN get this to work in Windows. I used Win7, so I don't know if that will make a difference over XP, but it does work. Also, I used a different TFTP client which successfully sent the image, Pumpkin TFTP:

The only thing I changed was the network timeout from default of 30 seconds, up to 60. Worked like a charm :)

Also, if you are getting the solid diag light and 45 second repeating reboot, the IP address is even if you've put DD-WRT on in the past and changed the IP to something different.

Eric said...

TFTP recovery in Windows: it worked with Win7 and saved my router - thank you!

栄一郎 said...

The router will not restart

Eric said...

It work with WHR-HP-G300N also.

Anonymous said...

i cant get it to work, even with the pumpkin tftp.

is my mac address also the SSID? label on the back of the router?

Thank you!!

Anonymous said...

I mean even with the correct mac address in my arp tables i still cant get it to work. any suggestions? firewall off.

(anonymous) but my name is michael.

Larry said...

I got this to work with OS X. HOWEVER, I believe that there are two steps missing from the OSX instructions above.

First: It won't work if you connect your Mac directly to the router, as per step 4 of the Windows instructions. You need to have a switch between the two (if your old wireless router still works, it will do). This is because the Mac uses carrier detect to automatically bring network interfaces up and down, and your ethernet interface needs to be up and running at the moment you power the router on, or you'll miss the little window when the tftp transfer can happen. So, ethernet cable from Mac to a switch, and ethernet cable from the switch to one of the ethernet ports on the router.

Second: before issuing the put command in tftp, you need to do "binary". Adding "trace" is nice as well, as you see progress as the transfer happens. So, your tftp session should look like this:

tftp> binary
tftp> trace
tftp> put wzrhpg300nh-174

Graham said...

On XP the route print screen looks different, also that netsh command doesnt work, the "add neighbors" option doesnt seem to exist.

Anonymous said...

Hello, very nice trick, thank you so much ;)

Anonymous said...

My g300nh problem is slightly different. After the DIAG light goes out after boot, the router light blinks continuously

While following the post, tcpdump is showing:

IP > UDP, length 1001
IP > 25 WRQ "image" octet pass
IP > ICMP UDP port tftp unreachable, length 61

Seems like it's firewalled and the 30-sec and 30/30/30 do nothing. Any ideas?

Anonymous said...

Great help. My WZR-G300NH was stuck.
But with you help, I have it up and running perfectly again.
Used Windows 7 (diabled firewall)
Used Pumpkin TFTP(where timeout was increaded to 120 sec). Used dd-wrt software, but managed to revert back using instruction found here:

Anonymous said...

I bricked 2 routers going from DD-WRT to OpenWRT using this wiki: using the mtd method. Tried 2 different OpenWRT firmwares - both times I have a bricked router.

The behavior on both boards after reboot is a read diag light for approx 15-20 seconds, then the router light blinks for about 5 seconds, and goes solid.

I tried to connect via serial using a TTL-232R-3v3 cable with the pins to the correct points using this (and other) forums but to no avail. I know I am close, because I can power the board separately (exact same behavior as described above) off the 3.3v, but I don't get any output on the serial terminal.

I have tried these directions above about 5 times on both Win7 and Linux - but can't get any response on any tftp. I am kind of stuck. Any help would be very appreciated!


Anonymous said...


Mine shared the same symptoms.

Followed the steps of Awrimukas at with BrainSlayer's modification at .

(arp -s 02-AA-BB-CC-DD-1A)

Flashed OpenWRT's image successfully.

Anonymous said...

Oh, also: A 30/30/30 reset does nothing on OpenWRT except brick it further. Ignore that step.

Anonymous said...

I tried with tftp for ever but could not bring it back to life even though it was receiving the file. After 12 hours or so I figured out that setting the router switch to ON rather than AUTO got it working! Huzzah

Anonymous said...

Got the router today, I tried to update via online. It didn't show anything while updating (not even a progress bar), restart the router and found it was bricked.

Tried 30/30/30, used ARP, used, tFTP from linksys, used PumpKin tFTP, disable firewall, none of them are working. Now I'm stuck with this stupid router.

Anonymous said...

Here is the instructions to revert from commmunity to bufffalo pro version or simplified for WZR-HP-AG300H, compiled based of forum's data (thanks to everybody for the input). You can then use Web GUI to go back to community version of DD-WRT.

Client pc: Set the netmask to and the gateway to

Now connect your cable to the router with the router off.

In Command Mode (run as admin on win7)
arp -s 02:AA:BB:CC:DD:20
netsh interface ipv4 add neighbors 12 02:AA:BB:CC:DD:20
(WAN 02:AA:BB:CC:DD:21)
(12 above is the interface number in Win7 taken from LAN adapter number from "route print" command)
Use Linksys TFTP firmware upload utility or windows TFTP client to upload a firmware.
Plug your router in and soon as you see LAN card traffic light run TFTP upload or hit download on the Linksys TFTP utility.

tftp -i PUT c:\firmware.enc

MAC address used in the procedure is not LAN or WAN address that you find on the router, it seems to be generic number that applies to boot load for the model. i.e. WZR-HP-G300NH is 02-AA-BB-CC-DD-1A, WZR-HP-AG300H is 02:AA:BB:CC:DD:20.

Anonymous said...

Hello everyone i try install in buffalo wzr-hp-g300ng BrainSlayer-V24-preSP2 06-14-11-r17201 wzr-hp-g300nh2-dd-wrt-webupgrade-MULTI.bin firmware.And buffalo stopped working.Now always rebooting.I see only green power led and red led.Windows recovery metod not working and linux not working in live cd.Very please help how i can recovery buffalo.Maybe what can help?Please write skype nick kiesa3.

Anonymous said...

My buffalo looks now

Brett said...

Got my router back from being bricked. Had the two blinks Red diag light. Used this guide with some modifications. Used the pumpkin software and "WZR-HP-G300NH is 02-AA-BB-CC-DD-1A" MAC address as described in other comments. Also disabled Windows firewall.

Anonymous said...

life saver!

Anonymous said...

This saved my router as well, but I did have to make some changes for the Ubuntu instructions. My router was getting out of the TFTP window in less than 5 seconds and the settings listed in the Ubuntu section were getting wiped out every time I rebooted or unplugged the router.

I wrote a small script to setup the network and then only used the verbose and binary commands in TFTP. Everything worked fine and the new firmware was transmitted in just 5 seconds. Shocked me after hours of different methods to unbrick, I was losing hope but this blog got my router up and running again.

If you were following other guides to get to this one, you may have been instructed to use a dummy MAC instead of your actual MAC. In my case, the actual MAC address worked. I suspect the difference is whether you're attempting to get in on the WAN or LAN ports.

Ilyxa742 said...


It's realy working with pumpkin! thank you!

Steve said...

I love you!!!!

The Ubuntu procedures just fine. I recommend everyone to use linux as 'Micro$oft Windoes' is a shit OS.. It just wont work.

Linux... Worked at the first try.

Anonymous said...

Hi, first of all thanks for posting this and huge credit to all who figured this out!!!

Bricked my Ubiquiti NanoStation M2 couple days ago by trying to reflash to original firmware from DD-WRT, had both antenna lights up on whole time with power and link light but no ip response what so ever, after hard reset followed your directions by adding neighbor MAC ID and thru Linksys TFTP utility loaded original firmware!
Worked on Intel 2.0 Ghz Windows 7 OS

Anonymous said...

Just got it working here on a bricked WHR HP-G300N.
To the writer and all the helpful posters, thank you so much for the helpful information.

For fellow HP-G300N owners, ensure that you turn off windows firewall, install tftp through add remove windows components and use the tftp command line rather than the gui clients. (at least that is what ultimately worked for me)

So as was posted before: tftp -i PUT c:\firmware
(just 'firmware' in my case rather than 'firmware.enc' since I don't show file extensions in explorer)

Other than that, follow the original guide :)

Anonymous said...

Yes, I also got my WZR HP G300NH bricked after factory DD-WRT firmware upgrade. The diag RED light is on all the way!

And thanks to this great blog, the router could be recovered with ubuntu approach at the first try! I have tried Windows 7 approach, but failure, it seems missed the tftp transmission window. Anyway, the linux approach works great!

But I have a slightly different, firstly, I have used the dummy mac address which I saw from the other forum, I used 02-AA-BB-CC-DD-1A. I think the real mac address should work as well, but I haven't tried.
The second point is I used a 10/100 switch in between the Linux machine and the router. So that, one LAN cable connects from the Linux to the switch and another LAN cable connects from the switch to one of the LAN ports of the G300NH.
And at the beginning of the whole task, I have done 30/30/30 reset.

Anonymous said...

Thank you for great guide.

One addition. My unit complainned flash rom error. First I tried to unbrick with latest 179 firware and upgrade was always cancelled roughly at 80%.

Then I treid to flash Professional sw version and it worked. This was some how related to file size. Buffalo Prof firmware is only 12M instead of 21M (179 version).

So if problems try smaller size firmware

Anonymous said...

Would not work with the label MAC Address of the router - but it did work with the generic MAC address of: 02-AA-BB-CC-DD-1A; for the STATIC ARP entry use this:

arp -s 02:AA:BB:CC:DD:1A

I used UBUNTU, and PUT the .enc file firmware file; it finally started loading after about 10 seconds. Then when it is complete the Diag Light will blink at varying rates until it finally reboots on its own, then the wireless light will light and you can webgui into

Turistov said...

Hello, I cant changr my firware using this information. First I change TCP/IP configuration. Switch off firewall. My WinXP do not accept"netsh interface ipv4 add neighbors 12 00-1d-12-34-56-78" command. Insteat it I use "arp -s [my MAC-adess]". Then I start PumpKin program with firmware, and plug in DC adaptor to my WZR-HP-G300NH2AP rowter. Some time past i receive message from program "Transmission is timed out. Transfer was aborted"
What`s wrong? Where is my mistake?

Anonymous said...

Hello every one.
I try to use this way for buffalo g450h
1- put the ip address
2 - firewall turn off
3- use the netsh interface ipv4 add neighbors in the cmd
4 - use the tftp and turn on the router
5 - Waite alots of time anf this message appear
timeout occurred
connect requset failed
also I try to upload by the Linksys TFTP utility
pleas if any one help me .

NoOne said...

Where can I get the .ENC firmware file!?

Thanks at all!!

Dan said...

The instructions worked perfectly. Particularly the part about the firewall being disabled and the arp setup. Thanks!

Martijn said...

Wow, this helps. Especially the advice to use the professional firmware with less Mb (I also had the 80% error) and to shut down the Windows firewall...

Anonymous said...

Worked like a champ; had to use MAC 02-AA-BB-CC-DD-1A to get it to work on a WZR-HP-G300-NH2

Andrea Gangini said...

If you are here because you bricked a Buffalo router model different from WZR-HP-G300NH, please note that the MAC address used in the TFTP recover procedure is MODEL DEPENDANT. For my WBMR-HP-g300N it was 02-AA-BB-CC-DD-30.
You can obtain the MAC of the bootloader by dumping via WIreshark or tcpdump the TFTP request that the router triggers when switching it on while pressing the AOSS button.
You have also another way of recovering a WBMR-HP-G300H: you can use the procedure described here which involves flashing a very special image which resides in RAM (therefore is lost between reboot); when you have gained access you can run the sysupgrade procedure using a dd-wrt image (uImage, not webflash). Using this (longer but straightforward) procedure I recovered my WBMR-HP-G300NH router.

Eva Smith said...


Really awesome blog and unique content & the process is very easy. i think it's very useful for us. i like it. I am from Linksys Router Support - Call 1-888-897-5899 (Toll Free) now for comprehensive tech support from Certified technicians, highly skilled in providing support for Linksys Router, Linksys Router Support, Linksys Support, available 24/7.

Follow this link Linksys Router Support

Eva Smith

EoptionsOnline said...

Hey, thanx for such a nice blog.hp networking switches

Eva Smith said...

Thanks for share awesome blog. i think it's very useful for me.. really amazing content... keep it up.,, :((

Follow this link Linksys Technical Support

Anonymous said...

Thank you for the tutorial.

One thing i could add is to do everything under a linux console and to use the MAC address 02-AA-BB-CC-DD-1A under WZR-HP-G300NH2.

I couldn't manage do it with the network discovery on windows and ubuntu.

Agent said...

After unsuccessful upgrade of an firmware of a router, the Router got periodic resets. The topic "TFTP recovery in Windows" helped me to recover my router. Many thanks to the author of this blog. Technical information: router WZR-HP-G300NH. PC with Windows 8 (64 bits). Firmware which was used for recovery was "wzrhpg300nh-pro-v24sp2-14998" (size: 11,8 MB).

Ray said...

I loaded a DD-WRT public release for the Buffalo WHR-HP-G300N into my WHR-300HP (they're sisters under the skin, I've been told). After discovering no additional advantage over the Buffalo DD-WRT release (except for the router turning up as an unknown device in Windows Network :), I attempted to revert, only to run into the ".enc" wall. I was hours attempting to sort it out, until I found this page. It took several tries, until I realized that indeed, you must use the server address. After that, the tftp application installed the firmware, and up came the Buffalo Pro release.

Thank you very much for this page, or I'd probably still be at it (g).

Anonymous said...

This post save my WHR-HP-G300N.
Thank you.

Anonymous said...

Oh well...I have a Janapese WZR-HP-G300NH v1, A0 A0
I was using the official buffalo dd wrt 19484 (I changed it to accept any firmware using the "# ubootenv setenv accept_open_rt_fmt 1" at the hidden maintenance page), then I tried to update to the latest dd wrt firmware using the web interface and it fail.
I didn't reset the router (since I already did the same update before), and now it's stuck doing the reboot cycle. (turns on, the red light stays for a while, reboot...)
I tried to tftp pretty much all the official buffalo firmwares from EU/US and JP even that old 1.60 (if I remember correctly, my router came up with the 1.64), all lan ports (I know it's number 4 =D) and I did use both mac addresses: my router mac and the 02:AA:BB:CC:DD:1A on windows 7 x64 with PumpKINtftp and ubuntu 12.10 using this same guide.
It upload all fine...but nothing happens after that.
Reading a lot of foruns etc, I find out that I need to upload an .enc (encrypted?) firmware but brainslayer told to another user that we can use the 1.65 EU that he upload before. I did use that firmware too but still the same...
So I can tftp the firmware image just fine but my router doesn't reflash the new firmware. Someone having the same problem or anyone can light some ideas for me?
To do this "tftp reflash" do I need to have that serial cable? Or thar serial thing is just to read the u-boot log?
Thanks for reading this, sorry for my bad english and any help is welcome =)

Anonymous said...

There's another method to unbrick the router which describes here:

But you have to use a USB to TTL converter to do the magic.

Someone provided these files an he claims he managed to unbrick his router.

1- Modified DD-WRT firmware:

2- Unmodified DD-WRT firmware:

I did it and worked so give it a try.

alex walker said...

I haven't had any explicit problems with my router since five years. Everything is working well and my network connection is really reliable and nice..And it works fast…

Visit my site Netgear Wireless Routers

Thanks & Regards


Anonymous said...

On Win XP, under wired connection's IP properties, IP set to, gateway and DNS both to, issued the "arp -s 02-aa-bb-cc-dd-1a" command *after* the router was powered up and the link was established (tray icon notification), issued a tftp PUT with Pumpkin TFTP Server right after and it worked.

Anonymous said...

After trying so many things from this page, I finally got Pumpkin to upload a firmware to my router. It took about 10 minutes after that for the red diag light to turn off and for the other lights to turn on. I set my PC to DHCP and received an IP and gateway. However, I could not ping the gateway IP of Then I realized I probably still had arp settings from the troubleshooting. I ran an administrative command prompt and issued two commands: "arp -d" and "arp -d". After doing that, I was able to get to the router page.

Vikram Chauhan said...

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog post.

linksys router support

Jayson said...

You saved my router. You freaking rock!!!

Anonymous said...

On my XP machine, when I run route print, I can't figure out my interface number. Mine looks like:

Interface List
0x1 .............. MS TCP Loopback interface
0x2 ..00 0e a6 91 18 a1 ... VIA Compatable Fas.

So what would my interface number be??


Jacy Thomas said...

Brick recovery through TFTP is not an easy task, it tried it many times, but didn't worked for me.

HP Power Cables

Eva Smith said...

Wow, Really Awesome blog. i think this is perfect Solutions....!!!!, I am very impressed reading by your article!! Good work!! Keep it up friend!!!

Linksys Router Technical Support

sonnjita said...

The VGA Stretcher LR allows users grant video signals over and above your A/V tray. The VGA Stretcher Collection may be used to lengthen an analog indicate to cover ranges up to 330 toes. Business common Category 5e (CAT-5e) wire is used for the extendable.

For more detail :

Alex Gold said...

I was reading your post and no doubt it was really informative..I got here what i was looking for..Thanks for sharing.. Good work!! Keep it up friend!!! Please visit this link Linksys Router Support

Tech Roger said...

this article is very nice....

forgot router password

sonnjita said...

This High Speed HDMI cable is designed in addition to screened to manage video answers connected with 1080p in addition to beyond, such as state-of-the-art show systems including 4K, 3d, in addition to Strong Coloration.

sketlyn MICHEAL said...

I think it looks amazing. I'm not sure I would have had the patience that you had though! burke steel santa barbara

Anonymous said...

Had the red diag light (WZR-HP-G300NHWZR-HP-G300NH). Used the pumpkin software, the MAC-Adress: 02-AA-BB-CC-DD-1A, disabled Windows firewall and the buffalo professional firmware. Worked finally!

MJ said...

I saw g300nh log. at that log.
router has changed its MAC address. i dont know when its changed.
but This 02-AA-BB-CC-DD-1F works. (not 02-AA-BB-CC-DD-1A)
tftp server(receive) go, waiting:20[sec]
Trying eth0
eth0 is duplex
eth0 link down
Trying eth1
eth1 is duplex
ag7100_check_link: _1000BASET
mac unit 1
Changing 1a to 1f <<---- Look here..
Load address: 0x81f00000
checksum bad
checksum bad

use firmware file size is under 20MB. in my case, buffalo dd-wrt firmware 15.4MB was fine.

Anonymous said...

I am trying the Ubuntu based process and getting "transfer Timed Out'

I am using a DD-WRT bin file. put buffalo_to_ddwrt_webflash-MULTI.bin

Not clear if this is the issue or if the file needs to have a TFTP extension as in the instructions.

Also before one can issue the sudo service networking start, you need to issue a tptp> quit command

Anonymous said...

thanks , worked for me

Andres said...

OMG I love you so much for this!! Couldn't make it work with with the Linksys TFTP utility but reading the comments i tried with PumpKIN and set the timeout to 60 and it worked perfectly.

Thank you so much for this

Max Behensky said...

Wow! What a huge win. I used this technique to unbrick my WHR-300HP router using Ubuntu 14.04 LTS.

Here are a few issues I ran into:

1. Setting a hard IP address for your ethernet interface in 14.04 is non-obvious (at least to me). If you run nm-connection-editor you can easily set the address.

2. You have to use the MAC address for YOUR router. On mine, the last 3 bytes were the 6 hex digits in the SSID section of the label on the bottom of the router. The label said:
For the first three digits, I used those in the blog. This may not be correct depending on your brand of router. You may be able to get them by running wireshark and powering on with the AOSS button held in.

3. On 14.04LTS, you don't seem to be able to do the arp -s command with the router powered off. If you do it with the router powered on, power it off, and then run tftp, the system forgets the arp entry when you power the router up again. I solved this by running two windows. In one, I did all the tftp commands before the put. In the other, I queued up the arp -s command ready to go. i plugged in the router, ran the arp -s command in one window, and then ran the tftp put command in the other. Success!

Max Behensky

Adrianer said...

Worked like a charm with the Linux instructions :)

An additional note in the instructions would be great:
If you connect the ethernet cable to one of the LAN ports (in my case LAN-1), use the MAC address printed on the router.
If you connect the ethernet cable to the WAN port, use the MAC 02:AA:BB:CC:DD:1A (at least for G300NH)

Adrianer said...

Forgot to add: I have the WZR-HP-G300NH revision "B0 B0".

Rusma said...

Hii, many thanks for your blog, I was closed to give up when my g300nh was bricked after more than 10 hours of trying to fix it.
My router is blink 2 twice interval.
I tried TFTP Recovery in Windows, trying many times, following your instruction, but without success and the final, I was trying to click the upgrade button set it to 60 and switch on the router not in rush, all calm and patient with that pro file : and YES, IT IS WORKING !!! it is not working with the file/fw that you mention at top, but working with that "pro" file !!!
Now my router is working perfectly.
Thank You!
At this moment, I really want to hug you and say many thankS!!

Anonymous said...

Thank you so much. I just bring my WHR-HP-G300N back to life. Windows 7, firewall off, using Pumpkin tftp, MAC address using SSID printed at back as this is MAC addr of router. Thank you!!!

Anonymous said...

thank you so much your method worked perfectly,it did not work with winXP bit it worked with win7.
than you!

Routertechnical Support said...
This comment has been removed by the author.
Ray said...

I'm the same 'Ray' @06/02/2013 :) Just used the procedure took a few attempts, but it saved me once more. If only I could get the separated WLAN mod to access the Internet-then I wouldn't be tempted to keep installing semi-official iterations of DD-WRT :)

Thank you again, and Happy New Year!

Anonymous said...

WHR-G300N V2 - Windows - it's worked only with this ajustment:

step 10: when pluging the power back I hold reset button;


When powered with the reset button held down, it attempts to download "firmware.ram" from a TFTP server at and sets its IP to Timeout is set to "10". After a timeout, the router continues to boot linux. If the reset button continues to be held down, the device resets once the busybox "press enter for prompt" is displayed.

Nation Wide Car said...

Tampa Limousine Rental
STL Airport Car Service
St Louis Airport Car Service
St. Louis Limo Rental
San Francisco airport car service
Seattle airport limo service
party bus Seattle
San Diego Bus Rental
San Antonio Bus Rental Service
Pittsburgh bus rental
Phoenix Bus Rental Service
Phoenix Airport Car Service
PHL Airport car service
Philadelphia bus rental
NY limo rental
Nashville party bus rental
Nashville limo service
MSP Airport car service
MKE Airport Transportation
party bus rental minneapolis
Milwaukee Party Bus rental
Miami Bus Rental Service
mia airport transportation services
Los Angeles Bus Rental
lga airport transportation service
LAX Limo Car Service
Las Vegas Limousine Rental

ankit rathore said...

Thank you for sharing this wonderful blog. Dell Printer Tech Support Number

Unknown said...

free web cam model
free adult video chat
free sex webcams
live adult cams
free sex webcams
Adult webcams Online
free live porn video
webcam model
Free Adult Video Chat
Free Sex Webcams
Solo Girls

Rose Bronwen said...

First thanks for this blog and this one solved all of my issues that i got. By the way, if anyone at here getting some technical problem in its Dell printer then contacts us or visits our website

expand your horizons said...

iOS 11 apps
iOS 11 compatibility

hp support said...

Nice information....thanks

HP Technical Support Number update USA HP all types devices problem Computer Printer Desktop Scanner Laptop etc. HP Technical Support Phone Number, HP Printer Technical Support Number, HP Printer Tech Support Phone Number, HP Computer Technical Support Number, HP Technical Support Number USA, HP Technical Support Phone Number Canada California near me service center toll free number +1-800 870 7412.

kimleong said...

Thank you so much your method worked perfectly.

Norton Help Number UK

Tech Support said...

nice post
linksys router customer service

john park said...

Thanks for sharing this informative post with us, keep updating us.

TP-Link Router Support

Jannifer Stone said...

Setup Netgear Range Extender
Fix your technical Problem Today with FixingBlog. We are providing Free solutions For the problems related to antivirus, Router, Range extender etc

varonica Basu said...

I like your information.We are providing information regarding Antivirus issue and give better solution kindly visit link
Mcafee Antivirus not working

David Den said...

Thanks for sharing kind of information with us .
We provide tech support information which helps users to resolve their technical issues. Belkin.Range

kirti verma said...

We are here to discuss the latest trending Device Netgear wireless router. So, how exactly fix this Netgear wireless router setup/Reset/troubleshooting and activation function. Let me take you through this. Netgear wireless router was introduced as the world's fastest grip on the device. For more details kindly visit Netgear setup

sri intan said...

gamat emas kapsul
agen qnc jelly gamat cimahi

fixissues said...

we provide the best service of the user who is face any problem that is related to the browser so you can contact our team.
Mozilla Firefox Support

David Den said...

Antivirus guide contains the antivirus tech information which provides to the user to get resolve their antivirus technical issues. antivirus guide

kirti verma said...

Antivirus Solutions If you have any issue regarding antivirus so Antivirus Guide is a solution to Antiviruses and protects you to junk updates.

Yolanda C. Hudson said...

TubeMate apk - Tubemate Youtube Downloader is the most recent published version of one of one of the most famous to download videos from Youtube.

David Den said...

Thanks for sharing informative information. Antivirus guide contains the antivirus tech information which provides to the user to get resolve their antivirus technical issues. antivirus guide

vidmate free said...

Very good information...........thanks admin

Amit Chaudhary said...

I will be grateful if yoս continue this in future. Numerous people
will be benefited from your writing. Cheеrs! Google Chrome is the best browser for the internet surfing and provides the many facilities of the user like many tabs open at one time
Microsoft Edge Support

Post a Comment