You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it would be great if wrtbwmon could also parse the /etc/config/dhcp file to search for hostnames.
The great thing about this file is that when the user assigns a static IP from the DHCP settings in his router the following entry appears in the file:
config host
option name 'BradleyDesktop'
option dns '1'
option mac '1c:1b:0d:e5:60:f1'
option ip '192.168.1.69'
option leasetime 'infinite'
also, when the user sets a custom hostname from the Hostnames page the following entry appears:
config domain
option name 'TestDeviceName'
option ip '192.168.1.167'
Hey @pyrovski it's me again!
I think it would be great if
wrtbwmon
could also parse the/etc/config/dhcp
file to search for hostnames.The great thing about this file is that when the user assigns a static IP from the DHCP settings in his router the following entry appears in the file:
also, when the user sets a custom hostname from the
Hostnames
page the following entry appears:What do you think? Is this PR worthy?
You can read the whole discussion that led to this solution in Kiougar/luci-wrtbwmon#13
The text was updated successfully, but these errors were encountered: