| Both sides previous revision Previous revision Next revision | Previous revision |
| toh:d-link:d-link_dch-m225_a1 [2019/10/03 12:34] – tmomas | toh:d-link:dch-m225_a1 [2024/02/12 11:13] (current) – external edit 127.0.0.1 |
|---|
| |
| ===== Supported Versions ===== | ===== Supported Versions ===== |
| ---- datatable ---- | <!-- ToH: { |
| cols : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, OWrt Forum Topic URL_url, Device Techdata_pageid | "source": "json", |
| headers : Brand, Model, Version, Current Release, OEM Info, Forum Topic, Technical Data | "dom": "t", |
| align : c,c,c,c,c,c,c | "paging": false, |
| filter : Brand=D-Link | "rotate": true, |
| filter : Model=DCH-M225 | "shownColumns": ["brand", "model", "version", "supportedcurrentrel", "oemdevicehomepageurl", "owrt_forum_topic_url", "deviceid"], |
| filter : Versions~A1 | "filterColumns": {"brand": "^D-Link$", "model": "^DCH-M225$", "version": "^A1$"} |
| ---- | } --> |
| |
| |
| ===== Hardware Highlights ===== | ===== Hardware Highlights ===== |
| ---- datatable ---- | <!-- ToH: { |
| cols : Model, Versions, CPU, CPU MHz, Flash MB_mbflashs, RAM MB_mbram, WLAN Hardware, WLAN 2.4GHz, WLAN 5.0GHz, Ethernet 100M ports_, Ethernet Gbit ports_, Modem, USB ports_ | "source": "json", |
| header : Model, Version,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 : Brand=D-Link | "rotate": true, |
| filter : Model=DCH-M225 | "shownColumns": ["model", "version", "cpu", "cpumhz", "flashmb", "rammb", "wlanhardware", "wlan24ghz", "wlan50ghz", "ethernet100mports", "ethernet1gports", "modem", "usbports"], |
| filter : Versions~A1 | "filterColumns": {"brand": "^D-Link$", "model": "^DCH-M225$", "version": "^A1$"} |
| ---- | } --> |
| |
| |
| ===== Installation ===== | ===== Installation ===== |
| ---- datatable ---- | <!-- ToH: { |
| cols : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url | "source": "json", |
| headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock | "dom": "t", |
| align : c,c,c | "paging": false, |
| filter : Brand=D-Link | "rotate": true, |
| filter : Model=DCH-M225 | "shownColumns": ["model", "version", "supportedcurrentrel", "firmwareopenwrtinstallurl", "firmwareopenwrtupgradeurl", "firmwareoemstockurl"], |
| filter : Versions~A1 | "filterColumns": {"brand": "^D-Link$", "model": "^DCH-M225$", "version": "^A1$"} |
| ---- | } --> |
| |
| -> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]] | -> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]] |
| |
| This procedure is intended to be used for installing a factory image, but may also work to install an OpenWRT image (has not been tested). | This procedure is intended to be used for installing a factory image, but may also work to install an OpenWRT image (has not been tested). |
| | |
| | ===== Telnet Access ===== |
| | |
| | Some versions or revisions of this router seem to include "Spotify Connect", and this allows a local attacker to execute arbitrary OS commands as root, see https://gist.github.com/jezzaaa/38c752d0a129576b2cc523ce6325050f. |
| | |
| | Some versions or revisions of this router do not include "Spotify Connect". However, telnetd can by enabled by flashing a modified firmware: |
| | |
| | Step 1: Install the required tools on your computer |
| | <code> |
| | sudo apt-get update |
| | sudo apt-get -y install git build-essential zlib1g-dev liblzma-dev python-magic zip unzip |
| | |
| | mkdir -p ~/fmk |
| | cd ~/fmk |
| | git clone https://code.google.com/p/firmware-mod-kit/ |
| | cd firmware-mod-kit/src |
| | ./configure |
| | make |
| | </code> |
| | |
| | Step 2: Download the firmware (you should find it through Google) |
| | |
| | Step 3: Unpack, modify firmware to enable telnetd, then repack firmware |
| | <code> |
| | # Extract the trx file |
| | ~/fmk/firmware-mod-kit/extract-firmware.sh DCH-M225_REVA_FIRMWARE_105b01.bin |
| | |
| | # Replace "killall telnetd" with "telnetd &" on S80telnetd.sh |
| | sudo vi ~/fmk/rootfs/etc/init0.d/S80telnetd.sh |
| | |
| | # Create the new firmware archive |
| | ~/fmk/firmware-mod-kit/build-firmware.sh |
| | </code> |
| | |
| | Flash the new firmare and you should be able to telnet into the device without any password. |
| |
| ===== Ralink Firmware ===== | ===== Ralink Firmware ===== |
| ===== Hardware ===== | ===== Hardware ===== |
| ==== Info ==== | ==== Info ==== |
| ---- datatemplatelist dttpllist ---- | <!-- ToH: { |
| template: meta:template_datatemplatelist | "source": "json", |
| cols : Brand, Model, Versions, Device Type, Availability, Supported Since Rev_url, Supported since Rel, Supported current Rel, Unsupported, Instruction Set, Sub Instruction Set, Bootloader, Platform, Target, CPU MHz, Flash MBs, RAM MB, Switch, Ethernet 100M ports_, Ethernet Gbit ports_, Comments network ports_, Modem, VLAN, WLAN 2.4GHz, WLAN 5.0GHz, WLAN Hardwares, WLAN Comments_, Detachable Antennas_, USB ports_, SATA ports_, Comments USB SATA ports_, Serial, JTAG, LED count, Button count, Power supply, Device Techdata_pageid, Forum topic URL_url, wikidevi URL_url, OEM Device Homepage URL_url, Firmware OEM Stock URL_url, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Comments_ | "dom": "t", |
| filter : Brand=D-Link | "paging": false, |
| filter : Model=DCH-M225 | "rotate": true, |
| filter : Versions=A1 | "shownColumns": ["brand", "model", "version", "devicetype", "availability", "supportedsincecommit", "supportedsincerel", "supportedcurrentrel", "unsupported_functions", "bootloader", "target", "cpumhz", "flashmb", "rammb", "switch", "ethernet100mports", "ethernet1gports", "commentsnetworkports", "modem", "vlan", "wlan24ghz", "wlan50ghz", "wlanhardware", "wlancomments", "detachableantennas", "usbports", "sataports", "commentsusbsataports", "serial", "jtag", "ledcount", "buttoncount", "powersupply", "deviceid", "owrt_forum_topic_url", "wikideviurl", "oemdevicehomepageurl", "firmwareoemstockurl", "firmwareopenwrtinstallurl", "firmwareopenwrtupgradeurl", "comments"], |
| ---- | "filterColumns": {"brand": "^D-Link$", "model": "^DCH-M225$", "version": "^A1$"} |
| | } --> |
| |
| |
| ==== Opening the case ==== | ==== Opening the case ==== |
| | |
| | {{page>meta:infobox:high_voltage&noheader&nofooter&noeditbtn}} |
| | |
| **Note:** Opening the case exposes lethal voltage. Do not plug in to power without adequately protecting you and others from electric shock.\\ | **Note:** Opening the case exposes lethal voltage. Do not plug in to power without adequately protecting you and others from electric shock.\\ |
| **Note:** This will void your warranty!\\ | **Note:** This will void your warranty!\\ |
| |
| [[meta:tags|How to add tags]] | [[meta:tags|How to add tags]] |
| {{tag>MT7620A 8flash 64ram 802.11bgn}} | {{tag>MT7620A 8flash 64ram 802.11bgn mains_powered}} |