OpenWRT EasyCwmp Installation Guide

Reference Links

Tutorial – EasyCwmpOpenWRT EasyCwmp Installation Guidehttps://easycwmp.org/tutorial/

EasyCwmp Introduction

EasyCwmp is designed with two components:

  • EasyCwmp Core: It includes the TR069 CWMP engine, responsible for communication with the ACS server. It is developed in C.
  • EasyCwmp DataModel: It includes the TR-06 DATAModel and complies with some DataModel standards such as TR-098, TR-181, TR-104, etc.

The key design goal is to separate the execution of CWMP methods from the CWMP engine. This makes it easier to add and test new features.

The DataModel is developed using shell as a free solution and C as a commercial solution.

OpenWRT EasyCwmp Installation GuideEdit

EasyCwmp Dependencies

  1. libuci
  2. libcurl
  3. json-c
  4. libubox: minimum version [git version: 0608d1299546d4af1facc271a090cb2abb8c6105, date: 2012-05-30]
  5. libubus: minimum version [git version: a62e2f8c15a65efb1a82404d8f31e3bfc1cbe7d9, date: 2012-06-01]
  6. microxml: microxml is a fork of Mini-XML, used to parse XML blocks passed between ACS and the client, published by the freecwmp team:
  • microxml source: git clone https://github.com/pivasoftware/microxml.git
  • microxml OpenWRT package: wget https://easycwmp.org/download/libmicroxml.tar.gz

Installing EasyCwmp on OpenWRT

Download EasyCwmp

Download – EasyCwmpOpenWRT EasyCwmp Installation Guidehttps://easycwmp.org/get/Download the OpenWRT version

OpenWRT EasyCwmp Installation GuideEdit

Download easycwmp-openwrt-1.8.0.tar.gz

Add EasyCwmp to OpenWRT Package Directory

tar -xvf easycwmp-openwrt-1.8.0.tar.gz

Configure Default Enable

cd openwrt

make menuconfig

Compile

make package/easycwmp/{clean,compile} V=s -j1

or

make

Run EasyCwmp

/etc/init.d/easycwmpd restart

Test Verification

ubus call tr069 notify

Note:

Dependency package libmicroxml

If automatic download fails, you can download manually

wget https://easycwmp.org/download/libmicroxml.tar.gz

Then copy to /openwrt/dl directory

Leave a Comment