A topology plugin.
Reads an OpenWrt router or access point: the device as a network node, and every device it knows as a client: DHCP leases and neighbours (wired) and the Wi-Fi stations associated with each radio, with band, signal strength (RSSI) and link speed. Netlens uses this to place devices in the hierarchy and to show Wi-Fi signal history and roaming.
Status: tested against the real software in a lab (OpenWrt 25.12.5 under QEMU (x86-64): login with root and with a read-only user made from the setup box, DHCP leases and neighbours. The router had no radio, so the Wi-Fi part (stations, band, signal, rates) follows the iwinfo documentation and is covered by simulated answers only.) Please report what you see; Run diagnostic on the plugin’s page makes an anonymised report (counts and field names, never names or addresses).
Set-up
- On the router, install the packages and create the read-only login from the box at the top of the plugin’s page (
apk add uhttpd-mod-ubus rpcd-mod-iwinfo luci-base, an rpcd ACL file and anetlenslogin). - In Netlens install OpenWrt, add a line per device (
http://192.168.1.1, user name, password). For an access point also fill in Uplink (the address of the router or node it is plugged into). - Test, enable.
Good to know
- A device with an active
wan*interface is the gateway, any other device is an access point; override with Role. - A station associated with a radio is
wifi; every other device iswired, even when it is really behind a switch. - The router’s own MAC addresses are never reported as clients; the same device seen by two access points is reported by the one whose radio it is associated with.