Name DHCP Clients in UI and track bandwidth per client

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Goto page 1, 2  Next
Author Message
brucebanner
DD-WRT Novice


Joined: 24 Dec 2021
Posts: 5

PostPosted: Fri Dec 24, 2021 0:30    Post subject: Name DHCP Clients in UI and track bandwidth per client Reply with quote
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).

Thank you!
Sponsor
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6870
Location: Romerike, Norway

PostPosted: Fri Dec 24, 2021 10:40    Post subject: Reply with quote
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.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Fri Dec 24, 2021 10:49    Post subject: Reply with quote
You firmware is old and unsupported and has safety issues.

See the forum guidelines with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1416

PostPosted: Fri Dec 24, 2021 20:21    Post subject: Reply with quote
Otherwise switch to gargoyle firmware... it is built to be logging bandwidth per user and limits and such.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14246
Location: Texas, USA

PostPosted: Fri Dec 24, 2021 21:17    Post subject: Reply with quote
Wildlion wrote:
Otherwise switch to gargoyle firmware... it is built to be logging bandwidth per user and limits and such.


Current stable 1.12.x for Gargoyle was released December 2019:

https://www.gargoyle-router.com/wiki/doku.php?id=1.12.x

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.

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1416

PostPosted: Sat Dec 25, 2021 2:40    Post subject: Reply with quote
kernel-panic69 wrote:
Wildlion wrote:
Otherwise switch to gargoyle firmware... it is built to be logging bandwidth per user and limits and such.


Current stable 1.12.x for Gargoyle was released December 2019:

https://www.gargoyle-router.com/wiki/doku.php?id=1.12.x

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 Razz ... 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 Laughing Now I need to go get some kids off my lawn Laughing lol Very Happy
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14246
Location: Texas, USA

PostPosted: Sat Dec 25, 2021 4:47    Post subject: Reply with quote
Make it snappy, and while you're at it, get them off my lawn, too! Razz Cool

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.

#merrychristmas

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
brucebanner
DD-WRT Novice


Joined: 24 Dec 2021
Posts: 5

PostPosted: Sat Dec 25, 2021 8:44    Post subject: Reply with quote
I upgraded to DD-WRT v3.0-r47911 std (12/23/21).

I will try Yamon. Thank you!
brucebanner
DD-WRT Novice


Joined: 24 Dec 2021
Posts: 5

PostPosted: Sat Dec 25, 2021 23:44    Post subject: Reply with quote
Per Yngve Berg wrote:
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?
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1416

PostPosted: Sun Dec 26, 2021 2:42    Post subject: Reply with quote
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
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14246
Location: Texas, USA

PostPosted: Sun Dec 26, 2021 4:33    Post subject: Reply with quote
Wildlion wrote:
I could be wrong on this but I do not think Yamon is being maintained anymore...

Eventually, Al will return to active development of YaMon, but not sure when (Famous last words). The last v3 release is probably the most stable to date.

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=326102
https://usage-monitoring.com/index.php
https://github.com/al-caughey/YAMon-v3
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=314467
https://github.com/al-caughey/YAMon-v4
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321690

I am not sure if the old MyPage add-on is even worth bothering with, but it is still in the wiki.

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
brucebanner
DD-WRT Novice


Joined: 24 Dec 2021
Posts: 5

PostPosted: Sun Dec 26, 2021 5:06    Post subject: Reply with quote
Wildlion wrote:
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.
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6447
Location: UK, London, just across the river..

PostPosted: Sun Dec 26, 2021 8:38    Post subject: Reply with quote
brucebanner wrote:
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 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913


Last edited by Alozaros on Sun Dec 26, 2021 15:40; edited 1 time in total
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6870
Location: Romerike, Norway

PostPosted: Sun Dec 26, 2021 9:11    Post subject: Reply with quote
You need an X86 processor to keep up with all the tasks.

Have a look at https://opnsense.org

What WAN-LAN speed are you expecting?
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1416

PostPosted: Mon Dec 27, 2021 17:55    Post subject: Reply with quote
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 Razz)
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum