Buffalo WZR-HP-G300NH brick after flashing WHR firmware

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page Previous  1, 2, 3, 4  Next
Author Message
wigglemyworm
DD-WRT Novice


Joined: 22 May 2013
Posts: 1

PostPosted: Wed May 22, 2013 5:23    Post subject: Reply with quote
i get tftp is not recognized as a command i'm so lost
Sponsor
seemebreakthis
DD-WRT Novice


Joined: 14 Jan 2012
Posts: 46

PostPosted: Wed May 22, 2013 10:28    Post subject: Reply with quote
wigglemyworm wrote:
i get tftp is not recognized as a command i'm so lost


Have you tried the method I mentioned?

http://www.dd-wrt.com/phpBB2/viewtopic.php?p=715552, 3rd post from the top.

I actually did brick my router by accidentally flashing a firmware intended for other routers, so I know for a fact this method works.

And although it talks about WZR-HP-G300NH2, I am quite sure it will work for a lot of other Buffalo router models too.
limdul
DD-WRT Novice


Joined: 25 Aug 2014
Posts: 1

PostPosted: Mon Aug 25, 2014 12:19    Post subject: Reply with quote
For anyone finding this post, the following works under Windows 8.1:


  1. Connect pc and router to a switch, leave router powered off
  2. Turn off windows firewall
  3. Set the computer's static IP to 192.168.11.2, netmask 255.255.255.0, gateway/DNS 192.168.11.1.
  4. Enter cmd command: route print
  5. Find interface number for the LAN card (here 3)
  6. Enter cmd command: netsh interface ipv4 add neighbors 3 192.168.11.1 02-AA-BB-CC-DD-1A *REPLACE THE 3 WITH INTERFACE NUMBER*
  7. Power on router
  8. Wait exactly 10sec (use stop watch)
  9. Enter cmd command: tftp -i 192.168.11.1 put buffalo_to_ddwrt_webflash-MULTI.bin *DONT USE webupgrade firmware*
  10. Wait 10 min (really... wait!)
  11. Optional: Enter cmd command: netsh interface ipv4 delete neighbors 3 192.168.11.1 02-AA-BB-CC-DD-1A
  12. Optional: Turn on windows firewall
rkaede
DD-WRT User


Joined: 06 Aug 2009
Posts: 99

PostPosted: Tue Aug 26, 2014 1:45    Post subject: Reply with quote
from what i know this router have a rocksolid bootloader.
almost unbrickable.
u just need to be patient. Cool

_________________
WZRHPG300NH - DDWRT v26854

ASUS AC68U merlin fw
Linksys EA6700 - factory firmware - sold
DD-WRT v3.0 --- 27506
r25408
vasek00
DD-WRT Guru


Joined: 06 Nov 2010
Posts: 3312

PostPosted: Tue Aug 26, 2014 8:17    Post subject: Reply with quote
limdul wrote:
For anyone finding this post, the following works under Windows 8.1:


  1. Connect pc and router to a switch, leave router powered off
  2. Turn off windows firewall
  3. Set the computer's static IP to 192.168.11.2, netmask 255.255.255.0, gateway/DNS 192.168.11.1.
  4. Enter cmd command: route print
  5. Find interface number for the LAN card (here 3)
  6. Enter cmd command: netsh interface ipv4 add neighbors 3 192.168.11.1 02-AA-BB-CC-DD-1A *REPLACE THE 3 WITH INTERFACE NUMBER*
  7. Power on router
  8. Wait exactly 10sec (use stop watch)
  9. Enter cmd command: tftp -i 192.168.11.1 put buffalo_to_ddwrt_webflash-MULTI.bin *DONT USE webupgrade firmware*
  10. Wait 10 min (really... wait!)
  11. Optional: Enter cmd command: netsh interface ipv4 delete neighbors 3 192.168.11.1 02-AA-BB-CC-DD-1A
  12. Optional: Turn on windows firewall


As arp team use is possible.
1. To OFF a router
2. Set the computer static IP to 192.168.11.2/255.255.255.0, gateway 192.168.11.1.
3. On the personal computer to gather - "arp -a"
4. If there is a mention about 192.168.1.1 or 192.168.11.1 to remove :
"arp -d 192.168.1.1" or "arp -d 192.168.11.1"
5. To add record for MAC 02-AA-BB-CC-DD-1A - "arp -s 192.168.11.1 02-AA-BB-CC-DD-1A"
6. On the personal computer to make team - "tftp -i 192.168.11.1 put buffalo_to_ddwrt_webflash-MULTI.bin"
7. To ON a router
8. On the personal computer there has to be a record about data transmission on a router
9. To remove the record arp with 192.168.11.1 - "arp -d 192.168.11.1"

