LuCI extensions for the OpenWISP project.
Table of Contents:
The goal of this project is to provide a limited web interface for LEDE / OpenWRT so that users can configure only the bare minimum in order for their device to connect to the OpenWISP 2 Controller.
Use this web interface only if you have a similar use case, otherwise you should keep the default LEDE / OpenWRT interface (luci-mod-admin-full).
- login with a different username and password combination than the root SSH password
- possibility to edit LAN settings
- status page (inherited from
luci-admin-full) - upgrade firmware page
- reboot
- logout
- meta-packages for easier installation:
luci-openwispluci-openwisp-mbedtlsluci-openwisp-opensslluci-openwisp-polarsslluci-openwisp-cyassl
First run:
opkg updateThen install one of the latest builds:
opkg install <URL>Where <URL> is the URL of the image that is suitable for your case.
For a list of the latest built images, take a look at downloads.openwisp.org.
If you need to compile the package yourself see Compiling luci-openwisp.
UCI configuration options must go in /etc/config/luci_openwisp.
username: username for the web interface, defaults tooperatorpassword: encrypted password for the web interface, defaultspassword(encrypted)
To change the default password for the web UI, use the openwisp-passwd script:
openwisp-passwd Changing password for luci-mod-openwisp, username: operator New password: secret Retype password: secret luci-mod-openwisp password for user operator changed successfully
This repository contains 2 packages:
luci-mod-openwisp: contains the custom password validator and limited menu interfaceluci-theme-openwisp: contains a few adjustments to the general luci theme
Additionally a few meta-packages are also present in the luci-openwisp directory. These meta-packages
can be used in alternative to the commonly used luci or luci-ssl.
luci-openwisp: depends onuhttpd,uhttpd-mod-ubus,luci-mod-openwispandluci-theme-openwispluci-openwisp-mbedtls: dependsluci-openwisp,libustream-mbedtlsandpx5gluci-openwisp-openssl: dependsluci-openwisp,libustream-opensslandpx5gluci-openwisp-cyassl: dependsluci-openwisp,libustream-cyasslandpx5gluci-openwisp-polarssl: dependsluci-openwisp,libustream-polarsslandpx5g
The following procedure illustrates how to compile the meta-package luci-openwisp:
git clone git://git.lede-project.org/source.git lede
cd lede
# configure feeds
cp feeds.conf.default feeds.conf
echo "src-git luciopenwisp https://github.com/openwisp/luci-openwisp.git" >> feeds.conf
./scripts/feeds update -a
./scripts/feeds install -a
# any arch/target is fine because the packages are architecture indipendent
arch="ar71xx"
echo "CONFIG_TARGET_$arch=y" > .config;
echo "CONFIG_PACKAGE_luci-openwisp=y" >> .config
make defconfig
make tools/install
make toolchain/install
make package/luci-openwisp/compile
make package/luci-openwisp/installAlternatively, you can configure your build interactively with make menuconfig, in this case
you will need to select one of the available luci-openwisp variants by going to Luci > 1. Collections:
git clone git://git.lede-project.org/source.git lede
cd lede
# configure feeds
cp feeds.conf.default feeds.conf
echo "src-git luciopenwisp https://github.com/openwisp/luci-openwisp.git" >> feeds.conf
./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig
# go to Luci > 1. Collections and select one of the variants
make -j1 V=sSee CHANGELOG.
See LICENSE.
