Skip to content
Contents
GuidesOpenWrt

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.

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.

Change the name and verify it

Sign in by IP. Open System → System → General Settings. Note the original hostname and enter lab-west or another unique short name. The screenshots use an isolated OpenWrt 25.12.6 VM. Set an admin password on a real device.

LuCI · System → Hostname · lab-west

Click Save & Apply and wait. Open Status → Overview and read Hostname under System. The model normally stays unchanged. Renaming does not automatically update external DNS records.

LuCI · Overview · lab-west

Read three values over SSH

On that router, read the first system section, the kernel name and the ubus result in order. If there are multiple sections, locate yours with uci show system. These commands are read-only.

uci get 'system.@system[0].hostname'
cat /proc/sys/kernel/hostname
ubus call system board | jsonfilter -e '@.hostname'

OpenWrt 25.12.6 · SSH · UCI / kernel / ubus

The screenshot shows a separate SSH rename and rollback. Each set of three should agree. If the first is old, check pending edits. If only the saved value changed, check service logs and startup scripts. If the kernel changed but ubus did not, inspect the full ubus call system board response and confirm the device.

If all three agree, check the browser and build

Sign in by IP in a private window. The 25.12 overview reads boardinfo.hostname. For a custom build, compare the served 10_system.js in the browser Network panel with the packaged file. Old code points to cache or packaging. Otherwise check the console and board response. Editing the label cannot rename the system.

To revert, restore your recorded name, save, apply and check Overview again. Our original was OpenWrt. If the name changes back only after reboot, check persistent storage and startup overrides.

LuCI · Overview · OpenWrt

LuCI works over Wi-Fi but not over Ethernet on VLAN 1

Explore hardware

Comments