Note:
- On the personal computer firewall has to be disconnected
- Check of the records arp of the table "arp -a"
RangerZ
DD-WRT Novice


Joined: 24 Feb 2014
Posts: 24

PostPosted: Wed Sep 03, 2014 15:27    Post subject: Bricked Router during hard reset Reply with quote
I have bricked both of my Buffalo WZR-HP-G300NH Routers (rev A0 A3 and A0 D0).

I was trying to install VPN the easyway and after updating the firewall rules was unable to access the router (Buffalo DD-WRT V19484). After some unsuccesful reboots, I did a hard reset (30/30/30) expecting to reboot and reload the backup file. I am unable to access the router and there is no ping at the old or default 192.168.11.1 address.

I then took my functioning bridge (Buffalo DD-WRT V14998) and figured I would upgrade to Buffalo DD-WRT V19484 and reload the backup from the first router. Again performed a hard reset and bricked number 2. again no ping.

When powered on, both routers show power and moive mode lights imediatly. They then illuminate the balance of lights at around 4-5 seconds. Security, Wireless and Router turn off quickly. The Diag light is on for about another 15 seconds.

The A0 D0 (former bridge) has the wireless light flashing and every once and a while I see the old LAN IP address displayed with arp -a after a reboot.

The A0 A3 (router) does not have the wireless light flashing. I had tried to configure the AOSS button to disable the wireless but was of the opinion that this function did not work. I wanted this to be a router with no wireless so if the wireless is dead and router works I'm OK with that

I have tried the procedures in the product WIKI, as well as the following links and get the same results. No Respone from the server. Have not gone Ubuntu or opened the box.

http://www.dd-wrt.com/wiki/index.php/Buffalo_WZR-HP-G300NH
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=87579&postdays=0&postorder=asc&start=0
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=715552,
http://g300nh.blogspot.com/2010/06/firmware-flash-and-brick-recovery.html
http://thewichitacomputerguy.com/blog/unbrick-buffalo-wzr-hp-g300nh-router-solid-diag-and-endless-reboot

I realize that timing is a big part of this. The red light comes on at anbout 4-5 seconds and I recall a comment that the ideal time was just before the light to come on, which is less than 10 seconds. Using the Linksys TFTP.exe and the suggested command lines from the dos prompt opens a TFTP Dialog box. I had expected this was a command line utility and would run imediatly with the parameters supplied. I am not sure I am using the correct tool and that this is impacting my timing.

I have tried to unbrick on both XP and Vista. The NETSH family of commands are not the same between these OSs. Specificaly the neighbor variable is not available in XP, and the ipv4 variable is just ip.

XP Commands I believe are
route print
arp -a
arp -s 192.168.11.1 02-AA-BB-CC-DD-1A

The Vista and up commands are:
route print
arp -a
AND/OR
netsh interface ipv4 show neighbors
netsh interface ipv4 add neighbors 18 192.168.11.1 02-AA-BB-CC-DD-1A
netsh interface ipv4 delete neighbors 18 192.168.11.1 02-AA-BB-CC-DD-1A
OR
netsh interface ipv4 delete arpcache

tftp -i 192.168.11.1 put buffalo_to_ddwrt_webflash-MULTI.bin

Others have indicated that the MAC address above is that of the boot loader. Not sure, but this is Brainslayer suggestion so I'll go with it. Using my device LAN MAC did not work either.

I am running through a (GB) switch as suggested. I have no slower switches left. Disbaled all other network connections, set the IP as suggested, firewall off. I hve tried TFTP, TFTP2 and PunKIN. All files are located in C:\DD_temp and run from there.

Any suggestions are appreciated.
Malachi
DD-WRT Guru


Joined: 17 Jul 2012
Posts: 7209
Location: Columbus, Ohio

PostPosted: Wed Sep 03, 2014 19:24    Post subject: Reply with quote
Hook up a serial cable so you can see in putty the right time to send the firmware.
If that fails, I have used this guide http://scarygliders.net/2010/02/23/hacking-around-the-japanese-buffalo-wzr-hp-g300n/comment-page-1/?__ to unbrick a few buffalo atheros routers that had non working lan ports.
I used hyperterminal and loady command with a serial connection to load the firmware onto the router, then I amended that guide to my specific unit and unbricked both of them.

