Can't define wrtbwmon [user_file]
See original GitHub issueHello, I’ve tried (and failed) to add an option to define a user file to replace MACs with nicknames, as the wrtbwmon program allows for.
tried by adding this to model/cbi/wrtbwmon.lua
local macfile = s:option(Value, "macfile", translate("Nickname by MAC file"))
But that’s as far as I got, I don’t know much about Luci and I have no experience with Lua.
This would be super useful, because these dang Android devices don’t allow you to set your own hostnames!
Cheers
Issue Analytics
- State:
- Created 6 years ago
- Comments:17 (8 by maintainers)
Top Results From Across the Web
[OpenWrt Wiki] bandwith monitor with wrtbwmon
bandwith monitor with wrtbwmon wrtbwmon is a small and basic shell script designed to run on linux powered routers (OpenWRT, DD-WRT, Tomato, ...
Read more >View topic - dd-wrt - Bandwidth Usage Monitor
I have been looking extensively at the wrtbwmon for live traffic ... use the dnsmasq user file, store backups as /mnt/monitor/usage.backup, ...
Read more >wrtbwmon - Linux bandwidth monitor with per-device tracking
wrtbwmon conveniently tracks bandwidth consumption on a per-IP address basis, so you can easily determine which user/device is the culprit. Here is an...
Read more >The luci-wrtbwmon from Kiougar - GithubHelp
Can't define wrtbwmon [user_file]. Hello, I've tried (and failed) to add an option to define a user file to replace MACs with nicknames,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

It looks like this in the
/etc/config/dhcpfile:While a static ip hostname looks like this:
specially, i also have the /etc/config/dhcp and as i have 4 routers, the dhcp is only creating when this is acting as dhcp, but i have multiple, so, every router is a dhcp server, depends where the clients conencting …
so, i guess it would be needed to create a kind of serlist on startup of wrtbmon or … the luci wrtbmon can create that on the call or on a config change ?
or on the creation of dhcp …
there is a file: (on my router) /tmp/etc/dnsmasq.conf.cfg01411c
which is having: dhcp-host=20:32:33:70:D8:85,192.168.1.201,IPCam_201,24h dhcp-host=20:32:33:70:4D:17,192.168.1.202,IPCam_202,24h …
can these files be used ? which change would be needed ?