WZR-HP-G300NH2 恢复原厂固件

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.

转载于:https://my.oschina.net/mikezhang/blog/83442

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值