D-Link DNS-120

This device is NOT RECOMMENDED for future use with OpenWrt due to low flash/ram.
DO NOT BUY DEVICES WITH 4MB FLASH / 32MB RAM if you intend to flash an up-to-date and secure OpenWrt version onto it! See 4/32 warning for details.

1) This device does not have sufficient resources (flash and/or RAM) to provide secure and reliable operation.
This means that even setting a password or changing simple network settings might not be possible any more, rendering the device effectively useless. See OpenWrt on 4/32 devices what you can do now.

2) OpenWrt support for this device has ended in 2022.
19.07.10 was the last official build for 4/32 devices.

Version/Model Launch Date S/N OpenWrt Version Supported Model Specific Notes
A2 2005-04 - 10.03 -
SoC Ram Flash Network USB Serial JTag
ADMtek ADM5120 32MiB 4MiB 1 Yes Yes ?

Manufacturer's site: http://support.dlink.com/ProductInfo.aspx?m=DNS-120

  1. »»»»here»»»»Latest OpenWrt release««««here«««« DO NOT PROVIDE OWN LINKS to http://downloads.openwrt.org/

Please check out the article flash.layout. It contains an example and a couple of explanations.

Note: Reset storage adapter to factory defaults if it has been previously configured.

  • Login
  • Browse to Tools>Firmware
  • Upload openwrt-adm5120-router_le-dns-120-squashfs-webui.bin
  • Wait for it to reboot
  • Telnet to and set a root password, or browse to if LuCI is installed.


If you have already installed OpenWrt and like to reflash for e.g. upgrading to a new OpenWrt version you can upgrade using the mtd command line tool. It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

LuCI Web Upgrade Process

Terminal Upgrade Process

  • Login as root via SSH on
  • Use the following commands to upgrade.
cd /tmp/
wget http://http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
sysupgrade /tmp/xxx.abc
  • If sysupgrade does not support this router, use the following commands.
cd /tmp/
wget http://http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
mtd write /tmp/xxx.abc linux && reboot

Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

hardware.button on howto use and configure the hardware button(s).

Instruction set: MIPS
Vendor: Infineon Technologies
bootloader: ADM Bootloader
System-On-Chip: ADM5120
CPU @Frq MIPS 4Kc V0.11 @175MHz
Flash size: 4096 KiB
Flash Chip: Spansion S29GL032M90
RAM size: 32 MiB
RAM Chip: ESMT M12L128168A
USB: Yes 2 x 2.0
Serial: Yes

port.serial general information about the serial port, serial port cable, etc.

How to connect to the Serial Port of this specific device:


(3.3) (TxD) (RxD) (GND)

←-- LED --→ Screw + Board RSide edge

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2019/02/12 21:42
  • by tmomas