Skip to content

Guides

OpenWrt installation and firmware guides · ubus

Identify the hardware revision before choosing firmware. For installation and recovery, follow the branch for your computer and the mode the device enters.

Before you choose

Source linked
01Source linked

A collectd Lua script cannot load ubus because a symbol is missing

When loading a Lua script via ubus, if symbols are missing, first distinguish between dynamic library loading failure and unavailable message bus. Both conditions result in no data being collected.

Read guide
02Source linked

OpenWrt system log blank in LuCI or showing a log/read error?

A remote collector can keep receiving messages while LuCI shows nothing. Clear the filters and check the local log.read method over SSH. RPC error -32000 alone cannot tell you whether logs were lost.

Read guide
03Source linked

LuCI shows less uptime than SSH: did OpenWrt restart?

When SSH displays “up 4:25”, it means four hours and 25 minutes. If LuCI appears to show four minutes, compare the kernel and ubus readings on the same router before assuming a reboot.

Read guide
04Source linked

How to identify a netis NX30 V2 when LuCI shows no model after an upgrade

If the management page opens and traffic still passes, copy the full model and revision from the label. On the netis NX30 V2 the display name and the board identifier used to match firmware are separate fields. The identifier can still be available when LuCI shows a blank model.

Read guide
05Source linked

nginx workers repeatedly crash when opening LuCI over HTTPS

When LuCI HTTPS requests are interrupted, first distinguish between browser cancellation, TLS errors, and nginx process termination. Page timeout alone cannot determine service failure.

Read guide
06Source linked

Why ubus stops replying with about 6000 OLSR routes on OpenWrt

When the routing table is large, the status page might exceed parameter length during data assembly. First verify that the kernel can still select the next hop, then check why the status query is not returning a response.

Read guide
07Source linked

OpenWrt jsonfilter prints nothing: compare a pipe, a file and a missing field

An empty result can have several causes. Check what ubus returned, then give jsonfilter the same JSON through a pipe and a file. Compare the field value and exit status.

Read guide
08Source linked

How to keep custom rpcd ACLs across an OpenWrt upgrade

If Home Assistant could read router status before an upgrade but now gets permission denied, check whether the backup included your custom ACL. Check the individual file even when keeping settings.

Read guide
09Source linked

Why does LuCI still show the old hostname after renaming an OpenWrt router?

Record each router’s management IP first. The hostname, hardware model and browser tab can differ. We rename one router lab-west and check the saved setting, running name and page.

Read guide
10Source linked

Why does OpenWrt deny ubus file read when SSH can read the file?

The same terminal can return ok and then Permission denied for one file. Compare a local call with an anonymous session before changing ownership or web permissions.

Read guide