WHR-G300N

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 01:43, 1 September 2009 (edit)
Donny (Talk | contribs)
m (Known Working Firmware)
← Previous diff
Revision as of 01:45, 1 September 2009 (edit) (undo)
Donny (Talk | contribs)
m (Known Working Firmware)
Next diff →
Line 103: Line 103:
*[http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Fothers%2Feko%2FBrainSlayer-V24-preSP2%2F07-01-09-r12427%2FWHR-G300N/ 12427] *[http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Fothers%2Feko%2FBrainSlayer-V24-preSP2%2F07-01-09-r12427%2FWHR-G300N/ 12427]
-12672 works and has the exploit patch. These others do not have the milworm exploit patch+'''12672 works and has the exploit patch. These others do not have the milworm exploit patch
 +'''

Revision as of 01:45, 1 September 2009


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 . Goto the Brainslayer 12672 folder and the wrttg300n subfolder, and download the r=firmware.ttfp file. You should flash the firmware.tftp file. It can be located here:

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

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

The latest DD-WRT build has a new, easy, and safe way to flash a WHR-G300N router.

1. Do a HARD reset on the router. See note 1 of the peacock announcement for how to do a hard reset: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486

2. Set up your tftp according to note 11 of the peacock announcement. 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. I also found that I couldn't figure out how to set up the tftp32 program referred to below.


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.

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

Buffalo Technology Nfiniti™ Wireless-N Router & Access Point WHR-G300N:
http://www.buffalotech.com/products/wireless/nfiniti-wireless-n/nfiniti-wireless-n-router-access-point-whr-g300n/ (this model: 4+1 10/100 switch)

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)


List of Buffalo AirStation devices:
http://en.wikipedia.org/wiki/AirStation

List of DD-WRT Supported Devices:
http://www.dd-wrt.com/wiki/index.php/Supported_Devices

Known Working Firmware

All of there are found in Downloads -> others -> eko -> BrainSlayer-V24-preSP2 -> (Firmware Number) -> WHR-G300N

12672 works and has the exploit patch. These others do not have the milworm exploit patch