Site Tools


hardware:d-link:dir-506l

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
hardware:d-link:dir-506l [2022/02/17 05:01]
– removed - external edit (Unknown date) 127.0.0.1
hardware:d-link:dir-506l [2022/03/02 23:01]
– [Download] root
Line 1: Line 1:
 +====== D-Link DIR-506L ======
 +is a portable router with battery.\\
  
 +{{:hardware:d-link:dir-506l_a2.jpg?200|}}
 +===== Hardware =====
 +  * Ralink RT5350 id:1 rev:3 (360 MHz)
 +  * 32 MB RAM
 +  * 8 MB Flash
 +  * 802.11bgn 1T1R
 +  * 1x internal, non-detachable antenna
 +  * 1x 10/100 Mbps Ethernet
 +  * 1x USB 2.0 (Type-A)
 +  * 5 leds
 +  * 2 buttons
 +  * UART header on PCB (57600 8n1)
 +  * JBOOT bootloader
 +  * 1700 - 2200 mAh battery (Fujifilm NP-120 / Pentax D-Li7, D-L17, DB-43)
 +
 +
 +
 +==== GPIO ====
 +
 +=== In ===
 +  * 2@gpio0: reset - KEY_RESTART (GPIO_ACTIVE_LOW)
 +  * 7@gpio0: wps - KEY_WPS_BUTTON (GPIO_ACTIVE_LOW)
 +  * 10@gpio0: low_battery - BTN_0 (GPIO_ACTIVE_HIGH)
 +  * 11@gpio0: charging - BTN_1 (GPIO_ACTIVE_HIGH)
 +  * 12@gpio0: on_battery - BTN_2 (GPIO_ACTIVE_HIGH)
 +
 +=== Out ===
 +  * 9@gpio0: led green:usb (GPIO_ACTIVE_LOW)
 +  * 18@gpio0: usb port power (GPIO_ACTIVE_HIGH)
 +  * 19@gpio0: led green:status (GPIO_ACTIVE_HIGH)
 +  * 0@gpio1: led green:internet (GPIO_ACTIVE_HIGH)
 +  * 1@gpio1: led red:status (GPIO_ACTIVE_HIGH)
 +
 +
 +==== Power usage ====
 +With [[hardware:huawei:e3272|Huawei E3272]] + 1 WiFi connection
 +  * 240mA IDLE
 +  * 600+mA at download speed 5mbps
 +\\
 +Uptime: ~4 hours with 3 connected clients.
 +
 +
 +
 +===== Photos =====
 +{{:hardware:d-link:img_2725.jpg?200|}}
 +{{:hardware:d-link:img_2728.jpg?200|}}
 +
 +
 +
 +===== Modding =====
 +==== Power ====
 +To allow work without battery add resistor 15-16kOmh\\
 +{{:hardware:d-link:img_2726.jpg?200|}}
 +
 +
 +==== Micro USB ====
 +{{:hardware:d-link:p1010477.jpg?200|}}
 +
 +==== Headsink ====
 +{{:hardware:d-link:p1010479.jpg?200|}}
 +{{:hardware:d-link:img_2735.jpg?200|}}
 +===== OpenWRT =====
 +
 +==== Features ====
 +  * upgrade from stock f/w via WebUI
 +  * all LEDs available
 +  * all buttons work
 +  * battery/charger GPIO events added
 +  * USB power on by default
 +  * keep JBOOT recovery
 +
 +
 +
 +==== Installation ====
 +Apply factory image via http web-gui or JBOOT recovery page
 +
 +
 +==== Download ====
 +[[http://www.netlab.linkpc.net/download/software/openwrt/DIR-506L/|DIR-506L]]
 +[[https://github.com/rozhuk-im/openwrt/commits/all_local|github.com]]
 +
 +
 +==== Known issues ====
 +
 +=== Upgrade hang ===
 +Upgrade may hang, at least then WebUI used.\\
 +Workaround: stop unbound and dnsmasq before upload f/w to release memory.
 +
 +
 +=== Net hang on boot ===
 +Happen then internal switch exist and disabled.\\
 +<code>NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out</code>
 +[[https://forum.openwrt.org/t/mtk-soc-eth-watchdog-timeout-after-r11573/50000/377]]\\
 +[[https://github.com/openwrt/openwrt/issues/8660]]\\
 +Workaround: unplug net cable untill device started\\
 +Workaround: remove switch from existing configuration or build f/w without defined switch in 02_network and reset config on/after update
 +
 +
 +
 +==== How to revert to OEM firmware ====
 +  * push the reset button and turn on the power. Wait until LED start blinking (~10sec.)
 +  * upload original factory image via JBOOT http (IP: 192.168.123.254)
 +\\
 +If http doesn't work, it can be done with curl command:
 +<code>curl -F FN=@XXXXX.bin http://192.168.123.254/upg</code>
 +where XXXXX.bin is name of firmware file.
 +
 +
 +
 +{{tag>hardware reverse linux openwrt d-link router}}
hardware/d-link/dir-506l.txt · Last modified: 2022/03/02 23:01 by root