| |
| |
Known clones of this device:
| Brand | Model | Version | Current Release | OEM Info | Forum Topic | Technical Data |
|---|---|---|---|---|---|---|
| D-Link | DIR-300 | B5, B6, B7 | 15.05.1 | http://¿ | https://forum.openwrt.org/viewtopic.php?id=50929 | View/Edit data |
| D-Link | DIR-600 | B1 | 15.05 | View/Edit data | ||
| D-Link | DIR-600 | B2 | 15.05 | View/Edit data | ||
| D-Link | DIR-600 | B5E | 15.05.1 | http://www.dlink.com/de/de/support/product/dir-600-wireless-n-150-home-router | View/Edit data | |
| D-Link | DIR-300 | B1, B2, B3 | 15.05.1 | View/Edit data |
Warning! Wireless support is likely to be broken in the latest versions (14.07, 15.05 and trunk). Solution: Adding an option ‘option disassoc_low_ack 0’ to /etc/config/wireless in the config wifi-iface section.
Difference beetween DIR-300 B1/B2/3 and DIR-600B1/B2 is only factory images for install via web interface in stock firmware.
Revision DIR-600 B5E is supported under openwrt with firmware DIR-610-A1!
| Model | Version | SoC | CPU MHz | Flash MB | RAM MB | WLAN Hardware | WLAN2.4 | WLAN5.0 | 100M ports | Gbit ports | Modem | USB |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DIR-300 | B5, B6, B7 | Ralink RT5350 | 360 | 4 | 32 | Ralink RT5350 | b/g/n | - | 5 | - | No | Mod |
| DIR-300 | B1, B2, B3 | Ralink RT3050 | 320 | 4 | 32 | Ralink RT3050F | b/g/n | - | 5 | - | No | - |
| DIR-600 | B1 | Ralink RT3050 | 320 | 4 | 32 | Ralink RT3050F integrated | b/g/n | - | 5 | - | No | - |
| DIR-600 | B2 | Ralink RT3050 | 320 | 4 | 32 | Ralink RT3050F integrated | b/g/n | - | 5 | - | No | - |
| DIR-600 | B5E | Ralink RT5350 | 360 | 4 | 32 | Ralink RT5350 | b/g/n | - | 5 | - | No | - |
B6 + B7 - cheaper versions of B5
Via web interface
factory image.http://192.168.1.1.
NOTE: 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).
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. Using curl instead of web browser may be worth trying.
Have a look at this blog: http://diy.viktak.com/2016/02/installing-openwrt-on-d-link-dir-600.html
NOTE:
Suggested firmware openwrt-ramips-rt305x-dir-610-a1-*.bin leads to a kernel panic.
VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
The problem exists in OpenWrt 14.07, 15.05 and 15.05.1.
The reason is the lacking option
CONFIG_MTD_SPLIT_SEAMA_FW=y
in target/linux/ramips/rt305x/config-3.18 resp. config-3.10.
This means you have to add the line above and build OpenWrt from the sources.
As of August 2017 Debian 8 Jessie will work, latest versions will fail due to perl incompatibility.
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. Download links see above. If you're flashing from the original D-Link firmware, use the factory builds.
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.
NOTE: Disable any other interfaces present on your computer before proceeding, as example wireless interfaces, to minimize confusion.
http://192.168.0.1 or http://192.168.1.1 for B5..bin file extension).
You can now login to your router flashed with OpenWrt via your web-browser at: http://192.168.1.1.
If you can't connect via your browser connect via SSH to 192.168.1.1, set a password (optional for now but recommended), enable WiFi, connect your routers WAN-Port to an existing network of yours, connect to the now open Wireless Network called "OpenWrt", SSH into 192.168.1.1 again, do opkg update and opkg install luci to get a web interface.
NOTE: The router might have too little memory to install LuCI successfully.
NOTE: Upload may fail with modern browsers like Chrome, Safari, etc. If upload page times out or router restarts, use curl instead, i.e.:
curl --form filename=@openwrt-*-squashfs-factory.bin --form post=Upload\ firmware\ NOW 192.168.0.1
Found here http://forums.dlink.com/index.php?topic=11001.msg249218#msg249218.
If you have already installed a version of OpenWrt and you wish to upgrade your installation you can use sysupgrade.
sysupgrade.
scp openwrt-*-squashfs-sysupgrade.bin root@192.168.1.1:/tmp/ sysupgrade /tmp/openwrt-*-squashfs-sysupgrade.binIf you wish to reset your configuration you can add
-n to sysupgrade.
| Architecture: | MIPS |
| Status: | trunk (>R29612) |
| Vendor: | Ralink |
| Bootloader: | U-Boot |
| System-On-Chip: | RT288x/RT305x WiSoC |
| CPU/Speed | MIPS24KEc@320 Mhz w/ 16KB I cache/16KB D cache |
| Flash-Chip: | Spansion S29GL032N90TFI04 |
| Flash size: | 4096 KiB |
| RAM: | Winbond W9825G6JH-6 |
| RAM: | 32 MiB |
| Wireless: | Ralink RT3050F 2.4ghz 802.11bgn |
| Ethernet: | integrated 5 x10/100E w/ vlan support swconfig |
| Internet: | no |
| USB: | no |
| Power: | external 5V 1.2A |
| Serial: | Yes |
| JTAG: | No |
| Architecture: | MIPS |
| Status: | supported |
| Vendor: | Ralink |
| Bootloader: | U-Boot |
| System-On-Chip: | RT5350 WiSoC |
| CPU/Speed | MIPS24KEc@360 Mhz w/ 32KB I cache/16KB D cache |
| Flash-Chip: | ? |
| Flash size: | 4096 KiB |
| RAM: | ESMT M12L2561616A |
| RAM: | 32 MiB |
| Wireless: | Ralink RT5350 2.4ghz 802.11bgn |
| Ethernet: | integrated 5 x10/100E w/ vlan support swconfig |
| Internet: | no |
| USB: | no |
| Power: | external 5V 1.2A |
| Serial: | Yes |
| JTAG: | No |
| [JP1] | |||
|---|---|---|---|
| 1 | 2 | 3 | 4 (square) |
| Tx | GND | VCC | RX |
See: http://infodepot.wikia.com/wiki/D-Link_DIR-300_vB1
3.3V TTL Levels - 57600 Baud
This procedure is for DIR-600 B5E.
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. 7: Load Boot Loader code then write to Flash via Serial. 9: Load Boot Loader code then write to Flash via TFTP. A: Load Runtime code then write to Flash via Serial.
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.
Wifi-LED:
echo "1" > /sys/class/leds/rt2800soc-phy0::radio/brightness
Power LED:
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
WPS LED:
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.
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.
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.
passwd
uci get network.lan.ipaddr
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'
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