Posted: Fri Dec 24, 2021 0:30 Post subject: Name DHCP Clients in UI and track bandwidth per client
When I click on Status->Wireless, I see numerous wireless clients with their MAC address. I would like to replace the MAC address with hostnames. Some of these DHCP clients do not send their hostnames, they are for instance sprinkler systems, or garage door openers. I want to be able to set their names in the UI so that I can see which client is using how much bandwidth. Is this possible?
Also, I want per client network graphs, similar to the ones in Status->Bandwidth, but per client. How can I get that?
I am on Linksys WRT3200ACM with Firmware: DD-WRT v3.0-r44715 std (11/03/20).
Unless you roll your own from their github, or they have snapshots, you're still running the risks and caveats of 2-year-old firmware.
yeah well ... I stand by my comment of it still has the best logging/limits control that I can find (in an easy manner, I mean I have rolled my own but was lots of effort) I do have a few captive portals running which do suffice as well. But now I am getting off topic... I do that in my old age sometimes Now I need to go get some kids off my lawn lol
Joined: 08 May 2018 Posts: 13113 Location: Texas, USA
Posted: Sat Dec 25, 2021 4:47 Post subject:
Make it snappy, and while you're at it, get them off my lawn, too!
I think Gargoyle has their hands tied as it is highly dependent on which branch of OpenWRT they follow. You can make changes of your own if you roll your own, though. It's not necessarily an easy solution, but.
Enter static leases with host names for them in the Additional DNSMasq Options in the GUI.
Search for "Yamon" that is a Bandwith logging extension you can run on the router.
Looks like Yamon was last updated in April of 2020, I am not sure if this project is actively being maintained.
Is there another alternative that is actively being maintained? I bought my router specifically so that I can install DD-WRT for monitoring clients. Unless there is another software that can do that same for me?
What specifically are you trying to track? I have done some hacky things through using IP tables, but we would be changing from what the GUI would assume...
I could be wrong on this but I do not think Yamon is being maintained anymore...
DD-WRT does not have really much monitoring per ip address, unless you want to setup something fancy
Since I have close to 3 dozen network devices, I am currently using 1.5TB of data a month with my ISP. I want to track usage of network bandwidth per device. I also want to track all websites that the devices access. For instance, I want to know how many MBytes of data was downloaded by Playstation 4. I also want to know which websites my kids visited. Additionally I want to find out if my Samsung SmartThings home automation is contacting Samsung, and if so what data is it sending? When is it sending? Basically, I want insights into my home network.
Joined: 16 Nov 2015 Posts: 5393 Location: UK, London, just across the river..
Posted: Sun Dec 26, 2021 8:38 Post subject:
Basically, I want insights into my home network.
this is not an easy task...and cannot be all done just by standard DDWRT firmware..it requires add-on's, skills and understanding...you can try with wireshark on tap ...
Otherwise DDWRT is limited to Yamon, and DNSmasq logs at its best...you can try adding entware packages like bmon, bandwidthd-sqlite and ect. but it will require skills to deploy those..
For such a demands like yours, you may need an expensive enterprise router or router OS and even thou it will require skills...
As some others suggested, you can try Gargoyle OS as it has quota limits and more graphical usage details...but bear in mind, as im using it for those, i do not trust its safe and sound to be run as an edge router... _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 50500 WAP
TP-Link WR1043NDv2 -DD-WRT 50963 Gateway,DNS,AP Isolation,Ad-Block,Firewall,Forced DNS,DoT,VPN,VLAN
TP-Link WR1043NDv2 -DD-WRT 50963 Gateway,DNS,Ad-Block,Firewall,Forced DNS,DoT,VPN,VLAN
TP-Link WR1043NDv2 -Gargoyle OS 1.13.0 AP,DNS,QoS,Quotas
Netgear R7800 --DD-WRT 50963 Gateway,DNS,AD-Block,AP&Net Isolation,VLAN's,Firewall,DoT,Vanilla
Netgear R9000 --DD-WRT 50927 Gateway,DNS,AD-Block,AP Isolation,Firewall,Forced DNS,DoT,2,4Ghz only,Vanilla
Netgear R7000 ---DD-WRT 50963 Gateway,DNS,AD-Block,Firewall,Forced DNS,VLAN's,DoT,VPN
NOT USING 5Ghz ANYWHERE
Stubby for DNS over TLS I DNSCrypt v2 by mac913
Last edited by Alozaros on Sun Dec 26, 2021 15:40; edited 1 time in total
Yeah it sounds like the amount of logging that the poster wants is beyond the capabilities of the normal DD-WRT deployment...
The IPTables hacky way that I have used to track devices is for each MAC address (unless you have every device setup by static ips and do it that way) have its own specific table and then I can track that information there, then monitor dns traffic differently...
It sounds like the OP wants something more intense... I am a fan of pfsense... but I have built routers from scratch (ie normal hardware, customizing the OS, ...)
As I mentioned earlier I am a fan of Gargoyle OS for these things but as was pointed out the build is old... So I took a little time to pull it from source (because they are building through git) BUT the build system depends on Python 2.x ... Gargoyle also suggests Ubuntu for building (I hate ubuntu, not going to get into why here)... and thus I would have to spend some time to reinstall python 2.x (deprecated) since all of my systems are on Python 3.x... I could probably spin up a VM for this but I am being lazy and doing work for some other open source projects right now (and trying not to fail vacation from my day job as I normally do )