_________________
I am far from a guru, I'm barely a novice.
RangerZ
DD-WRT Novice


Joined: 24 Feb 2014
Posts: 24

PostPosted: Wed Sep 03, 2014 20:56    Post subject: Serial Cable Specifics Reply with quote
Can you please be more specific on the how to hook up a serial cable,the specific cable and process.

Thanks
Malachi
DD-WRT Guru


Joined: 17 Jul 2012
Posts: 7209
Location: Columbus, Ohio

PostPosted: Wed Sep 03, 2014 21:14    Post subject: Reply with quote
Google dd-wrt serial recovery. And your router's model + serial pinout or recovery.
Also go on beau and buy a USB to uart adapter. I wouldn't buy the Nokia clone cables. I bought 3 and none worked.

_________________
I am far from a guru, I'm barely a novice.
jonathanm1978
DD-WRT Novice


Joined: 01 Oct 2010
Posts: 34

PostPosted: Sat Aug 29, 2015 15:17    Post subject: Reply with quote
I'd also like to add that I just accomplished this under Windows 10...

(no..I didn't voluntarily WANT win 10..my 3 year old clicked on upgrade while doing abc-mouse on my desktop...and I haven't reverted yet.)

I used my Android phone as stopwatch to exactly 10 seconds.
I had this router sitting in a box for two years, I could get lights on (red wheel at boot, then restart and 3 lights for power, security, and wireless)...but the router wouldn't respond. I dont know what caused the issue...I just know it quit working one day and wouldn't let me back into setup. I put it up thinking it was shot....and have since moved on to very high-end routers, like the Netgear D7000, Netgear D6000, TP-Link C3200, and another Netgear nighthawk series that I can't name because of NDA.
Just found it and decided to try what I could to get it back to working..mostly obsessive compulsive crap that I have with stuff that won't work...
But, now it works and seems to be fine.


limdul wrote:
For anyone finding this post, the following works under Windows 8.1:


  1. Connect pc and router to a switch, leave router powered off
  2. Turn off windows firewall
  3. Set the computer's static IP to 192.168.11.2, netmask 255.255.255.0, gateway/DNS 192.168.11.1.
  4. Enter cmd command: route print
  5. Find interface number for the LAN card (here 3)
  6. Enter cmd command: netsh interface ipv4 add neighbors 3 192.168.11.1 02-AA-BB-CC-DD-1A *REPLACE THE 3 WITH INTERFACE NUMBER*
  7. Power on router
  8. Wait exactly 10sec (use stop watch)
  9. Enter cmd command: tftp -i 192.168.11.1 put buffalo_to_ddwrt_webflash-MULTI.bin *DONT USE webupgrade firmware*
  10. Wait 10 min (really... wait!)
  11. Optional: Enter cmd command: netsh interface ipv4 delete neighbors 3 192.168.11.1 02-AA-BB-CC-DD-1A
  12. Optional: Turn on windows firewall
qiushi5509
DD-WRT Novice


Joined: 11 Apr 2015
Posts: 7

PostPosted: Sat Aug 29, 2015 18:25    Post subject: Re: Buffalo WZR-HP-G300NH brick after flashing WHR firmware Reply with quote
RBMaurice wrote:
Dear DD-WRT,

I have been using DD-WRT with a lot of pleasure the last couple of years, and as I came home from China after half a year I thought it was a good moment yesterday to upgrade my router(WZR-HP-G300NH) with the latest firmware.

At first I tried the official DD-WRT upgrade for the WZR-HP-G300NH but the old DD-WRT install didn't seem to accept that, so than I went to the DD-WRT website to get the latest unofficial update. Unfortunately (probably because I didn't sleep for 40 hours because of my travel back to Holland) I downloaded the WHR-HP-G300NH firmware and it updated without any notice and even said "succesful", but as I can understand now it bricked the router.

The router is now stuck at the red DIAG led and reboots every 15 seconds, I did 30/30/30 reset, I tried every TFTP method(Linux, Windows 7, Windows XP, with or without switch in between and with multiple router firmwares from the buffalo website) but it never seems to accept the files. I always see notices that it tries to push it to the router but I never saw the router accept anything during boot-up so after a day of trial and error I'm still stuck with a bricked router and I don't see any solution.

