Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:d-link:dir-300revb [2018/04/22 13:39] – B6E Informations benda95280toh:d-link:dir-300revb [2024/02/12 08:58] – external edit
Line 1: Line 1:
 ====== D-Link DIR-300(Bx)/DIR-600(Bx) ====== ====== D-Link DIR-300(Bx)/DIR-600(Bx) ======
 +
 +{{section>meta:infobox:432_warning#infobox_for_dataentries&noheader&nofooter&noeditbutton}}
 +
 | :!: 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))   |
Line 13: Line 16:
  
 ===== Supported Versions ===== ===== Supported Versions =====
----- datatable ---- +<!-- ToH: { 
-cols     BrandModelVersions, Supported Current Rel, OEM device homepage URL_url, Forum Topic URL_urlDevice Techdata_pageid +  "source""json", 
-headers  : BrandModel, Version, Current Release, OEM Info, Forum Topic, Technical Data +  "dom": "t", 
-align    c,c,c,c,c,c,c +  "paging": false
-filter   Model=DIR-300 +  "rotate"true
-filter   Versions*~+  "shownColumns"["brand""model""version""supportedcurrentrel""oemdevicehomepageurl""owrt_forum_topic_url", "deviceid"]
-filteror : Model=DIR-600 +  "filterColumns"{"model": "^DIR-300$", "version""B"} 
-filter   : Versions*~B +-->
-----+
  
 Warning! Wireless support is [[https://dev.openwrt.org/ticket/14322|likely to be broken]] in the latest versions (14.07, 15.05 and trunk). Warning! Wireless support is [[https://dev.openwrt.org/ticket/14322|likely to be broken]] in the latest versions (14.07, 15.05 and trunk).
Line 32: Line 34:
 Warning!!! Newer images are bricking DIR-600 B5E if sysupgrade is not written before first reboot! So after factory flash don't reboot, just write the sysupgrade. Warning!!! Newer images are bricking DIR-600 B5E if sysupgrade is not written before first reboot! So after factory flash don't reboot, just write the sysupgrade.
 ===== Hardware Highlights ===== ===== Hardware Highlights =====
----- datatable ---- +<!-- ToH: { 
-cols    ModelVersionsCPU, CPU MHz, Flash MB_mbflashs, RAM MB_mbram, WLAN Hardware, WLAN 2.4Ghz, WLAN 5.0Ghz, Ethernet 100M ports_, Ethernet Gbit ports_, ModemUSB ports_ +  "source""json", 
-header  : ModelVersion,SoC,CPU MHz,Flash MB,RAM MB,WLAN Hardware,WLAN2.4,WLAN5.0,100M ports,Gbit ports,Modem,USB +  "dom": "t", 
-align   c,c,c,c,c,c,c,c,c,c,c,c,c +  "paging": false
-filter   Model=DIR-300 +  "rotate"true
-filter   Versions*~+  "shownColumns"["model""version""cpu""cpumhz""flashmb""rammb""wlanhardware""wlan24ghz""wlan50ghz""ethernet100mports""ethernet1gports""modem", "usbports"]
-filteror : Model=DIR-600 +  "filterColumns": {"model""^DIR-300$", "version""B"} 
-filter   : Versions*~B +-->
-----+
  
 B6 + B7 - cheaper versions of B5 B6 + B7 - cheaper versions of B5
Line 46: Line 47:
 ===== Installing of OpenWrt ===== ===== Installing of OpenWrt =====
  
----- datatable ---- +<!-- ToH: { 
-cols    ModelVersionsSupported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_urlFirmware OEM Stock URL_url +  "source""json", 
-headers ModelVersionCurrent ReleaseFirmware OpenWrt InstallFirmware OpenWrt UpgradeFirmware OEM Stock +  "dom": "t", 
-align   : l,c,c +  "paging": false
-filter   Model=DIR-300 +  "shownColumns"["model""version""supportedcurrentrel""firmwareopenwrtinstallurl""firmwareopenwrtupgradeurl""firmwareoemstockurl"]
-filter   Versions*~+  "filterColumns": {"model""^DIR-300$", "version""B"} 
-filteror : Model=DIR-600 +-->
-filter   : Versions*~B +
-----+
  
  
Line 73: Line 72:
  
 ==== B6E version ==== ==== B6E version ====
-Can be flashed from Emergency with install file. +Can be flashed from Emergency Mode with install file.\\ 
-If you are able to have OpenWRT after first reboot and next reboot having problems (Still in emergency mode, or won't boot): +If you are able to have OpenWRT after first reboot and next reboot having problems (Still in emergency mode, or won't boot):\\ 
-- Flash again OpenWRT from Emergency mode +- Flash again OpenWRT from Emergency Mode\\ 
-- From OpenWRT do an update with SysUpgrade file+- From OpenWRT do an update with SysUpgrade file\\
  
 ==== DIR-600 B5E ==== ==== DIR-600 B5E ====
Line 96: Line 95:
 This means you have to add the line above and build OpenWrt from the sources.\\  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. As of August 2017 Debian 8 Jessie will work, latest versions will fail due to perl incompatibility.
 +
 +=== What if Emergency Web Interface fails? ===
 +
 +In case no Image would flash successfully (even stock firmware) one can still do this to the rescue: 
 +  * connect a USB2UART converter with 3.3 Voltage: ([[http://diy.viktak.com/2016/02/installing-openwrt-on-d-link-dir-600.html|see this blog entry from above for howto connect TX, RX and GND]]). You might want to consider soldering pins to the ports for easier access.
 +  * if your device hangs while RX is connected, place a ~1k Ohm resistor in series with RX. When it hangs all LEDs except Power will turn on and stay on, whereas they normally turn on briefly and then power LED blinks in 1s intervals indicating Emergency Mode. 
 +  * create initramfs-kernel.bin from scratch with OpenWRT 19.07 (or use/find an older version above) for DIR-610-A1(later versions might be too big) but comment out the line containing 'KERNEL := $(KERNEL_DTB)' for DIR-610-A1 in target/linux/ramips/image/rt305x.mk. If you compiled successfully an initramfs-kernel.bin will be generated containing a uImage header.
 +  * copy that initramfs-kernel image to your tftp server.
 +  * load your fresh initramfs-kernel.bin with first option *1* -- load system from tftp into SDRAM -- (you have to be quick - the device will wait for 1 second before it uses its default value *3*, which will try to load the system from flash). 
 +  * if successful you will get a running kernel and will be able to e.g. scp an official or custom made squashfs-sysupgrade image for DIR-610-A1 to /tmp and use that to flash the device with sysupgrade.
  
 ===== Emergency Web Interface ===== ===== Emergency Web Interface =====
Line 121: Line 130:
 You can now login to your router flashed with OpenWrt via your web-browser at: ''<nowiki>http://192.168.1.1</nowiki>''. You can now login to your router flashed with OpenWrt via your web-browser at: ''<nowiki>http://192.168.1.1</nowiki>''.
  
-If you can't connect via your browser connect via SSH to 192.168.1.1, [[doc/howto/firstlogin|set a password]] (optional for now but recommended), [[docs:guide-user:network:wifi:basic|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.+If you can't connect via your browser connect via SSH to 192.168.1.1, [[docs:guide-quick-start:walkthrough_login#set_up_root_password|set a password]] (optional for now but recommended), [[docs:guide-user:network:wifi:basic|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:** The router might have too little memory to install LuCI successfully.
Line 255: Line 264:
 For more JTAG details see: For more JTAG details see:
    * [[docs:techref:hardware:port.jtag]]    * [[docs:techref:hardware:port.jtag]]
-   [[http://downloads.openwrt.org/tools/oem/jtag/tools.zip|JTAG tools]]+   * JTAG tools
  
  
  • Last modified: 2024/07/23 07:03
  • by sergey_russia