bandwidth counter for mobile data connection
-
This I think would be very useful as a section of the "Today" screen. I would love to be able to develop something like this along with a dual display clock that can show two countries time for the screen.
-
The corresponding package can be found under: http://ports.ubuntu.com/pool/universe/v/vnstat/vnstat_1.14-1ubuntu2_armhf.deb
-
@hummlbach said in bandwidth counter for mobile data connection:
Do we have an app for that? We should... Or better: this could be the first useful information for the lock screen stats... Instead of displaying the data for today, it should display the data for the current month in that case...
an app can put this information inside the "circle", there is a api
-
@einstein212 I agree. It sounds really beautiful...
@fisch02 yes for version 16 of ubports. But where is vnstat for ubuntu 15?
Still a mistery.1 more thing:
By the way that I'm working with vnstat, it resets it's counters on every 1st day of month. I don't know if its customizable or not.I'm so sorry, I have no time nor knowledge to develop this, but here is the first brick of it.
Thank you all. -
-
@fisch02 wow you found it!
There are a lot of vnstat packages for armhf in that directory. I think this is the latest http://old-releases.ubuntu.com/ubuntu/pool/universe/v/vnstat/vnstat_1.14-1ubuntu2_armhf.deb
-
@advocatux According to http://old-releases.ubuntu.com/ubuntu/dists/yakkety/universe/binary-armhf/Packages.gz , vnstat_1.14-1ubuntu2 is for Yakkety Yak (aka. 16.10), while according to http://old-releases.ubuntu.com/ubuntu/dists/vivid/universe/binary-armhf/Packages.gz the Package for Vervid Vivid (aka. 15.04) is vnstat_1.12-2.
-
@fisch02 interesting, because in https://packages.ubuntu.com/xenial/armhf/vnstat/download you can see
vnstat_1.14-1ubuntu2_armhf.deb
as the version for xenial -
@advocatux The old Package link, that I send on your Request is the one for the current stable UBports, which uses an outdated Ubuntu 15.04, while the first one is for the rc and devel UBports, which use the currently supported Ubuntu 16.04. This also the reason, why both Packagelinks have a different subdomain
-
@fisch02 ah, okay, sorry for the misunderstanding!
-
@einstein212 mhmm... I don't know the api yet, but i guess i have to start the app at least to make the api calls that update the figures...(?) But why should actually start the app if I have the data in the circle indicator...
-
I was about to post a reply to this post, but I found this bug on GitHub : Mobile data usage monitoring #66
Just to let other know that's a work in progress -
An update on vnstat on Nexus 5:
instead of ccmni0 the network interface is rmnet0.
The easiest way to get it is getting the list of ifconfig network interfaces and start guessing.
Salut! -
@uri even though this is an old revived thread, only to let you know I'm right now working to provide an app bringing such a capability. I'm facing right now some troubles but I'm along the way to solve all those and maybe soon I'll come out with a concept app. Only for your information, the approach in my app is to exploit the API QNetworkConfigurationManager.
Matteo
-