| Note: See D-Link DIR-300 for D-Link DIR-300 Rev.A1 (different hardware (HW))
| Note: See D-Link DIR-600 for D-Link DIR-600 Rev.A1 (different hardware (HW))
Known clones of this device:
D-Link Dir-300 B1: D-Link DIR-600 B1, D-Link DIR-600 B2.
D-Link Dir-300 B5: D-Link DIR-600 B5?, ZyXEL Keenetic Start?
| Version/Model || OpenWrt Versions Supported || Download latest stable version || Model Specific Notes
| DIR-300 B1, B2, B3 || 12.09 & 14.07 & 15.05 || 15.05 factory ||
| DIR-600 B1 || 12.09 & 14.07 & 15.05 || 15.05 factory ||
| DIR-600 B2 || 12.09 & 14.07 & 15.05 || 15.05 factory ||
| DIR-300 B5, B6, B7; DIR-600 B5 || 14.07 & 15.05 || 15.05 ||
Difference beetween dir-300 b1/b2/3 and dir-600b1/b2 is only factory images for install via web interface in stock firmware.
|Version|| CPU || Flash || Ram || Network || WiFi || USB || Serial || JTag
|B1, B2, B3||Ralink RT3050F@320MHz||32MiB||4MiB|| 5 10/100E || 1x1 2.4Ghz 802.11n 150 Mbit/s || No || Yes, internal TTL solder pads || No
|B5, B6, B7||RaLink RT5350@360MHz||32MiB||4MiB|| 5 10/100E || 1x1 2.4Ghz 802.11n 150 Mbit/s || No || ? || ?
B6 + B7 - cheaper versions of B5
Installing of OpenWrt
These devices use the "ramips" target and "rt305x"subtarget of OpenWRT.
B1, B2, B3 versions
Via web interface
As of July 2013 only access via the router's emergency web interface is required to install OpenWRT on this device. The normal web interface might complain about invalid image files and thus not work (as seen with vendor firmware version 2.14).
How to access the emergency web interface is described below .
B5, B6, B7 versions
Use the emergency web interface.
NOTE: Routers with new firmwares do not accept the current image through the emergency room and are therefore not flashable this way. To circumvent this, you should downgrade u-boot before flashing.
Emergency Web Interface
NOTE: New d-link firmwares may contain new u-boot bootloader, so you may have problems with installing via emergency web interface.
The DIR-600 and DIR-300 B routers have an emergency HTTP web interface that is accessible at http://192.168.0.1 or http://192.168.1.1 for B5. With this you can upload firmware if you accidently locked yourself out of the router or broke the installed firmware.
First, download a pre-compiled build for the DIR-600 or DIR-300 B series. These can be found here:
NOTE: Use the correct build for your hardware version 300 B1 for B1,B2,B3 and 300 B7 for B5,B6,B7! This can be found on the router itself or on the box it came in. e.g.: H/W Ver: B2.
If you're flashing from D-Link firmware, use the 'factory' builds.
To access the emergency web interface for flashing, unplug the power cable from the router, depress and hold the reset button in whilst simultaneously plugging in the power cable for at least five seconds, then release the reset button.
Another method to access the emergency web interface is to hold the reset button for 30-45 seconds with power plugged in.
Attach a network cable to one of the LAN ports on the router and the other end to your computers Ethernet interface. Set Ethernet interface I.P address to: 192.168.0.2 and subnet of: 255.255.255.0 (or to: 192.168.1.2 and subnet of: 255.255.255.0) for b5.
NOTE: Disable any other interfaces present on your computer before proceeding; such as wireless interfaces.
Open a web-browser on your computer and access the emergency web interface at http://192.168.0.1 or http://192.168.1.1 for b5.
Choose 'browse' and select your previously downloaded firmware file (.bin file extension) Then press 'upload' and watch the timer countdown from 90 seconds. At the end of the countdown the webpage will trying and refresh only to fail at this point you should set your computers network interface to obtain an i.p address automatically via DHCP and it should obtain a new address in the 192.168.1.X range.
You can now login to your router flashed with OpenWRT via your web-browser at: http://192.168.1.1
If you have already installed a version of openwrt and you wish to upgrade your installation you can use sysupgrade.
scp openwrt-*-squashfs-sysupgrade.bin firstname.lastname@example.org:/tmp/
If you wish to reset your configuration you can add -n to sysupgrade.
Details for DIR-300 B1
The information written on the main Ralink chip
Link to datasheet
The information written on the WiFi Ralink chip
Link to datasheet
The information written on the PSC Ram chip
Link to PSC datasheet
The information on the Flash chip
Link to Datasheet
DIR-300/600 Revision B Images
The DIR-300/600 Rev. B does not appear to have a JTAG interface.
For more JTAG details see:
You can control some of the GPIO-LEDs by writing "1" (on) or "0" (off) to the specific GPIO-Files.
Note: Since Chaos Calmer (15.05) you should use d-link instead of dir-600-b2.
echo "1" > /sys/class/leds/rt2800soc-phy0::radio/brightness
echo "1" > /sys/class/leds/dir-600-b2:amber:status/brightness
Green Power LED (Same LED as the previous, but different color):
echo "1" > /sys/class/leds/dir-600-b2:green:status/brightness
echo "1" > /sys/class/leds/dir-600-b2:blue:wps/brightness
→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless etc.
Device specific configuration
On a basic installation the wireless LED does not blink if data is transmitted and/or received. To fix this simply append this block to /etc/config/system:
option 'led' 'wlan_led'
option 'name' 'WLAN'
option 'sysfs' 'rt2800pci-phy0::radio'
option 'trigger' 'netdev'
option 'dev' 'wlan0'
option 'mode' 'link tx rx'
More detailed information about LEDs can be found here.
If you forgot your password, broke one of the startup scripts, firewalled yourself out, or corrupted the JFFS2 partition, you can get back in by using OpenWrt's failsafe mode.
Boot into failsafe mode
Unplug the router's power cord.
Connect the router's LAN1 port directly to your PC.
Configure your PC with a static IP address between 192.168.1.2 and 192.168.1.254. Eg. 192.168.1.2 (gateway and DNS
is not required).
Plug the power on and wait for the DMZ LED to light up.
While the DMZ LED is on immediately press any button (Reset and Secure Easy Setup will work) a few times .
If done right the DMZ LED will quickly flash 3 times every second.
You should be able to telnet to the router at 192.168.1.1 now (no username and password)
What to do in failsafe mode?
NOTE: The root file system in failsafe mode is the SquashFS partition mounted in readonly mode. To switch to the normal writable root file system run mount_root and make any changes. Run mount_root now.
Forgot/lost your password and you like to set a new one
Forgot the routers IP address
uci get network.lan.ipaddr
You accidentally run 'ipkg upgrade' or filled up the flash by installing large packages (clean the JFFS2 partition and start over)
mtd -r erase rootfs_data
If you are done with failsafe mode power cycle the router and boot in normal mode.
For connection of STB, or replacement of one of LAN ports on WAN (in case of faulty WAN) we involve the 4th port of a router of dir300b1 - in other port won't work!
option device 'rt305x'
option vlan '1'
option ports '1 2 3 6t'
option device 'rt305x'
option vlan '2'
option ports '0 4 6t'
Default Router Settings
Model DIR-300 B1
Model DIR-600 B1/B2
SD-card slot mod