LuCI essentials
Introduction
While OpenWrt can be managed completely using SSH and the terminal, the LuCI WebUI makes many administration tasks easier. The OpenWrt full releases, such as the current 18.06.x series, ship with the LuCI WebUI installed. But for lower-memory devices, such as those with 4MBytes Flash and/or 32MBytes of RAM, the full install may fail because of lacking sufficient Flash memory so you will have to build your own image with LuCI included. More info on this can be obtained here.
Instructions
1. Basic installation
Install the required packages.
opkg update
opkg install luci
Now you can open LuCI interface.
2. Providing encryption
Install the required packages.
opkg update
opkg install luci-ssl
/etc/init.d/uhttpd restart
Reload LuCI interface and verify that you are using HTTPS.
3. Native language support
LuCI uses English by default. You can search and install additional packages for native language support.
opkg update
opkg list luci-i18n-\*
opkg install luci-i18n-hungarian
You can also install multiple language packs and switch between them in the LuCI settings.
LuCI is being actively translated into many languages by volunteers.
4. Additional web applications
Search and install luci-app-* packages if you want to configure services via LuCI.
opkg update
opkg list luci-app-\*
5. Alternative ports
Use alternative ports:
HTTP - 8080/TCP
HTTPS - 8443/TCP
uci -q delete uhttpd.main.listen_http
uci add_list uhttpd.main.listen_http="0.0.0.0:8080"
uci add_list uhttpd.main.listen_http="[::]:8080"
uci -q delete uhttpd.main.listen_https
uci add_list uhttpd.main.listen_https="0.0.0.0:8443"
uci add_list uhttpd.main.listen_https="[::]:8443"
uci commit uhttpd
/etc/init.d/uhttpd restart
Sources
You do not have permission to view the full content of this post.
Log in or register now.