|
cuiran211 发表于 2012-1-21 13:08
这个怎么刷回去 刷回原厂
Going back to Buffalo Firmware
I tried many times to TFTP without success. I got disheartened as my old Belkin 7230-4 was a piece of cake. You must follow these instructions for a successful TFTP flash. I have used these myself to flash my own WHR-G300N V2 back to Buffalo firmware.
To do this you can use Ubuntu 9.04 Desktop Live CD. I used Ubuntu 10.04 which I have installed on my laptop.
1. Get the Buffalo firmware from their site. You may need to choose the right region, so I won't link here.
2. Get TFTP app
 On ubuntu enable Universe repositories
 Update repositories using
sudo apt-get update
 Use
sudo apt-get install tftp
3. Hold the reset button on your router for at least 10 seconds. I didn't do a 30/30/30 reset, but you might want to.
4. Unplug all ethernet cables and the power cable.
5. Connect your computer through ethernet directly to your router but leave the router turned off.
6. Disable NetworkManager. In Ubuntu 9.10, run
sudo service networking stop Or, in Ubuntu 10.04, run sudo service network-manager stop
7. Set IP of ethernet interface to "192.168.11.2". In Ubuntu, run
sudo ifconfig eth0 192.168.11.2 (assuming eth0 is your ethernet interface)
8. set netmask to "255.255.255.0" I think this is default but just to be safe, run
sudo ifconfig eth0 netmask 255.255.255.0
9. Make entry in the ARP table corresponding to the router. run
sudo arp -s 192.168.11.1 [MAC ADDRESS OF ROUTER]
 The MAC address of router is the SSID printed on the sticker, but every second digit/letter is followed by a ":", so you end up with something like "00:1D:73:8C:8D5" (THIS IS AN EXAMPLE DO NOT USE THIS NUMBER... I ACTUALLY JUST MADE IT UP)
 what this really does is tell the network that 192.168.11.1 (the IP address that the router will take for itself) corresponds with the MAC address of the router.
 I'm not sure the arp table business is entirely necessary but it cannot hurt... also this is the one step i have absolutely no idea how to do in windows...
10. At this point you basically have a 1 computer network set up and your computer will be expecting the router (defined by its MAC address) to show up on 192.168.11.1 (which is the address the router will ask for/respond on when it is turned on)
 Important: Before starting TFTP navigate (on the shell) to the folder where you downloaded the firmware (otherwise you can not upload it using TFTP)
 TFTP
 Run TFTP
tftp
 Set verbose mode on (so we know what's going on);
tftp> verbose
Verbose mode on.
 Binary mode on (because we are uploading a binary file);
tftp> binary
mode set to octet
 Trace on (so we get feedback on our commands);
tftp> trace
Packet tracing on.
 Rexmt 1 (to retry the upload on failure every 1 second);
tftp> rexmt 1
 And timeout to 60 (repeatedly retry the upload for 60 seconds before giving up)
tftp> timeout 60
11. in tftp connect to 192.168.11.1 (does not matter that router is still turned off)
tftp> connect 192.168.11.1
 At this point you aren't really "connected" in the sense that your computer requires any feedback from the router. tftp is basically just prepped to send the correct file to the correct address, as long as all the other pieces of the equation (the router) end up in the right place at the right time.
 now get ready to plug in your router, but don't do it yet. Also, make sure your computer is connected to one of the LAN ports of the router, not the WAN port (the WAN port is outlined in blue)
12. In tftp put [firmware]
tftp> put whrg300nv2-182
 At this point 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 (because that's how we set up the tftp client)
13. Plug in the power cord to the router
 The router will start up and now 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 seconds
14. After the transfer is complete, wait about 5-10 minutes (more like 6 minutes I think) during this wait the red light on front of the router will blink and then go off, eventually the wireless led comes on. (wireless led looks like a radar thing... don't know how to describe it really)
15. When the wireless led is on, you are ready to go.
16. Enable NetworkManager. In Ubuntu 9.10, run
sudo service networking start Or, in Ubuntu 10.04, run sudo service network-manager start
|
|