Does anyone know of a way to display the hostname on the the login page. It would be helpful when managing multiple routers at different locations.
- What's wrong with the hostname that's displayed by default?
- Have you changed it?
(The page title includes the hostname.)
I'm seeking a way to display the hostname somewhere to indicate which router I'm attempting to log into.
If you [zoom way out and] screenshot the entire browser - what does the TITLE of the page say?
(Or if you bookmark that page, what does it say the title is?)
Here is a screenshot of the entire window. The tab for this window says "Home - Garage" like the hostname but I would like for "Home - Garage" to be shown somewhere in the actual window. Where does the webpage get the "Authorization Required"? If I can find it I would be content to replace it with the wording that I am looking for. Managing multiple OpenWrt routers can be confusing as to which one I am logging into and who wants to look through all of the open tabs at the top of the screen when you have 10 or 12 open?
I was curious and did a quick search and my test succeeded.
Editing /www/luci-static/resources/view/bootstrap/sysauth.js and rebooting worked on my test machine running SNAPSHOT prior to the release of the 25.12 branch. I rebooted because it is my understanding that server side caching is used and it was quicker to reboot than figure out how to clear the cache.
Note that this file is pretty much guaranteed to be overwritten by future system updates and likely by some package updates. Future luci implementations may change things so this hack stops working.
That's exactly what I was looking for. Thanks!

