Build Home Router with OpenWrt – Add Web Interface

less than 1 minute read

Luci is the default web interface for managing openwrt base home routers, integrate luci with the following patch:

diff --git a/target/linux/brcm2708/configs/rpi3b_defconfig b/target/linux/brcm2708/configs/rpi3b_defconfig
index 3734a9c..3e4288b 100644
--- a/target/linux/brcm2708/configs/rpi3b_defconfig
+++ b/target/linux/brcm2708/configs/rpi3b_defconfig
@@ -3,5 +3,28 @@ CONFIG_TARGET_brcm2708_bcm2709=y
 CONFIG_TARGET_brcm2708_bcm2709_DEVICE_rpi-2=y
 # CONFIG_FEED_telephony is not set
 CONFIG_IMAGEOPT=y
+CONFIG_PACKAGE_libiwinfo-lua=y
+CONFIG_PACKAGE_liblua=y
+CONFIG_PACKAGE_liblucihttp=y
+CONFIG_PACKAGE_liblucihttp-lua=y
+CONFIG_PACKAGE_libubus-lua=y
+CONFIG_PACKAGE_lua=y
+CONFIG_PACKAGE_luci=y
+CONFIG_PACKAGE_luci-app-firewall=y
+CONFIG_PACKAGE_luci-app-opkg=y
+CONFIG_PACKAGE_luci-base=y
+CONFIG_PACKAGE_luci-lib-ip=y
+CONFIG_PACKAGE_luci-lib-jsonc=y
+CONFIG_PACKAGE_luci-lib-nixio=y
+CONFIG_PACKAGE_luci-mod-admin-full=y
+CONFIG_PACKAGE_luci-mod-network=y
+CONFIG_PACKAGE_luci-mod-status=y
+CONFIG_PACKAGE_luci-mod-system=y
+CONFIG_PACKAGE_luci-proto-ipv6=y
+CONFIG_PACKAGE_luci-proto-ppp=y
+CONFIG_PACKAGE_luci-theme-bootstrap=y
+CONFIG_PACKAGE_rpcd=y
+CONFIG_PACKAGE_rpcd-mod-rrdns=y
+CONFIG_PACKAGE_uhttpd=y
 # CONFIG_TARGET_IMAGES_GZIP is not set