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
Next revisionBoth sides next revision
inbox:toh:d-link:covr-p2500_a1 [2023/11/11 10:48] – [Powerline configuration] jokujossaiinbox:toh:d-link:covr-p2500_a1 [2023/11/23 17:12] – [D-Link COVR-P2500 A1] jokujossai
Line 1: Line 1:
 ====== D-Link COVR-P2500 A1====== ====== D-Link COVR-P2500 A1======
 ~~NOTOC~~ ~~NOTOC~~
- 
-/* This template is intended to be used via https://openwrt.org/meta/create_new_device_page . */ 
- 
-{{page>meta:infobox:construction&noheader&nofooter&noeditbtn}} 
  
 The D-Link COVR-P2500 A1 is a AC1200 dual band wireless access point with wired Ethernet, Wi-Fi and PowerLine interfaces. It is basically a standard router with a Homeplug AV2 Powerline Communication (PLC) interface connected internally to one of the Ethernet switch ports.  The D-Link COVR-P2500 A1 is a AC1200 dual band wireless access point with wired Ethernet, Wi-Fi and PowerLine interfaces. It is basically a standard router with a Homeplug AV2 Powerline Communication (PLC) interface connected internally to one of the Ethernet switch ports. 
Line 604: Line 600:
 ==== Powerline configuration ==== ==== Powerline configuration ====
  
