|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))|
|Note: See D-Link DIR-300/DIR-600 for rev b5 hardware|
|RaLink RT288x/RT305x WiSoC@320 MHz||32MiB||4MiB||5 10/100E||No||Yes, internal TTL solder pads||No|
These devices use the "ramips" target of OpenWRT.
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.
After you have uploaded an OpenWRT firmware image via the emergency web interface and waited 90 seconds the OpenWRT on the router should be running and accessibla with your webbrowser under http://192.168.1.1.
If you have already installed a version of openwrt and you wish to upgrade your installation
- uploaded the new firmware from the LAN with 'scp openwrt-*-squashfs-sysupgrade.bin email@example.com:/tmp/'.
- flash it on the router with 'sysupgrade /tmp/openwrt-*-squashfs-sysupgrade.bin'.
|CPU/Speed||MIPS24KEc@320 Mhz w/ 16KB I cache/16KB D cache|
|Flash size:||4096 KiB|
|Wireless:||Ralink RT3050F 2.4ghz 802.11bgn|
|Ethernet:||integrated 5 x10/100E w/ vlan support swconfig|
|Power:||external 5V 1.2A|
Ralink RT3050F P3V1470T0 1053STLink to datasheet
Ralink ...Link to datasheet
winbond W9825G6 JH-6 10301 60172U700ZZLink to PSC datasheet
WRGN23DE.B1G S29GL032N90TFI04 ©06 SPANSIONLink to Datasheet
|Model||Status||Target(s)||Platform||CPU Speed (MHz)||Flash (MB)||RAM (MB)||Wireless NIC||Wireless Standard||Detachable Antennea||Wired Ports||VLAN Config||USB|
|DIR-600 B1/B2||trunk (>R29612)||ramips||RaLink RT288x/RT305x WiSoC||MIPS24KEc@320||4||32(3)||Ralink RT3050F||802.11b/g/n||1 out of 1||5 10/100E||Yes||Possible 2.0 x1|
| | | | | JP1 | | 4___3_2_1 | | [⊡___o_◊_o] | | _______________| | | | | | | | | | | | (s i l v e r) | | | | | | S h i e l d | |__________________________|_______________| PWR WAN WLAN LAN4 LAN3 LAN2 LAN1 ____|*|______|*|__|*|__|*|__|*|__|*|__|*|_________ [JP1] pinout: 3.3V TTL Levels - 57600 Baud 1: Tx 2: GND (diamond) 3: Vcc 4: Rx (square)See: http://infodepot.wikia.com/wiki/D-Link_DIR-300_vB1 Serial internal TTL solder pads pinout
The DIR-300/600 Rev. B does not appear to have a JTAG interface.
For more JTAG details see:
→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless etc.
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.
- 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)
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! Example /etc/config/network
config switch_vlan option device 'rt305x' option vlan '1' option ports '1 2 3 6t' config switch_vlan option device 'rt305x' option vlan '2' option ports '0 4 6t'
- IP : 192.168.0.1
- Username : "admin"
- Password : "" (leave field blank)
- Polarity : ⊕―כּ―⊖
- Input : 5V / 1.2A
- FCC ID : KA2DIR300B1
There is a working mod to add a SD-card slot to your DIR-300b1. Read post: https://forum.openwrt.org/viewtopic.php?pid=183660#p183660
The DIR-600 and DIR-300 B routers have an emergency HTTP web interface that is accessible at http://192.168.0.1. 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 (as of 30NOV13) for the DIR-600 or DIR-300 B series. These can be found here:
NOTE: Use the correct build for your hardware version! 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
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.
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
toh/d-link/dir-300revb.txt · Last modified: 2014/05/08 16:19 by mipa