WHR-G300N

From DD-WRT Wiki

Revision as of 00:07, 22 September 2009 by LoganA (Talk | contribs)
Jump to: navigation, search


Contents


First Time Flashing instructions

Buffalo, unfortunately, encrypts their firmware, and their routers will accept only encrypted firmware in the web interface.

WHR-G300N is now only supported by dd-wrt V24-preSP2, created by BrainSlayer . Go to the Brainslayer 12672 folder and the wrttg300n subfolder, and download the firmware.tfp file. It can be located here:

ftp://dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/08-19-09-r12672/WHR-G300N/firmware.tftp

The first time you flash, the TFTP method can be used to bypass this 'encrypted' firmware requirement. Afterwards, the router firmware can be changed through the Web interface normally.

TFTP flashing

UPDATE:

There is a more convenient way to flash the firmware:

Every time the router boots it looks for a file called "firmware.ram" on a tftp server at 192.168.11.2. Now if you start a tftp server (e.g. TFTP32) and offer this file (simply rename firmware.tftp), the router fetches it automatically and flashes itself. This way you don't have to try to hit enter at the right time and it's fully automatic.

Steps to using TFTP32 and flashing your router:

  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, 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!
  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.

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

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)