D-Link DIR-300 rev B1

This device is on the DD-WRT Supported Devices table.

DIR-300 H/W rev. B1 hardware are same as in DIR-600 H/W Rev. B1

"8WRGN23..3A1G" is silkscreened on the board in the FCC photos.
 * This is the same board ID as the Keebox W150NR v1.

Overview
It is important to note, DIR-300 Rev A1 and Rev B1 are completely different hardware, different SoC, different procedure. So, if you have the old DIR-300 Rev A router, its install procedure is already  well documented elsewhere. Rev B1 is based on Ralink RT3050 SoC and from all accounts, including Dlink's FCC test report, the PCBA is exactly the same as in the DIR-600.



You can tell which Rev of the hardware this router is from the box (it will say "H/W Ver: B1 F/W Ver 2.00" for example on the bottom of the box, underneath the barcode). A similar sticker with the hardware version and firmware version is also stuck on the bottom of the router itself. This means it's quick and easy to check the hardware revision before buying or borrowing it.

The factory default IP for this router is 192.168.0.1, user is "admin", password is blank.

Pros of this hardware

 * 4 MB board, so no need to use "micro" DD-WRT builds.
 * Fairly inexpensive.
 * Fairly new hardware (released in 2009?), so it's widely available for purchase new.
 * Reasonably fast CPU clock speed.
 * Easy to install DD-WRT on this hardware (just flash through the web interface as per below, and you're done).
 * According to Ralink's website, the chip has a ROM built-in and this means there is no boot code to crash or mistakenly erase. The ROM contains a bootloader and emergency room web page to recover flash firmware. Translation: You're unlikey to brick it.

Cons of this hardware

 * This Ralink hardware does not support Client Bridge wireless mode ( reference ). It does however support Repeater Bridge mode, which is similar, but a bit more complicated to set up.
 * No USB port, so cannot be a NAS for a USB drive, nor can it be used for Printer Sharing of a USB printer.
 * As it is Ralink chipset based, support by DD-WRT is still limited in terms of firmware builds availability and community support compared to Broadcom based routers. Currently the only build from BrainSlayer doesn't include JFFS/CIFS client support.
 * The LAN Port based VLAN is not supported. You can not assign the LAN Ports with VLAN. However, there may be a workaround for VLAN support on the DIR-600.

Flashing DD-WRT
D-Link|On DD-WRT Wiki

To install dd-wrt on either a D-Link DIR-300 Revision B1 or a D-Link DIR-600 Revision B1, you need to flash it directly from the router's web admin page (yes, that is correct... from D-Link's standard web interface). These are the steps to follow:


 * 1) Download the latest firmware from: http://dd-wrt.com/site/support/router-database, and enter the model as DIR-600 or DIR300 as appropriate. There will be two files, "dlink-revb-factory-webflash.bin" and "dir600-revb-ddwrt-webflash.bin" / "dir300-revb-ddwrt-webflash.bin". You only need the factory-webflash file.
 * 2) Connect to the DIR-600/DIR-300 using an ethernet cable.
 * 3) Open http://192.168.0.1/ in your web browser, which should open the DIR600's/DIR300's administrative page from the standard D-link firmware.
 * 4) The D-link's default login details are user "admin", password is blank, and type the captcha from the image.
 * 5) Maintenance -> Firmware Update
 * 6) Click "browse" button -> select the "dlink-revb-factory-webflash.bin" file -> click "Upload" button.
 * 7) Wait 2 or 3 minutes for the DIR-600/DIR-300 to flash and do the update. (it should have finished when your browser tries to connect after the reboot, and probably fails because the IP address has changed). After the flash & update is done, the router will reboot to dd-wrt, and the IP address will have changed to 192.168.1.1. There is no need to do any reset.
 * 8) Open http://192.168.1.1/ in web browser. Will probably have to update your IP address (if using static IP) to this subnet to be able to connect. This should open DD-WRT's web interface. Configure DD-WRT as desired.
 * 9) You're finished!

Alternate Install Method using Emergency Room Web Interface

 * 1) Setup your PC with static IP on 192.168.0.0 subnet.
 * 2) Make sure the PC has the following two files:
 * 3) * dlink-revb-factory-webflash.bin
 * 4) * dir300-revb-ddwrt-webflash.bin (or the 600 equivalent, depending on whether you have the 300 or 600)
 * 5) Open your web browser and get it ready to connect to 192.168.0.1.
 * 6) Press and HOLD the reset button on the router and connect power. Hold the reset button for about 3~5 seconds, then release.
 * 7) Connect the browser to http://192.168.0.1/ . The Emergency Room Updating Firmware screen should display.
 * 8) Browse to and upload the first image file, the 'factory' one.
 * 9) When you see the message "IMAGE UPLOAD SUCCESS", the flash will begin to be erased and re-written.
 * 10) Wait until the power LED turns to solid 'Yellow'. At this point, the initial dd-wrt image has been written to flash, the device has rebooted and is running.
 * 11) Change the IP address of your PC to the 192.168.1.0 subnet. Use your browser to connect to the router at http://192.168.1.1/
 * 12) The DD-WRT screen should load. If not, you did something wrong. Go back and try again.
 * 13) There is a report that "emergency room web interface" may not support IE8, so if it does not work then try another browser: "Note that Internet Explorer 8 did not work for me on the emergency room web interface. It gave me a general page view error during the firmware upload. I had to use another browser to make it work (I used chrome but fire fox would probably work as well)."

Flashing OpenWRT
Device page in OpenWRT wiki

Upgrading DD-WRT
Note: If DD-WRT is alead on the router use the following steps, If DD-WRT is not on the routers than see Flashing DD-WRT


 * 1) Download the latest firmware from: http://dd-wrt.com/site/support/router-database, and enter the model as DIR600 or DIR300 as appropriate. Download the new firmware file, which will be called dir300-revb-ddwrt-webflash.bin or dir600-revb-ddwrt-webflash.bin , depending on your router.
 * 2) Open the DD-WRT's web interface in your web browser. It's http://192.168.1.1/ by default.
 * 3) Administration tab -> "Firmware Upgrade" button
 * 4) click "browse" button -> select the "dir600-revb-ddwrt-webflash.bin" file -> click "Upgrade" button.
 * 5) It takes about 1 and a half minutes to upload and write the flash. Your browser will reload and let you know when it is done.
 * It is probably a good idea to reboot after updating. That's it.

Method 1
To get back your D-Link DIR 600 router to its original D-Link firmware:
 * Download the latest firmware version from Dlink (version 2.01 at time of this writing) from ftp://ftp.dlink.cz/dir/dir-600/driver_software/
 * Use the "emergency room interface" steps described above.
 * Do NOT use the standard firmware upgrade procedure. Multiple people have reported that this does not work for restoring the D-Link firmware. Use the "emergency room interface" steps instead.

Method 2
You can download stock firmware with wget, and flash with the mtd command.

Example:

1. Make sure that your router is connected to the Internet. 2. Login to your router with telnet or ssh. 3. Type the following command to download stock firmware V2.04 for DIR-300 B1. Code: wget -O /var/firmware http://nokiafon.pl/ruter/DIR300B_FW204WWB01.bin

4. Type the following command to flash your router with the downloaded stock firmware. Code: mtd write /var/firmware linux

5. If there is no problem during the operation above, reboot your router.

vlan Info

 * The LAN Port based VLAN is not supported. You can not assign the LAN Ports with VLAN. However, there may be a workaround for VLAN support on the DIR-600.

Pictures
Images