Internet download/upload monitor

Is there a program for openSUSE that can record how many GBs I have downloaded/uploaded each month? Last month I went 5GB over the limit my ISP allows :open_mouth:

I am using 11.0, KDE 3.5.10 and connect to the Internet with a hard-wired ADSL router.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If your Router supports (I think) SNMP you could use something like
Multi-Router Traffic Graphic (MRTG) which is really, really nice, and
free. Otherwise you could do some scripting to see what is happening
all the time (at regular intervals so it keeps counting when numbers get
reset to zero for whatever reason). Otherwise, doesn’t your ISP provide
a way? What’s your limit, out of curiosity? Maybe time to investigate
another ISP.

Good luck.

Harlequin501 wrote:
> Is there a program for openSUSE that can record how many GBs I have
> downloaded/uploaded each month? Last month I went 5GB over the limit my
> ISP allows :open_mouth:
>
> I am using 11.0, KDE 3.5.10 and connect to the Internet with a
> hard-wired ADSL router.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIwEnL3s42bA80+9kRAsFDAJ9Ss5K4nFV88Nyp+sVE4gZGj3pKaQCdEeNA
vSyxG4u4qVfQckjf1YmoC2E=
=iFpz
-----END PGP SIGNATURE-----

I downloaded the manual for my router and searched for SNMP but couldn’t find the term so I guess it isn’t supported.

I don’t know how to do scripting but am willing to learn if you can point me to a good guide :nerd:

My ISP is BT. It used to provide a web-based service where you could log in and check your usage for each day of the month but they don’t provide that any more. My limit is 10GB/month. BT will give you unlimited downloads if you pay more but I went with the cheapskate option! rotfl!

depending on which router, this is normally logged on the router’s home page.I’m with BT & have a homehub which displays this info

Andy

My router doesn’t unfortunately:( It’s a Netgear DG834v3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If you’re really in for a bit of fun you could try re-flashing your
router with dd-wrt which is a free project creating an environment for
managing routers/switches/access-points with something more
full-featured and open. It’s an option, but know that unless you have
NetGear’s WGR614L router it won’t be supported by them. I’ve used
dd-wrt and it works great, though, including this functionality as I
recall (perhaps somebody can verify that as I’m not home currently).

I guess the next option is to watch the ‘/sbin/ifconfig’ stats for all
your NICs, though if you have multiples those data may be to eachother
and not over the wire. :-\

Good luck.

Harlequin501 wrote:
> deltaflyer44;1867352 Wrote:
>> depending on which router, this is normally logged on the router’s home
>> page.
>
> My router doesn’t unfortunately:( It’s a Netgear DG834v3
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIwTlR3s42bA80+9kRAgqTAJoDckLwdGD02+P+/L7EDOxkmKboqgCdErDy
ap/10+FTZF8y6PezfaUkNXk=
=m4iS
-----END PGP SIGNATURE-----

I checked out the dd-wrt website but it seems to be only for wireless routers. Something along this line would be the ideal solution though!

I also tried out ifconfig. Looking at the stats it doesn’t appear to tell you if data transmitted/received is heading to/from the Internet or home network.

If the only way around this problem was to write my own script, first off I’d have to learn a scripting language, then write a script that could differentiate between data going to/coming from the LAN and the Internet and keep a running total for each month. Could a BASH script do this or is Perl or Python more appropriate? I know a little bit of PHP so I wouldn’t be going in completely cold (though still probably fairly chilly) lol!

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Scripting would only work if all traffic were to/from the Internet…
there are probably ways to get stats on information per network from the
host but I don’t know of them specifically. If you get a real router
(meaning, not the Office Max special) you can use graphing via something
like MRTG but otherwise I’d petition your ISP for access to their data.

Good luck.

Harlequin501 wrote:
> I checked out the dd-wrt website but it seems to be only for wireless
> routers. Something along this line would be the ideal solution though!
>
> I also tried out ifconfig. Looking at the stats it doesn’t appear to
> tell you if data transmitted/received is heading to/from the Internet or
> home network.
>
> If the only way around this problem was to write my own script, first
> off I’d have to learn a scripting language, then write a script that
> could differentiate between data going to/coming from the LAN and the
> Internet and keep a running total for each month. Could a BASH script do
> this or is Perl or Python more appropriate? I know a little bit of PHP
> so I wouldn’t be going in completely cold (though still probably fairly
> chilly) lol!
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIwYrb3s42bA80+9kRAsS0AJ9NX6a4nY9I6MzjBaoV7QQtaDs/rQCeOvX0
7D98g6OnHJu3kiF04jGBUAg=
=flcg
-----END PGP SIGNATURE-----

I had a look at the BT Broadband forums. A few people who don’t have homehubs said they phoned BT about providing a usage monitor and were told to download a third party bandwidth monitor such as netmonitor or netlimiter. These are Windows-only unfortunately. :frowning:

This used to be a problem for until I moved isp. Now with entanet via ukfsn.org 30/300 adsl max.
It suits me and I have never gone over on this package, not even close. Though I do monitor via login to my account.
There are network traffic monitors for kde but they don’t survive re-boot’s. I used to use knemo, which would display total up and down.

Your ISP should have a login page for your bandwidth use. It’s just a click or 2 away, every so often.

Thanks caf4926, I’ve installed Knemo and it will do nicely for the meantime! If you configure it to ‘Activate Statistics’ it will log usage per day, month and year and the stats do survive a reboot.

I was a bit puzzled after I installed it as it didn’t show up in the K Menu nor could I start it from the terminal. Eventually discovered it was integrated into the KDE Control Centre under Internet & Network -> Network Monitor.

The down-side of course is that I will need to have desktop bandwidth monitors for each of the 3 OS’s on this computer and one on the other computer then add up all the stats before the end of each month. Still, it’s better than nothing!

I will also check out the ISP you mentioned.

Welcome.
I forgot to mention about the need to setup via control centre
Happy to hear it’s something like what you were after.