WHR-G300N/zh cn

From DD-WRT Wiki

Revision as of 13:46, 25 February 2018 by Ian5142 (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Contents

[edit] First Time Flashing instructions

Buffalo, 不幸的是, 加密了他们的固件, 从web界面上刷机的话,他们的路由器只接受加密的固件.

WHR-G300N 现在只能 被 dd-wrt V24-preSP2 支持, 由 Where do I download firmware? 创建. 到 Brainslayer latest build folder最新目录下的 WHR-G300N 子目录, 下载固件 firmware.tfp 文件.

第一次刷机,TFTP方法可以绕开‘加密’固件的要求. 事后, 路由固件可以如常在web界面改变.


[edit] TFTP flashing

[edit] The easy way

一个便利的方法来刷新固件:

每次路由器启动时,会在192.168.11.2的tftp上寻找一个名为"firmware.ram"的文件。如果你开启以一个tftp服务器 (e.g. TFTP32) 并提供该文件 (简单的把firmware.tftp改名), 路由器会自动取得文件并刷新. 这样就不需要在特定的时间来输入,它会全自动进行.

使用TFTP32刷新路由的步骤:

  1. Perform a reset on the router. This is done by holding in the reset button for about 20 seconds with the router powered on. You will see a bunch more lights illuminate when it's been reset.
  2. Statically set your computer's IP to 192.168.11.2, subnet mask 255.255.255.0, no gateway. Make sure your computer's and firewall are off, and the only thing connected to the router is the power cable, and the Ethernet cable coming from the computer.
  3. Download TFTP32 Standard, install it somewhere, and run it.
  4. Where it says Server Interface, this is simply which of your network adapters the server will be running on. You'll want to choose 192.168.11.2 from the dropdown. Note: This will only detect IPs of network adapters that are up, so be sure your router has power and is hooked up to your PC with an ethernet cable before you run TFTP32.
  5. Click Settings.
  6. Where it says Base Directory, click Browse and navigate to wherever you've placed your "firmware.ram" file.
  7. Under Global Settings, the only box you want checked is TFTP Server.
  8. I left TFTP Security and TFTP Configuration settings alone, but if you know better, then change what you need to.
  9. Under Advanced TFTP Options, made sure Show Progress Bar was checked, and also Checked Bind TFTP to this address and set it to my network adapter's address. Then hit Okay.
  10. If it says you need to restart TFTPD32, click Okay, then close and reopen TFTPD32. Again, make sure that your router is on before you run TFTP32, and that the correct network adapter IP is selected.
  11. Now, unplug the power to your router for a second, then plug it back in.
  12. The red light will probably start flashing. After a few seconds, you'll see a line pop up in the TFTP Server status window showing the progress of the file transfer. It will disappear after a couple seconds.
  13. The red light will flash and go solid a lot for a couple minutes.
    • DO NOT UNPLUG THE POWER UNTIL IT IS DONE!
    • Stop the TFTP server after the transfer is complete (light is solid) or else the router will restart the flash process again after flashing is complete.
  14. When it's done, you will see it reboot, then all the normal green lights will illuminate.
  15. Don't forget to set you computer's IP and DNS back to Dynamic.
  16. Once your computer has grabbed a 192.168.1.x IP, try to load http://192.168.1.1. You should see a DD-WRT page wanting you to pick a new password. Don't do it just yet.
  17. The rest of these steps are to merely ensure that your NVRAM is cleared of all the old data.
  18. Unplug your router's power, leave it out for 30 seconds, then plug it back in.
  19. Once it's up again and your computer has an IP, go to http://192.168.1.1 again, pick any name and password, and it should let you in to DD-WRT.
  20. Now, do another hard reset on the router.
  21. Once it's back up, go to http://192.168.1.1 again, pick your name and password, and go about setting up your router.

Mekanik 22:35, 27 September 2009 (CEST) This method worked just fine for me today; just a couple points:

Item 10: TFTP32 didn't save the changes I made so I reconfigured it and ignored it's request to restart it.

Item 12: After the transfer is complete, close TFTP32. If you don't, it will fetch the firmware again when it reboots! --

Alexis October 8, 2009 - It worked seamlessly for me as well. Same remark as Mekanik, shutdown the TFTP server at the end of the transder.

vtomer December 27, 2009 - Mac instructions can be found here : http://www.thevivekspot.com/2009/12/how-to-flash-buffalo-routers-firmware_27.html


--LokeTheMan 09:11, 7 June 2010 (CEST) The computer fetched only local IP for the tftp32 until I found to plug in a routers lan-slot instead of wan, after that operation ran through easily.

[edit] First suggested solution

路由器可以用 tftp.exe 刷新,或者linux等其他操作系统上的tftp程序. 我发现这能很好的工作. Others prefer the tftp32 method below. To flash with tftp:

  1. Do a reset on your router to restore it to default values
  2. Set up your tftp according to note 11 of the peacock announcement. http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486 Set your IP to 192.168.11.1 and your computer static IP to 192.168.11.2. Make sure wireless is off and the only thing connected to either the router or the computer is the cable from the computer's ethernet port to the LAN port of the router. Firewalls disabled.
  3. Select firmware.tftp as the file to transfer, from wherever you downloaded that file to.
  4. Unplug the router and plug it in. Count to 1 and then hit upgrade. It should go and you should see if flash. If you don't see the flash upgrading after a minute, repeat. MAKE SURE YOU DO NOT UNPLUG THE ROUTER IF IT IS UPGRADING. Timing is everything. I found that if you waited until the red light was solid, you were too late.
  5. Wait. Open a webpage and wait until you can access the router at 192.168.1.1. You will have to set your computer back to auto IP and auto DNS to get to the router and 192.168.1.1.
  6. Remove the power cord to the router and count to 30. Plug the power back in.
  7. Wait. Open a webpage and wait until you can access the router at 192.168.1.1. You will have to set your computer back to auto IP and auto DNS to get to the router and 192.168.1.1.
  8. Set the password and user name to anything you wish. Then do ANOTHER hard reset on the router.
  9. Wait. Open a webpage and wait until you can access the router at 192.168.1.1. You will have to set your computer back to auto IP and auto DNS to get to the router and 192.168.1.1.
  10. When you can access the router, you should again be asked for your username and password. Set these and then configure your router the way you want it.

Someone else has stated that 'the trick with this router is to wait for the blinking red light to stop and then start the tftp transfer. Be ready to press enter the very moment the red diag light stops blinking." I found that was too late.

请注意tftp可以在linux中运行得如windows上一样好。 The tftp32 program below is a windows only program.

[edit] Serial flash

It is possible to flash this device through its serial interface. This is also handy for troubleshooting.

  • Solder pins to the 4 pin serial header near the Wi-Fi part:

  • Prepare TFTP server (located in the download area)
  • Download the latest DD-WRT WHR-G300N build to the root folder of the tftp, and rename it to firmware.bin
  • Set the IP address of the computer or device running the tftp server to 192.168.11.2/24
  • Set your console program to 57600, 8, n, 1
  • The boot timeout is 3 seconds, so you will have to be very fast with the next step
  • While powering on, the following message will display at the console:
---------------------
Please choose the operation:
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
9: Load Boot Loader code then write to Flash via TFTP.
---------------------
  • Select [4], and put in this command:
run ut_fw
  • Then, the firmware.bin image will be loaded from the tftp server and automatically flashed
  • After the automatic reboot, DD-WRT will be accessible at 192.168.1.1

[edit] Links

See this thread and thread linked within that thread for further guidance: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=38307

WHR-G300N's FCC application submitted 2008-Sep-09 approved 2008-Sep-10 (FCC ID: FDI-09101538-0):
https://fjallfoss.fcc.gov/oetcf/eas/reports/ViewExhibitReport.cfm?mode=Exhibits&RequestTimeout=500&calledFromFrame=N&application_id=818365&fcc_id='FDI-09101538-0' (Ralink 3052 F "RT3052F" SoC CPU Network Processor + WLAN Controller)