-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wifi hotspot name (ssid) awareness #128
Comments
That's an interesting idea and it might even be possible to implement with the new database model. Quickly thinking, this would at least require adding support for some sort of pseudo interfaces that get stored in the database but aren't directly tracked and making vnStat able to detect which interfaces are wireless and getting somehow the essid information. That could then allow storing the traffic information twice, once for the interface itself and a second time for the pseudo interface named something like _. I suspect getting the essid information is likely to differ between Linux and BSD requiring therefore different implementations for each. Which distribution do you have in use? |
I'm using Linux (Ubuntu LTS). |
Short update: It looks like there's no Another matter that came to mind is that the ssid can contain all sorts of characters and most likely also some non-ASCII ones. Trying to type something like |
Update appreciated. |
That example directly adds a dependency to libiw (and its development package) and that's something I'd prefer to avoid. https://gist.github.com/lf-/90912626f24246540e52 does pretty much what I need after few minor modifications. Haven't yet searched what the equivalent for BSD is. |
This feature is exactly what I want, which drastically increases the usefulness of vnstat to me.
This shouldn't be a problem if people can copy characters from the terminal, which is available in all graphical terminals and in tmux. |
Hi
Thanks for your work on vnstat. I'm using it to determine the correct level of internet provision I should buy and it would be helpful if I had a breakdown of my wifi interface by the network it was connected to, ideally using the wifi hotspot name. Since I don't know how much of the data going through the wifi interface is going through my phone's hot spot, and how much is going through my home internet, and how much is going through my work's internet, it's hard for me to make a good decision about changing what access I need.
Thanks again.
The text was updated successfully, but these errors were encountered: