Site Tools


hardware:d-link:dir-506l

D-Link DIR-506L

is a portable router with battery.

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 Huawei E3272 + 1 WiFi connection

  • 240mA IDLE
  • 600+mA at download speed 5mbps


Uptime: ~4 hours with 3 connected clients.

Photos

Modding

Power

To allow work without battery add resistor 15-16kOmh

Micro USB

Headsink

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

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.

NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out

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:

curl -F FN=@XXXXX.bin http://192.168.123.254/upg

where XXXXX.bin is name of firmware file.

hardware/d-link/dir-506l.txt · Last modified: 2022/03/02 23:01 by root