WHR-G300N

From DD-WRT Wiki

Revision as of 01:45, 7 March 2009 by Donny (Talk | contribs)
Jump to: navigation, search


Contents


Flashing instruction

See this thread and thread linked within that thread for further guidance:

http://www.dd-wrt.com/phpBB2/viewtopic.php?t=38307

TFTP flash

The latest DD-WRT build has a new, easy, and safe way to flash a WHR-G300N router. To do this, just Tftp_flash the new image to 192.168.11.1 in the 1st three seconds of booting when the router is in recovery mode.

Web flash

From now on, there is a preflash image in the WHR-G300N folder that makes the serial access unnecessary for the initial flash to DD-WRT.

  • Flash DD-WRT-WHR-G300N-preflash.enc via web-if
  • The device will reboot
  • Then, flash the firmware.bin image via web-if to finish the flashing to DD-WRT
  • After the automatic reboot, DD-WRT will be accessible at 192.168.1.1
  • If you brick a WHR-G300N router, go to WHR-G300N#Serial_flash

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