[GH-ISSUE #51] Hostname possible? #34

Open
opened 2026-03-04 12:24:08 +03:00 by kerem · 5 comments
Owner

Originally created by @benisai on GitHub (Feb 21, 2022).
Original GitHub issue: https://github.com/brvphoenix/luci-app-wrtbwmon/issues/51

Would it be possible to have the host name listed in the column instead of the Mac address?

Originally created by @benisai on GitHub (Feb 21, 2022). Original GitHub issue: https://github.com/brvphoenix/luci-app-wrtbwmon/issues/51 Would it be possible to have the host name listed in the column instead of the Mac address?
Author
Owner

@jeniforxiaoyong commented on GitHub (Sep 3, 2022):

怎么显示hostname,即使用户文件配置了,也不显示

<!-- gh-comment-id:1235993339 --> @jeniforxiaoyong commented on GitHub (Sep 3, 2022): 怎么显示hostname,即使用户文件配置了,也不显示
Author
Owner

@Lighthouseh commented on GitHub (Nov 30, 2023):

Could you please add the Hostname column. It can be as simple as comparing the IP/Mac against the Static leases table.

<!-- gh-comment-id:1834478032 --> @Lighthouseh commented on GitHub (Nov 30, 2023): Could you please add the Hostname column. It can be as simple as comparing the IP/Mac against the Static leases table.
Author
Owner

@Lighthouseh commented on GitHub (Dec 1, 2023):

By some miracle, today the host name showed up instead of the mac address.

<!-- gh-comment-id:1836549889 --> @Lighthouseh commented on GitHub (Dec 1, 2023): By some miracle, today the host name showed up instead of the mac address.
Author
Owner

@benisai commented on GitHub (Dec 1, 2023):

By some miracle, today the host name showed up instead of the mac address.

It has always shown up in the UI. It just take some time but what I'm asking is for the database to have the host name.
:)

<!-- gh-comment-id:1836555756 --> @benisai commented on GitHub (Dec 1, 2023): > By some miracle, today the host name showed up instead of the mac address. It has always shown up in the UI. It just take some time but what I'm asking is for the database to have the host name. :)
Author
Owner

@Lighthouseh commented on GitHub (Dec 2, 2023):

By some miracle, today the host name showed up instead of the mac address.

It has always shown up in the UI. It just take some time but what I'm asking is for the database to have the host name. :)

Ah, I realized it gets the host name from the Static leases table. But only under the condition that the client is granted an IP from DHCP. If a static IP is set on the client, it will only show the MAC
And if you want the hostname database, use the "User File" tab. Format: mac,hostname per line.

<!-- gh-comment-id:1837166778 --> @Lighthouseh commented on GitHub (Dec 2, 2023): > > By some miracle, today the host name showed up instead of the mac address. > > It has always shown up in the UI. It just take some time but what I'm asking is for the database to have the host name. :) Ah, I realized it gets the host name from the Static leases table. But only under the condition that the client is granted an IP from DHCP. If a static IP is set on the client, it will only show the MAC And if you want the hostname database, use the "User File" tab. Format: mac,hostname per line.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/luci-app-wrtbwmon-brvphoenix#34
No description provided.