What should I pay attention to for a final try or is there any other normal solution next too TFTP? I read some similar stories but I never get it working Sad

Hope you can help me, before I need to buy a new router... And what would you suggest if I did(120mbit internet so it needs to be quick Laughing )?


1. Download a TFTP client if needed. I Used Windows 7 TFTP client which can be added in “Turn Windows features on or off.”
2. Unplug all the Ethernet cable and the power cable and connect the computer directly to the router(still leave it off)
3. Configure Windows PC NIC connected to router with the following IP settings:
IP address 192.168.11.2
Subnet mask: 255.255.255.0
Default gateway: 192.168.11.1
4. Turn off Windows firewall.
5. Open a Windows command prompt as Administrator and type the following to get the interface number of the NIC you have attached to the router:
route print
In my case, my "Realtek PCIe GBE Family Controller" is 13.
6. Type the command below to get the ARP binding.
Replacing the number 13 with the interface number you have assigned to your NIC based on the results on step 5.
netsh interface ipv4 add neighbors 13 192.168.11.1 02-AA-BB-CC-DD-1A
7. Using Windows 7 TFTP client, I enter the following (DO NOT HIT ENTER AFTER TYPING THIS HOWEVER)
tftp -i 192.168.11.1 put openwrt-ar71xx-generic-wzr-hp- g300nh2-squashfs-tftp.bin
8. Plug the power cable into the router and wait 10 seconds before you hit enter for the TFTP command you just entered above. The TFTP command will let you know if the transfer was successful.
9. After 5-10 minutes, unplug and replug the router.
10. Remove the previously added static arp entry. Remember to replace 13 with the interface number of the NIC you are using based on the route print results.
netsh interface ipv4 delete neighbors 13 192.168.11.1 02-AA-BB-CC-DD-1A
11. Configure Windows PC NIC connected to router with the following IP settings:
IP address 192.168.1.2
Subnet mask: 255.255.255.0
Default gateway: 192.168.1.1
12. I had no WebGUI so I had to telnet into 192.168.1.1. Afterwards, I entered the following:
a. cd /tmp
b. wget ftp://dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2011/06-14-11-r17201/buffalo_wzr-hp-g300nh2/wzr-hp-g300nh2-dd-wrt-webupgrade-MULTI.bin
c. dd bs=28 skip=1 if=/tmp/wzr-hp- g300nh2-dd-wrt-webupgrade-MULTI.bin of=/tmp/firmware.bin
d. sysupgrade -n /tmp/firmware.bin
13. Once I had the community version of DD-WRT installed, you can install the original official Buffalo firmware that came with the router.
14. If you do not have the CD that came with the router, you can download the CD ISO from Buffalo’s website and look for the download for the CD image for WZR-HP-G300NH Version 2. In the ISO, there is the original firmware named Professional17798.enc.
15. Unplug the power cable to the router.
16. Configure Windows PC NIC connected to router with the following IP settings:
IP address 192.168.11.2
Subnet mask: 255.255.255.0
Default gateway: 192.168.11.1
17. Type the command below to get the ARP binding. Replace the number 13 with the interface number you have assigned to your NIC based on the results on step 5.
netsh interface ipv4 add neighbors 13 192.168.11.1 02-AA-BB-CC-DD-1A
18. Open Windows command prompt and cd into directory where you copied the original firmware. In my case, I had it in c:\temp.
cd c:/temp
19. Using Windows 7 TFTP client, I enter the following (DO NOT HIT ENTER AFTER TYPING THIS HOWEVER)
tftp -i 192.168.11.1 put Professional17798.enc
20. Plug the power cable into the router and wait 10 seconds before you hit enter for the TFTP command you just entered above. The TFTP command will let you know if the transfer was successful.
21. After 5-10 minutes, unplug and replug the router. I would wait 10 minutes to err on the side of caution.
22. Remove the previously added static arp entry. Remember to replace 13 with the interface number of the NIC you are using based on the route print results.
netsh interface ipv4 delete neighbors 13 192.168.11.1 02-AA-BB-CC-DD-1A
23. Configure Windows PC NIC connected to router to use DHCP settings and disable then re-enable the NIC. You should get a network address from the 192.168.11.x network.
24. You should now be able to log into the WebGUI http://192.168.11.1.
25. After successfully logging into the router, I downloaded from Buffalo’s website “WZR-HP-G300NH2 Professional Firmware V24-SP2 build 19152” which was released on 04/25/12.
26. Using the WebGUI, I was able to successfully update the firmware to the latest version. Hope this helps someone else.
isuru
DD-WRT Novice


