How to get the bandwidth (consumed by wireless clients) provided by dd-wrt.

This started one night while trying to get the open ports of our Wii Console, my wife told me that YouTube App started to play the video for some random time and then kept buffering, played some seconds and you got the picture now, impossible to watch a video from the start till the end.

I used "nmap" and yes I found that the Wii doesn't have any port open, all the communications are initiated by the console. So, if I can't monitor the network device using SNMP, MRTG, CACTI, etc., I might be able to get the bandwidth consumed from the access point, right? Well, that depends.

My (old?) Linksys WRT160N v3 with DD-WRT v24-sp2 (03/25/13) mini is great because allows me to do many things that the default software provided by CISCO / Linksys dons't support.

Yes, I know under "Status" -> "Bandwidth" you can check a graph showing the bandwidth for the WAN/LAN (eth0, vlan0, vlan1), wireless wl0,  but that's not what I'm looking for, What if you need to know how much bandwidth is being consumed from a specific device? That's not available there.

While researching I found some comments saying that DD-WRT had a commercial option to get those details, I went to the website and found nothing and not really interested on paying for that. I look at other options like EasyTomato, OpenWRT, Buffalo, Gargoyle and all were the same thing.

Suddenly I saw a link with some words similar to what I was looking for and found "wrtbwmon"!

In their own words: "What is it? A small shell script designed to run on linux powered routers (OpenWRT, DD-WRT, Tomato, and other routers where shell access is available). It provides per user bandwidth monitoring capabilities and generates usage reports."

Great!!!! I started to read and found that development was stopped in favor of other proyects, there was no graph but a table with numbers. Yet, was something to try. I downloaded the shell script, followed the config steps from here but the devices were displayed with the mac address instead of the ip/name. 

If you want to keep the history, you need to do a backup of the data to a remote server, because if the router reboots, all that data is lost. not practical. Anyway I decided to test it, works as it promises, the data was displayed but not in real time, you need to reload the webpage.

So wrtbwmon stopped it's development in favor of lal-projects, which provides a so much better look/display of the data and for that you have to do some work, no graphs again, nothing is displayed "in real time". That doesn't do what I need.

What can I say? I'm looking for something that helps me saving time, not investing it learning how/what to do, had other things right now that already consume my ("free") time. At the end, this tools can help, not the way I want and all I can say is that I hope this helps you and provides a solution assuming this is what you want/need.

12 de Septiembre - El Batallón de San Patricio

Dentro de los festejos patrios, nos hemos olvidado de conmemorar (y reconocer) a los irlandeses que por diferentes motivos y razones abandonaron el ejército de nuestro vecino al norte y se unieron al (maltrecho) ejército mexicano.



Bandera del Batallón de San Patricio

Pueden consultar con mayor detalle los datos en el artículo de Wikipedia al respecto, encontrarán referencias a la película "Héroes sin Patria" que expone una versión sobre como llegó a conformarse dicho batallón.

Un dato interesante sobre la conmemoración es que se realiza (supuestamente) en dos fechas diferentes en nuestro país:

1.- 17 de Marzo, día de San Patricio
2.- El 12 de Septiembre, el aniversario de las primeras ejecuciones de "los patricios".

A últimas fechas, he escuchado más sobre el festejo el día 17 en las redes sociales, pero ninguna mencion a "Los Patricios".  En Septiembre no recuerdo ninguna mención en los medios tradicionales,  solamente en las redes sociales.

Creo que sería justo darles el mismo (o más) reconocimiento a esos hombres que decidieron luchar por México como a los "Niños Héroes", cuya historia es muy diferente a como nos la cuentan en los libros de texto proporcionados por la SEP.

Esta es una historia real que nos enlaza con Irlanda y que no se mencionaba en los libros de texto que me dieron en la educación básica. Ojalá como mexicanos nos despertara más el interes de conocer nuestra historia con los datos reales y evitar repetir los errores.

"Éirinn go deo"
// Cookie consent