Buffalo WHR-G54S刷dd-wrt成功

早上一时手痒,把去年12月底买的Buffalo WHR-G54S刷成了dd-wrt。(关于什么是dd-wrt请看这里

关于步骤,首先把路由器恢复出厂设置,其ip地址变为192.168.11.1,然后把电脑用网线(注意,一定要用网线,不能用无线)连接,把电脑的ip地址设置为192.168.11.3。随后Win+R,然后输入“cmd”回车,定位到已经下载好的固件位置(我的为H:,固件的下载地址为http://www.dd-wrt.com/dd-wrtv2/downloads.php)这里我用的版本是 dd-wrt V23 sp2。然后输入 “<font color="#000000">tftp -i 192.168.11.1 PUT dd-wrt.v23_generic.bin</font><font color="#ff6600">”。先不要回车,把路由器断电,此时windows显示网络连接断开;然后加电,看到windows显示已连接,快速按下回车键。成功的话,稍等一会就回看到“</font><font color="#000000">Transfer successful: 3502080 bytes in 7 seconds, 700416 bytes/s </font>”这样的提示。此时不要断电,等到诊断红灯灭掉以后,就已经刷新成功了。(如果时机把握得不准,会有超时的提示,没关系,再次尝试直到成功为止<img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/smile_teeth.gif" />)此时路由器的ip地址变为192.168.1.1。

把电脑的ip地址设置为192.168.1.3,然后再浏览器的地址栏输入192.168.1.1,回车,就看到dd-wrt的界面了。默认的用户名是:“root”,密码为“admin”。随后就可以根据自己的需要设置了。此固件的功能比原厂的固件丰富了许多,而且没有原厂固件的修改任何一项设置都需要等待重起的烦人缺陷。

至于其它的,等测试一段时间以后再补充吧!

付--官方的安装说明:</p> <h2><font color="#333399">Buffalo WHR-G54S, WHR-HP-G54, WZR-HP-G54, and WZR-RS-G54</font></h2> <p><font color="#333399">(For some models you can use ddadder program.... </font><a href="http://www.dd-wrt.com/phpBB2/viewtopic.php?t=12166" rel="nofollow"><u><font color="#333399">http://www.dd-wrt.com/phpBB2/viewtopic.php?t=12166</font></u></a><font color="#333399">) </font> </p> <p><font color="#333399">Normally, most companies let you upload firmware directly from the user interface. Buffalo unfortunately encrypts their firmware, and they'll only accept encrypted firmware in their web interface. So the easiest way to replace the firmware turns out to be the same way you would "de-brick" a router with corrupt firmware. </font> </p> <p><font color="#333399">Namely, all the broadcom routers enter a special mode in the first few seconds after power is applied that allows a tftp transfer to directly program the flash rom with new firmware. So what you need to do is get everything ready to go, power up the router, and then send it the new firmware quickly. </font> </p> <p><font color="#333399">It turns out to be easier then it sounds. </font> </p> <p><font color="#333399">Gotchas: The special mode uses the <i>default</i> IP address of the router. So if you've changed the ip address of the router since you got it you need to set everything up on the <b>old</b> IP address not the new one. You also need to do this with a wired connection, not a wireless connection. This means that you need to give yourself a static IP address on the wired network (i.e. set your computer to use 192.168.11.2 instead of using DHCP). </font> </p> <p><font color="#333399">Use only v23 SP1 final or later. Older releases may cause trouble! </font></p> <div><font color="#333399">[</font><a title="Installation" href="http://pzlmg.spaces.live.com/wiki/index.php?title=Installation&action=edit§ion=21"><u><font color="#333399">edit</font></u></a><font color="#333399">]</font></div> <p><a></a></p> <h3><font color="#333399">TFTP Flashing Buffalo Routers under Windows</font></h3> <ol> <li><font color="#333399">For thoroughness, reset to </font><a title="Factory Defaults" href="http://pzlmg.spaces.live.com/wiki/index.php/Factory_Defaults"><u><font color="#333399">factory defaults</font></u></a><font color="#333399"> by holding the reset button while plugging in the router. Hold for <b>at least</b> 30 seconds. Unplug the router. </font> </li> <li><font color="#333399">Connect your computer directly to one of the LAN ports on the router. (You can use a regular cable or crossover). </font> </li> <li><font color="#333399">Because the Buffalo starts up with 192.168.11.1(or 192.168.12.1 for WZR-RS-G54), your computer's IP needs to be in the 192.168.11.0/24 subnet (e.g. 192.168.11.2, mask 255.255.255.0 or 192.168.12.2, mask 255.255.255.0 for WZR-RS-G54). It CANNOT be set to 192.168.11.1 as in the picture below, because it will conflict with the router. You will have to set a static IP. <b>A static IP is critical for the tftp procedure to work; a dynamic IP won't work even if the dynamic IP is currently set in the proper subnet.</b> For Windows XP, the following screen shots should help. After selecting "Internet Protocol (TCP/IP)," click on the Properties button to open the next screen. Enter the info as shown and click 'OK'. Leave Default Gateway <b>blank</b>. </font></li> </ol> <p><font color="#333399"> Open a command window. Go to Start->Run->"cmd". </font></p> <ol> <li><font color="#333399">Change your directory to the folder containing the firmware image. (Ex. <code>cd "C:Documents and SettingsAll UsersDesktop" (if you saved the .bin file to the Desktop)

  • Type tftp -i 192.168.11.1 PUT (file name of firmware image) like: tftp -i 192.168.11.1 PUT dd-wrt.v23_generic.bin. (For WZR-RS-G54 use 192.168.12.1 as the router IP.) Do not press enter yet.
  • There are a few methods for this step that might work:
    • Grab the power cable to the router (should be unplugged). Now, hit Enter to start the TFTP transfer and immediately connect the power to the Buffalo.
    • On some systems the order above appears to be incorrect. It worked in Windows XP if, while monitoring the properties tab of Network Places, you hit Enter right after Windows shows connected on the net adapter you are using. You may continue to get TFTP transfer "timed out"s unless you wait for port to connect first.
    • Some people have found that they have better luck if you plug in the power cable for the router first, then wait a few seconds until you see the red "DIAG" light come on the front of the router. As soon as you see that, you'll want to press Enter to immediately start the TFTP transfer.
  • All port LEDs will illuminate.
  • The LED on the LAN port will flash rapidly for about 6 seconds. The command will complete with a success printout, like Transfer successful: 3502080 bytes in 5 seconds, 700416 bytes/s
  • The router will reboot and then boot DD-WRT, wait until the bridge/diagnostic light turns off.
  • At this point, the router is ready to use. There is no need to reboot it (unplug/plug), although this is a safe precaution.
  • The router will be now be accessible on 192.168.1.1 netmask 255.255.255.0. You will need to change your IP to this range to access it for configuration. In other words, change your static IP from 192.168.11.2 to 192.168.1.2. (For the WB2-G54, the router is still accessible at 192.168.11.1).
  • The username is 'root' and the password is 'admin'.
  • Unplugging router can cause media detect network cards to show no media, ie "Network cable disconnected." When you start the tftp and plug the router in, the NIC doesn't detect media until after the tftp flash window has passed, so 60 seconds later the tftp times out and the router boots normally. If so, don't unplug the router. Get your tftp ready, hold down the Init (Reset) button on the router, with the Init held down and the Diag blinking, start tftp and immediately release the Init button. You'll never get the 'Cable Disconnected' errors, and it should flash right up.

    ***If you are still having trouble with timeouts, etc., you may want to try using the TFTP client from Linksys (ftp://ftp.linksys.com/pub/network/tftp.exe). Be sure to set it to retry at least three (3) times. Five (5) would be a safe number to start with.***