Skip to content
Contents
GuidesOpenWrt

LuCI returns 403 after installing luci-light alone. Check dependencies and dispatch

After installing the minimal LuCI, all pages return 403. First verify that the request reaches the correct dispatching module. Relaxing permissions will mask the actual missing components.

Applies to · ASUS RT-AC68U v3 · bcm53xx · luci-light · uhttpd

What to check

First, access static resources and the LuCI entry separately, and record the corresponding status codes.

Connect over Ethernet and run the following commands in an SSH session on the router.

logread -e uhttpd
ls -l /www/cgi-bin/luci
command -v ucode

How to interpret the result

On a single request from a trusted LAN, align uHTTPd logs with the /www/cgi-bin/luci entry point. If no interpreter or matching module is found, verify the image dependencies. Only proceed to authenticate and enforce access control if the entry point executes successfully.

Verify and recover

Open the management page from the trusted LAN and check that access controls remain effective. Restore the previous working image or management configuration if needed.

Related guide · Move from opkg to apk on OpenWrt 25.12

Explore hardware

Comments