Skip to content
Contents
GuidesOpenWrt

OpenWrt can ping the Internet but LuCI will not open

A successful ping from an x86 router running OpenWrt 24.10.5 checks its own outbound path. To recover the management page, trace the wired client's path to the right LAN address, then check the web service on the router.

A successful ping from an x86 router running OpenWrt 24.10.5 checks its own outbound path. To recover the management page, trace the wired client's path to the right LAN address, then check the web service on the router.

Find the current management address

Connect a wired computer to the original management port. Check its address, netmask and default gateway. On a primary router the gateway is often the management address. An access point may have its own address leased by the upstream router. Check that lease or use a local console.

ubus call network.interface.lan status
/etc/init.d/uhttpd status
uci -q get uhttpd.main.listen_http
uci -q get uhttpd.main.listen_https

Look for up, l3_device and address under ipv4-address. If LAN is a DHCP client and has no address, check whether the upstream actually offers a lease. Keep console access before changing the protocol or address on your only management connection.

Compare a local HTTP request with the wired browser

If the web service listens on loopback or all IPv4 addresses on port 80, run the following on the router. For an HTTPS-only service use its actual port and a name covered by the certificate.

uclient-fetch -O /dev/null http://127.0.0.1/cgi-bin/luci/
echo "local GET exit=$?"
logread -e uhttpd | tail -30

The local request returned HTTP 403 while uHTTPd was running.

In this isolated OpenWrt 25.12.6 x86/64 example uHTTPd is running yet returns HTTP 403. This proves a server replied. It does not establish why it denied the request or reproduce a particular fault on 24.10.5.

For a refused connection, check the listening address, port and process. For 403 or 404, compare the browser's final URL, status and redirects with the service log at the same time. Check the path, permissions and installed LuCI files.

If a local request succeeds but the client times out, check the client's VLAN and the management access rules. Keep access limited to the intended LAN. Sign in, open Status and match the model and uptime to the device. Renew the client lease and try again. If a listener change caused the failure, restore its previous settings from the console and restart the affected service.

What does an OpenWrt configuration backup restore?

GL-AXT1800 stays online but LuCI says the Wi-Fi client is disconnected

Explore hardware

Comments