User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

toh:d-link:dir-300revb [2012/12/20 00:40]
toh:d-link:dir-300revb [2014/05/08 16:19] (current)
mipa Added case images
Line 2: Line 2:
 |:!: Note: See **[[toh:​d-link:​dir-300|D-Link DIR-300]]** for D-Link DIR-300 Rev.A1 (different hardware (HW))| |:!: Note: See **[[toh:​d-link:​dir-300|D-Link DIR-300]]** for D-Link DIR-300 Rev.A1 (different hardware (HW))|
 |:!: Note: See **[[toh:​d-link:​dir-600|D-Link DIR-600]]** for D-Link DIR-600 Rev.A1 (different hardware (HW))| |:!: Note: See **[[toh:​d-link:​dir-600|D-Link DIR-600]]** for D-Link DIR-600 Rev.A1 (different hardware (HW))|
 +|:!: Note: See **[[toh:​d-link:​dir-300revb5|D-Link DIR-300/​DIR-600]]** for rev b5 hardware |
-|:!: Note: D-Link DIR-600 and DIR-300 Rev.B5 (current version on 08/2012 in EU) are based on the chipset RT5350 which is currently unsupported by openwrt. Don't buy...| 
 ===== Hardware Highlights ===== ===== Hardware Highlights =====
Line 10: Line 10:
 ===== Installing of OpenWrt ===== ===== Installing of OpenWrt =====
-The build script is currently not run on trunk so no official binary is available. 
-Build from trunk as the latest release branch '​backfire'​ doesn'​t have the build target ​files. For more information about building see the [[doc:​howto:​build|build documentation]].+These devices use the "​ramips" ​target ​of OpenWRT.
-svn co svn://​​openwrt/​trunk/​ 
-# Build configuration. From 'make menuconfig';​ Target system: Ralink RT288x/​RT3xxx,​ Subtarget: RT305x based boards 
-echo CONFIG_TARGET_ramips=y >.config 
-echo CONFIG_TARGET_ramips_rt305x=y >>​.config 
-echo CONFIG_TARGET_ramips_rt305x_Default=y >>​.config 
-When the build process ​is done (yes, this could take several hours), flash the appropriate generated (openwrt-*-squashfs-factory.bin) file from web interface ​or from recovery mode (turn off; hold reset; turn on; go to or Use the file matching your router model (IE: openwrt-dir-600-b2-squashfs-factory.bin for DIR-600-b2)+As of July 2013 only access via the router'​s emergency web interface ​is required to install OpenWRT on this deviceThe 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 [[#​emergency.web.interface|below]].
-=== Older trunk revisions (DIR-300-B1 and DIR-600-B2 ONLY) === +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 [[]].
-If using an older trunk revision (pre r27808) you may need to **convert** the obtained OpenWrt ​firmware image file into a specific dir-300 or dir-600 format before flashing. For this you require ​the v2image utility included in​DIR-300_revB/​dir300b.v2.02.source.tar.gz +
-  * For DIR-300 B1 Execute:<​code>​v2image -v -i openwrt-ramips-rt305x-dir-300-b1-squashfs-sysupgrade.bin -o openwrt-dir300b1-squashfs-webflash.bin -d /​dev/​mtdblock/​2 -s wrgn23_dlwbr_dir300b</​code>​ +
-  * For DIR-600 B2 Execute:<​code>​v2image -v -i openwrt-ramips-rt305x-dir-300-b1-squashfs-sysupgrade.bin -o openwrt-dir600b2-squashfs-webflash.bin -d /​dev/​mtdblock/​2 -s wrgn23_dlwbr_dir600b</​code>​+
 ==== Upgrading OpenWrt ==== ==== Upgrading OpenWrt ====
Line 103: Line 93:
 {{:​toh:​d-link:​img_4337.jpg?​400}} {{:​toh:​d-link:​img_4337.jpg?​400}}
 == DIR-300 B1 Case == == DIR-300 B1 Case ==
 ==== Serial ==== ==== Serial ====
Line 192: Line 184:
 ===== Other Info ===== ===== Other Info =====
 +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'
 ==== Default Router Settings ==== ==== Default Router Settings ====
 === Model DIR-300 B1 === === Model DIR-300 B1 ===
Line 207: Line 213:
 ===== SD-card slot mod ===== ===== SD-card slot mod =====
 There is a working mod to add a SD-card slot to your DIR-300b1. Read post: [[https://​​viewtopic.php?​pid=183660#​p183660]] There is a working mod to add a SD-card slot to your DIR-300b1. Read post: [[https://​​viewtopic.php?​pid=183660#​p183660]]
 +===== Emergency Web Interface =====
 +The DIR-600 and DIR-300 B routers have an emergency HTTP web interface that is accessible at [[http://​]]. 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: and subnet of:
 +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://​]].
 +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://​
 ===== Tags ===== ===== Tags =====
-{{tag>​FastEthernet 5Port integrated ​1Radio ​802.11bgn 1Ant DetachableAntenna 32RAM 4Flash MIPS 24KE winbond }}+{{tag>​FastEthernet 5Port integrated ​1WNIC 802.11bgn 1Ant DetachableAntenna 32RAM 4Flash MIPS 24KE RT3050 ​winbond ​ramips wlan dlink}}
-==== If all else fails ==== 
-The DIR-600 has a special D-Link firmware mode that runs a HTTP server on for uploading new firmware. If you get locked out and/or brick your device, you can get into this mode by holding down the reset button for 30-45 seconds while booting the device. Note that the IP of the server it runs is 192.168.*0*.1. 
-==== Help ====+===== Help =====
   * [[https://​​viewtopic.php?​id=28010&​p=1]]   * [[https://​​viewtopic.php?​id=28010&​p=1]]
   * [[https://​​viewtopic.php?​id=19281&​p=1]]   * [[https://​​viewtopic.php?​id=19281&​p=1]]
toh/d-link/dir-300revb.1355960411.txt.bz2 · Last modified: 2012/12/20 00:40 (external edit)