-Powerline interface needs ''plchost'' daemon to work. PLC packages are installed by default but ''plchost'' requires also ''.nvm'' and ''.pib'' files to work. These files can be extracted from [[http://pmdap.dlink.com.tw/PMD/GetAgileFile?itemNumber=FIR1800225&fileName=COVRP2500A1_FW101b08_decrypted.bin&fileSize=1.5990457E7;1.5992229E7;65141.0;|original decrypted firmware]] and [[#etcinitdplc|/etc/init.d/plc]] service handles running ''plchost'' automatically. [[#etcinitdplc|/etc/init.d/plc]] contains simple setup script that helps configuring plc.+Powerline interface needs ''plchost'' daemon to work. PLC packages are installed by default but ''plchost'' requires also ''.nvm'' and ''.pib'' files to work. These files can be extracted from [[http://pmdap.dlink.com.tw/PMD/GetAgileFile?itemNumber=FIR1800225&fileName=COVRP2500A1_FW101b08_decrypted.bin&fileSize=1.5990457E7;1.5992229E7;65141.0;|original decrypted firmware]] and [[#etcinitdplc|/etc/init.d/plc]] service handles running ''plchost'' automatically. 
 + 
 +''plchost'' does not work if PLC device is added to ''br-lan'' bridge before connection is established''plc'' service bypasses this limitation by waiting PLC connection to be established before adding ''eth0.3'' to ''br-lan''.
  
 === Powerline Quick Setup === === Powerline Quick Setup ===
Line 618: Line 616:
 3. Install ''unsquashfs'' tool for extracting files from original firmware ''opkg install squashfs-tools-unsquashfs'' 3. Install ''unsquashfs'' tool for extracting files from original firmware ''opkg install squashfs-tools-unsquashfs''
  
-4. (Optional) Download ''QCA75XX-2.10.0.0032_modules_5-6_stripped.nvm'' (https://community.tp-link.com/us/home/forum/topic/204234) to /etc/plc directory+4. Install open-plc packages ''opkg install open-plc-utils open-plc-utils-hpavkey open-plc-utils-modpib open-plc-utils-plchost open-plc-utils-plctool''
  
-5. Run setup tool ''/etc/init.d/plc setup''+5. (Optional) Download ''QCA75XX-2.10.0.0032_modules_5-6_stripped.nvm'' (https://community.tp-link.com/us/home/forum/topic/204234) to /etc/plc directory 
 + 
 +6. Run setup tool ''/etc/init.d/plc setup'' 
 + 
 +<hidden Setup example> 
 +<code> 
 +root@covrp2500_1:/# /etc/init.d/plc setup 
 +Download original firmware and extract files from /lib/plc to /etc/plc [y|n] y 
 +Downloading 'http://pmdap.dlink.com.tw/PMD/GetAgileFile?itemNumber=FIR1800225&fileName=COVRP2500A1_FW101b08_decrypted.bin&fileSize=1.5990457E7;1.5992229E7;65141.0;' 
 +Connecting to 60.248.210.49:80 
 +Writing to 'COVRP2500A1_FW101b08_decrypted.bin' 
 +COVRP2500A1_FW101b08 15460k --:--:-- ETA 
 +Download completed (15990457 bytes) 
 +Parallel unsquashfs: Using 1 processor 
 +4 inodes (6 blocks) to write 
 + 
 +[===================================================================|] 6/6 100% 
 + 
 +created 4 files 
 +created 3 directories 
 +created 0 symlinks 
 +created 0 devices 
 +created 0 fifos 
 +created 0 sockets 
 +1) /etc/plc/COVRP2500AVA1_PIB100EU_WM.pib 
 +2) /etc/plc/COVRP2500AVA1_PIB100NA_WM.pib 
 +3) /etc/plc/COVRP2500AVA1_PIB100SG_WM.pib 
 +Select PibPath [1-3]: 1 
 +1) /etc/plc/MAC-7500-v2.2.2-03-X-CS.nvm 
 +2) /etc/plc/QCA7500-2.10.0032_modules_5-6_stripped.nvm 
 +Select NvmPath [1-2]: 2 
 +NetworkPasswd (leave empty to use default plc_networkpwd): SomePassword 
 +Enable plc [0-1]: 1 
 +Automatically add to br-lan bridge [0-1]: 1 
 +root@covrp2500_1:/# /etc/init.d/plc start 
 +root@covrp2500_1:/# brctl show br-lan 
 +bridge name     bridge id               STP enabled     interfaces 
 +br-lan          7fff.xxxxxxxxxxxx       no              eth0.3 
 +                                                        eth0.1 
 +root@covrp2500_1:/# plctool -i br-lan -m 
 +br-lan 00:B0:52:00:00:01 Fetch Network Information 
 +br-lan XX:XX:XX:XX:XX:XX Found 1 Network(s) 
 + 
 +source address = XX:XX:XX:XX:XX:XX 
 + 
 + network->NID = XX:XX:XX:XX:XX:XX:XX 
 + network->SNID = 14 
 + network->TEI = 1 
 + network->ROLE = 0x00 (STA) 
 + network->CCO_DA = XX:XX:XX:XX:XX:XX 
 + network->CCO_TEI = 3 
 + network->STATIONS = 1 
 + 
 + station->MAC = XX:XX:XX:XX:XX:XX 
 + station->TEI = 3 
 + station->BDA = 28:3B:82:2A:AB:7A 
 + station->AvgPHYDR_TX = 154 mbps Alternate 
 + station->AvgPHYDR_RX = 233 mbps Alternate 
 + 
 + 
 +</code> 
 +</hidden>
  
 6. Start plc service with ''/etc/init.d/plc start'' 6. Start plc service with ''/etc/init.d/plc start''
  
 === /etc/init.d/plc === === /etc/init.d/plc ===
-<WRAP bootlog+<hidden /etc/init.d/plc
-<nowiki>#!/bin/sh /etc/rc.common+<code - /etc/init.d/plc> 
 +#!/bin/sh /etc/rc.common
  
 USE_PROCD=1 USE_PROCD=1
Line 960: Line 1020:
  uci commit plc  uci commit plc
  fi  fi
-}</nowiki+} 
-</WRAP>\\+</code
 +</hidden>
  
 ===== Hardware ===== ===== Hardware =====
  • Last modified: 2024/08/29 18:27
  • by jokujossai