Joined: 30 Jan 2012
Posts: 1

PostPosted: Sat Aug 13, 2016 10:20    Post subject: Reply with quote
BrainSlayer wrote:
you may flash then later dd-wrt again. this will work from buffalos webinterface as well


This simple statement (+yousaf465s link) saved my router after attempting various different .bin and .enc files from other threads. Maybe I missed it in the wiki as well?

Thank you so much!

Question: All the files I've uploaded (and failed with) through TFTP, do I need to delete them or have they been auto-flushed once flashed?
bgon04
DD-WRT Novice


Joined: 18 Aug 2016
Posts: 3

PostPosted: Thu Aug 18, 2016 23:43    Post subject: Reply with quote
FYI... if you revert back to Buffalo stock (wzrhpg300nh-174) and then flash the current r30432 beta (buffalo_to_ddwrt_webflash-MULTI) through the GUI, it works fine.

With the beta, I did notice a significant power decrease in wireless connectivity. It appears the official buffalo DD-WRT is custom and increases the power output which I was unable to change in the beta copy. So, I reverted back.
positronic
DD-WRT Novice


Joined: 11 Apr 2017
Posts: 3

PostPosted: Tue Apr 11, 2017 17:28    Post subject: Reply with quote
limdul wrote:
For anyone finding this post, the following works under Windows 8.1:


  1. Connect pc and router to a switch, leave router powered off
  2. Turn off windows firewall
  3. Set the computer's static IP to 192.168.11.2, netmask 255.255.255.0, gateway/DNS 192.168.11.1.
  4. Enter cmd command: route print
  5. Find interface number for the LAN card (here 3)
  6. Enter cmd command: netsh interface ipv4 add neighbors 3 192.168.11.1 02-AA-BB-CC-DD-1A *REPLACE THE 3 WITH INTERFACE NUMBER*
  7. Power on router
  8. Wait exactly 10sec (use stop watch)
  9. Enter cmd command: tftp -i 192.168.11.1 put buffalo_to_ddwrt_webflash-MULTI.bin *DONT USE webupgrade firmware*
  10. Wait 10 min (really... wait!)
  11. Optional: Enter cmd command: netsh interface ipv4 delete neighbors 3 192.168.11.1 02-AA-BB-CC-DD-1A
  12. Optional: Turn on windows firewall


Resurrecting this old thread because its still pertinent and contains valuable information.

I think this is important especially the timing after plugging in the router, 10 seconds more or less before taping Enter at step 9

Step 6 its worthy a note that entering;
Code:
arp -s 192.168.11.1 02-AA-BB-CC-DD-1A


Is exactly the same and works under Windows, just in case anyone else wonders about this.

Had to diggin to ths post/information since now theres no way to upgrade the router firmware unless you tftp the upgrade as I found out at the cost of bricked device.
DSG
DD-WRT Novice


Joined: 25 Sep 2011
Posts: 1

PostPosted: Mon Sep 25, 2017 10:17    Post subject: Reply with quote
Hi,
I have the same problem but I can not use this guide (http://g300nh.blogspot.com/2010/06/firmware-flash-and-brick-recovery.html) for my case.
Tftp return the message:
Code:
Transfering file buffalo_to_ddwrt_webflash-MULTI.bin to server in octet mode...
Transferring data from 192.168.11.1...
Error occurred during the file transfer (Error code = 0):
Timeout expired. Retries expired.


Update:
Try enter command tftp -i ... put after power on router (about 10 seconds), tftp return message:
Code:
Transfering file buffalo_to_ddwrt_webflash-MULTI.bin to server in octet mode...
Transferring data from 192.168.11.1...
File buffalo_to_ddwrt_webflash-MULTI.bin was transferred successfully.
12755196 bytes transfered for 15 seconds, 0 bytes/second


But still stuck at diag led and reboot ....

I have tried with MAC 02-AA-BB-CC-DD-1A also with MAC on my router.
Any solution for my case. Please!
Goto page Previous  1, 2, 3, 4  Next Display posts from previous:    Page 3 of 4
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum