Wzr-hp-g300nh2 restore original firmware

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.

Read the full text

This article is reproduced from: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=146233&postdays=0&postorder=asc&highlight=g300nh2&st…

Report

Reward

0 like

0 collection

wechat

QQ

microblog

share

Other popular articles by the author

PHP queries MySQL with Chinese conditions through PDO.

Go multi thread concurrency to avoid blocking

Outlook bulk mail

Solution of 8024402f problem in Windows 2008 R2 update patch

Similar Posts: