OpenWrt Powerline Support D-Link DHP-1565 | |
---|---|
Participants | Dennis |
Skills | Reading docs, Building OpenWrt |
Status | In progress |
Niche | Software |
Purpose | Infra |
Tool | No |
Location | |
Cost | |
Tool category |
OpenWrt Powerline Support D-Link DHP-1565 Property "Tool Image" (as page type) with input value "File:{{{Picture}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. {{{Picture}}} {{#if:No | [[Tool Owner::{{{ProjectParticipants}}} | }} {{#if:No | [[Tool Cost::{{{Cost}}} | }}
Description
I bought a D-Link DHP-1565 router. As with al my routers, I'd like to run OpenWrt on it. The official images however do not support the Powerline (PLC) functionality built in in this model, this is why I'm trying to reproduce the process described here.
Progress
Built image with patched kernel
I succesfully built an image that has this patch applied. Images (18.06-SNAPSHOT, r7853-f6de1fa6c6) can be downloaded here. It looks like the link on port 6 is there, this means the switch can talk to the AR7400 PLC chipset now.
Install open-plc-tools
Looks like we do not need to build this, since there are packages in the OpenWrt repo's. I started with installing open-plc-utils-amptool and open-plc-utils-ampboot. Unfortunately running amptool -i eth0.2 -Iar did not give the "AR7400 Bootloader" answer.
Extracting PLC firmware
- Download firmware from https://tsd.dlink.com.tw/
- Extract the .rar, it should give you a .bin file
- Install binwalk and sasquatch
apt install binwalk
git clone https://github.com/devttys0/sasquatch cd sasquatch/ ./build.sh
- Run binwalk on the .bin
binwalk -e DHP1565A1_FW100B35.bin
PLC stuff can be found in _DHP1565A1_FW100B35.bin.extracted/squashfs-root/plc.