freecwmp
freecwmp copied to clipboard
configure autotools
$ autoreconf -if
clean it all up
$ make distclean
or
$ git clean -df
development environment
Make sure you have all the packages installed from packages-arch-tr069 git repository.
$ ln -sf pwd
/ext/openwrt/scripts/defaults /usr/share/freecwmp/defaults
$ ln -sf pwd
/ext/openwrt/scripts/functions/common /usr/share/freecwmp/functions/common
$ ln -sf pwd
/ext/openwrt/scripts/functions/device_info /usr/share/freecwmp/functions/device_info
$ ln -sf pwd
/ext/openwrt/scripts/functions/lan_device /usr/share/freecwmp/functions/lan_device
$ ln -sf pwd
/ext/openwrt/scripts/functions/management_server /usr/share/freecwmp/functions/management_server
$ ln -sf pwd
/ext/openwrt/scripts/functions/voice_service /usr/share/freecwmp/functions/voice_service
$ ln -sf pwd
/ext/openwrt/scripts/functions/wan_device /usr/share/freecwmp/functions/wan_device
$ ln -sf pwd
/ext/openwrt/scripts/functions/x_freecwmp_org /usr/share/freecwmp/functions/x_freecwmp_org
$ ln -sf pwd
/ext/openwrt/scripts/functions/device_users /usr/share/freecwmp/functions/device_users
$ ln -sf pwd
/ext/openwrt/scripts/functions/device_hosts /usr/share/freecwmp/functions/device_hosts
$ ln -sf pwd
/ext/openwrt/scripts/functions/device_routing /usr/share/freecwmp/functions/device_routing
run freecwmpd
$ export UCI_CONFIG_DIR="pwd
/ext/openwrt/config/"
$ export UBUS_SOCKET="/tmp/ubus.sock"
$ ./bin/freecwmpd -f