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
toh:d-link:d-link_dch-m225_a1 [2019/10/03 12:34] tmomastoh:d-link:dch-m225_a1 [2024/02/12 11:13] (current) – external edit 127.0.0.1
Line 9: Line 9:
  
 ===== Supported Versions ===== ===== Supported Versions =====
----- datatable ---- +<!-- ToH: { 
-cols    BrandModelVersionsSupported Current Rel, OEM device homepage URL_url, OWrt Forum Topic URL_url, Device 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  : 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    ModelVersionsCPUCPU 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  : 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  : 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    ModelVersionsSupported Current RelFirmware OpenWrt Install URL_urlFirmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url +  "source""json", 
-headers ModelVersionCurrent ReleaseFirmware OpenWrt InstallFirmware OpenWrt UpgradeFirmware 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)]]
Line 183: Line 183:
  
 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 =====
Line 220: Line 255:
 ===== Hardware ===== ===== Hardware =====
 ==== Info ==== ==== Info ====
----- datatemplatelist dttpllist ---- +<!-- ToH: { 
-templatemeta:template_datatemplatelist +  "source""json", 
-cols    BrandModelVersionsDevice TypeAvailabilitySupported Since Rev_urlSupported since RelSupported current RelUnsupportedInstruction SetSub Instruction SetBootloaderPlatformTargetCPU MHzFlash MBsRAM MBSwitchEthernet 100M ports_Ethernet Gbit ports_Comments network ports_ModemVLANWLAN 2.4GHzWLAN 5.0GHzWLAN HardwaresWLAN Comments_Detachable Antennas_USB ports_SATA ports_Comments USB SATA ports_SerialJTAGLED countButton countPower supplyDevice Techdata_pageidForum topic URL_urlwikidevi URL_urlOEM Device Homepage URL_urlFirmware OEM Stock URL_urlFirmware OpenWrt Install URL_urlFirmware OpenWrt Upgrade URL_urlComments_ +  "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!\\
Line 1079: Line 1118:
  
 [[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}}
  • Last modified: 2024/02/12 11:13
  • by 127.0.0.1