Slashdot Mirror


Ask Slashdot: How To Monitor Your Own Bandwidth Usage?

Vrtigo1 writes "With many ISPs either already using bandwidth caps or talking about them, I was wondering how other Slashdot readers are keeping tabs on how much data is being transferred through their home Internet connections. None of the consumer routers I've used seem to make this information easily accessible. I'd like some way to see exactly how much data has been sent and received by the WAN port facing my ISP's modem so I can compare the numbers I get with the numbers they give me. I don't want to pay for their modem firmware updates and other network management traffic, so I'd like to see how the two numbers line up."

38 of 319 comments (clear)

  1. again? by demonbug · · Score: 5, Informative

    Tomato.

    DD-WRT.

    1. Re:again? by capnkr · · Score: 5, Informative

      Either of those, and a Linksys WRT54GL router, dirt simple to set up. More info here.

      --
      "...there are some things that can beat smartness and foresight. Awkwardness and stupidity can." ~ Mark Twain
    2. Re:again? by tepples · · Score: 2

      And buy a new router for every friend or family member whose router is on the DD-WRT unsupported list, such as the WGR614 v6 (1 MB version).

    3. Re:again? by TheCRAIGGERS · · Score: 3, Interesting

      I'll throw my two cents in here too. DD-WRT has been rock-solid for me, and has some rather nice graphs for viewing bandwidth.

    4. Re:again? by Khyber · · Score: 2, Informative

      I have four WRT54GL routers running DD-wrt.

      Not a damned one of them can remain stable and online for more than an hour, except when configured as a simple wireless bridge device.

      Just install network traffic loggers on each machine. Do some simple math at the end of the month.

      --
      Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
    5. Re:again? by demonbug · · Score: 2

      I have four WRT54GL routers running DD-wrt.

      Not a damned one of them can remain stable and online for more than an hour, except when configured as a simple wireless bridge device.

      Just install network traffic loggers on each machine. Do some simple math at the end of the month.

      Interesting. I don't actually use the WRT54GL (any router with a Broadcom chip will work), I use an Asus something-or-other (whatever was cheap). I use Tomato (it offers printer support for the USB port on the router), and I've never had any stability issues - it has been up for a couple of months last time I checked.

    6. Re:again? by nschubach · · Score: 3, Interesting

      I really hope Cisco puts out an updated version of this router. This thing has to be their best seller (I'm going out on a limb and stating that the customization ability is key to that) and I can see why it's been around since 2002. I have two of them myself I continually mess around with. They still kick out newer revisions, but they haven't really changed much in the line of overall capability. Just sit down, draw up plans for a fully third party flashable update and make it awesome hardware wise. Let the guys at Tomato/DDWRT do their thing.

      --
      Every time I start to have faith in humanity, I ruin it by driving to work between 7 and 8 am.
    7. Re:again? by jtownatpunk.net · · Score: 2

      I don't know what you're doing wrong.

      "Time: 10:28:55 up 315 days, 4:49, load average: 0.07, 0.06, 0.00"

      It's sitting in a garage with no heat or AC. I use just about every aspect of DD-WRT and have moved terabytes of data through it in the last few months. And that's hardly a record for my old Linksys routers.

    8. Re:again? by cayenne8 · · Score: 5, Insightful
      You know...these hardware suggestions are helpful.

      But why not just address the root problem here...the capping.

      Why not just pony up about $69/mo...and get a business connection for your home.

      I have mine with Cox cable and it is great. I get roughly 10-14 down and 5-10 up...at times I've measured it. I have no caps. I can run all the servers I want to. I even get a low level SLA, and the few times I've needed help, they are on the phone with me almost any time I need it..and they have even sent people out to the poles around my places when I needed help in the middle of the night even.

      So, why not get a connection like that? Its not that expensive, and you get the bandwidth you want plus a few perks.

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
    9. Re:again? by capnkr · · Score: 3, Informative

      That's a far different experience from what I have seen when using this combo. Without knowing more specifics, your issues could be the result of a number of different reasons: build version, incorrect installation process, overclocking, environment, etc... A search to determine what exactly is causing your issue(s) might help you figure out how to fix them - I don't think your experience is typical or common even. Good luck.

      --
      "...there are some things that can beat smartness and foresight. Awkwardness and stupidity can." ~ Mark Twain
    10. Re:again? by tompaulco · · Score: 2

      I feel your pain. I have twice now had my WRT54GL router forget about my WPA settings and my site ID and go back to the plain vanilla open router with the site id of Linksys, For some reason, the administrative password is still in place, same with allowed ports, static ips and whatnot, but the site ID and security key is all gone.

      --
      If you are not allowed to question your government then the government has answered your question.
    11. Re:again? by tompaulco · · Score: 2

      The people on home plans didn't have any caps either...until they did.

      --
      If you are not allowed to question your government then the government has answered your question.
    12. Re:again? by adam.dorsey · · Score: 2

      I have no problems viewing my usage. It's under the "Users and Settings" tab when I click "My Account" on comcast.net

      --
      You are still innocent until proven guilty. What's changed is what they do to innocent people. - notnAP, #26891325
    13. Re:again? by jtownatpunk.net · · Score: 2

      Yes. I used a wireless-G bridge to the router for years and the current setup was wireless-G direct to the router until I cleaned up the kludgy network "design" and ran wires about a month ago.

    14. Re:again? by racermd · · Score: 2

      You don't need a fancy, embedded router to flash DD-WRT onto. It'll work just fine on standard PC hardware, too. In fact, I'm running the general PC build of DD-WRT on a slightly modified Firebox II (basically, an embedded-ified PC with a low-powered desktop CPU from about 10 years ago... a Pentium 1 MMX, if I recall). I'll readily admit it's overkill for most home users to build something, but any PC with a pair of working network ports should do the trick.

      As an alternative, there should be plugins for IPCop and pfSense, too, among others.

      --
      My sources are unreliable, but their information is fascinating. -- Ashleigh Brilliant
    15. Re:again? by Warbane · · Score: 2

      Damn! When did the US population hit 2.7 billion? Must've been all those illegal immigrants..

      Sweden having (in actuality) close to 3% of the population is a large factor, but why can't the US providers offer higher speeds in the areas with higher population density? Last time I checked, California was just about the size of, say, California as well. And had ~37 million residents.

    16. Re:again? by Not_Wiggins · · Score: 2

      Interesting experience for me with Comcast.
      I had considered going the Business Class route because, frankly, it would be "the right thing to do" since I host a mail server.
      Here was the rub: while I was able to get a Business account, they assign a dynamic IP. Well, first problem I ran into was related to email; Comcast Business dynamic IPs are in a ton of RBL's, hence email delivery is stopped.
      Called Comcast to ask them about it. Oh, for $15 more a month a could get a static IP, and THEN they'd help with blacklisting.
      What about the residential solution where one just uses the Comcast email relay as a smarthost? Nope... not available for Business Class users.
      So, it was either $75/month just to accommodate the email portion of service, or being a $45/month (with other services) and "abuse" them.

      If you do email and are tempted to go the business class route, be aware of these "limitations" before making the jump. Or, expect to pay for external email relay (such as is offered through no-ip.com).

      Of the irony... the home user version is much more "business friendly" than the business version!

      --
      Diplomacy is the art of saying, "Nice doggie!" until you can find a rock.
    17. Re:again? by ciscoguy01 · · Score: 2

      why can't the US providers offer higher speeds in the areas with higher population density?

      Can't? It's not that they *can't*. They don't want to.
      These are big bad monopoly companies and they are having a great time screwing us all. The telcos and the cable companies are happy as clams with essentially no competition.
      They are metering us now, 15 years ago they offered us metered ISDN which no one wanted, or wanted to pay for. These same companies kept us from getting the broadband we wanted for *years*.
      Now they are metering our DSL and discriminating against certain kinds of traffic.
      Witness if you have AT&T DSL and have AT&T UVERSE IP video they don't meter your TV usage at all. If you subscribe to another competing video service like Netflix you are metered. The essence of Non-Net Neutrality.
      So it's not that they *can't*. It's that they want to meter us. They want to charge us for everything. Even electrons.

      It's the same mentality that wants us to move to a high rise close to work so we can take a bicycle. They want us to not be able to go out in the car, gas is too expensive. Don't turn on the air conditioning, the electricity is too expensive.

      Contrived shortages, every excuse to raise prices.
      Like the worldwide glut of crude oil and gasoline, and here in the US I have already seen $5 a gallon. It can't be justified except by comparing to the price of gasoline in Europe.
      But this is a big country. We need affordable gasoline.

      Stay home. Don't make waves. Now they want to take away your internet.

      --
      .
    18. Re:again? by Inda · · Score: 2

      These hardware solutions are preferable, unless you're just a bloke with a brand new Windows 7 laptop and it's the only device in the house using the internet.

      NetWorx - http://www.softperfect.com/products/networx/

      It does all kinds of funky graphs. The options are plentiful. You can set usage alerts. The logs are detailed enough; all user accounts, all networked PCs, .

      Just a happy user. Sorry for not being geeky!

      --
      This post contains benzene, nitrosamines, formaldehyde and hydrogen cyanide.
    19. Re:again? by Hovsep · · Score: 2

      Switch to Tomato. It's far more stable and is perfect for what the OP wants to do. Though I've not tried any of their versions Tomato USB (http://www.tomatousb.org/) ads some of the features that DD-WRT has like VPN, etc. It's been stable on a variety of Broadcom routers it's compatible with (Linksys WRT[G|GS|L], Buffalo, Asus).

      I seldom have to reboot my router (months of uptime) and the bandwidth tracking keeps 24 months of history. The start of month date is also settable to coincide with the users billing cycle. Give it a try.

    20. Re:again? by MagicM · · Score: 2

      If you believe that x.24 and x.26 are dd-wrt firmware version numbers, you are doing something wrong.

  2. Tomato by Krellion · · Score: 5, Informative

    I use Tomato firmware on a WRT54G v2 router. It has many ways of viewing used bandwidth.

  3. Why would you think the numbers would match up? by cdrguru · · Score: 4, Interesting

    Your ISP is likely not counting bytes that transfer through a connection to your modem. They are probably using a number of interesting tricks instead, probably mostly because whatever they bought into does something different. At a minimum counting packets and saying they are all MTU-sized would give different results and would eliminate the overhead of counting bytes.

    If you are really, really nice about it, they might tell you what they are really measuring. But they probably will not. Even if you have a bandwidth cap in place, they probably aren't going give you detailed information about what they are measuring and how they are measuring it. Mostly, this would be for fear that you will use that information to figure out some way to circumvent it. In this case information certainly equals power - they have it and do not want you to have it.

    So, while your router can count bytes with the right software, it probably isn't going to match up with what they say you are using, assuming they report it to you. My guess is your number will be lower, but it could go either way. In any event, the only number that means anything in your relationship with your ISP is their number. You will not be able to convince them that your number is "right" or "more correct" than their number.

    Unless you need a number for your own management purposes - like finding out your neighbor creating 45% of the traffic on your connection - I'd say this is a pointless exercise.

    1. Re:Why would you think the numbers would match up? by Archangel+Michael · · Score: 4, Informative

      If that is the case, (and I would assume the asshats would do this) then they are opening up themselves to a huge lawsuit. If you're going to measure "bandwidth" and put limits based on usage in terms of bytes (giga/tera) then you best be measuring bytes, and not the packets * MTU, which is a gross over simplification of the measure. There is no way that packets * MTU can be said to equate to anything in "bytes" except for pointy headed managers.

      There are too many programs using low level states that need keep alive packets going, that don't measure in MTU size units. MTU is ~1400 bytes, and ping uses 32 bytes ... yeah that will work.

      --
      Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
    2. Re:Why would you think the numbers would match up? by thoromyr · · Score: 2

      GP assumed that the cap mechanism would not count bytes because that is apparently supposed to be difficult or something. I'm not sure.

      The traffic shaper we use where I work would be a bit of overkill for the job, but it could be used to enforce a capping mechanism. The hardware is, shocking I know, primarily sold to ISPs. And counting the number of bytes passing on the wire is trivial -- when low latency hardware can make shaping decisions based on source and destination IP address, ports used and the protocol employed (e.g., http regardless of the port it is running on) -- little things like tracking the number of bytes transferred are insignificant.

      But even if I was going on the cheap and not using a real product with a real company behind it (important for PHBs to point the finger at in case of problems) then bandwidth capping can be accomplished at a byte-count level by processing flow data -- which any decent router can provide.

      Seriously, an ISP is going to have some sort of traffic shaping device and it can count packets without increasing system load. Where a discrepancy is more likely to occur is between binary and decimal reckoning. Because I'd be surprised if an ISP didn't use 1,000,000,000 bytes to one gigabyte when specifying capping levels, but file systems still tend to report using powers of 1024 -- so when you download a 4.2 GB ISO it is likely to count as 4.5 GB of the stated quota.

    3. Re:Why would you think the numbers would match up? by Have+Brain+Will+Rent · · Score: 2

      It's only pointless up to the point that someone takes them to court and says "Your Honor the Defendant claims I used this much bandwidth and are using this as the justification for levying additional charges on my account. But I measured my bandwidth in this way and it is clearly below the Defendant's cap. Your Honor as their number is the basis for the extra charges would the court please instruct the defendant to explain just how they came up with their number?"

      And if their TOS says you agree they don't have to explain how they came up with their number I bet there are more than a few jurisdictions that have consumer protection laws that would over-rule that.

      --
      The tyrant will always find a pretext for his tyranny - Aesop
  4. Netgear N600 by jayhawk88 · · Score: 4, Informative

    If you're not comfortable/willing to install a custom firmware, the Netgear N600 has a meter built in.

  5. Re:ClearOS easily does this. by schnikies79 · · Score: 2

    Not only that, but it will constantly pull 100w+ vs the ~10w that a router will use!

    --
    Gone!
  6. Re:Verizon Fios by Zinho · · Score: 3, Interesting

    I'm on Verizon, too, and they have no problem with me daisy-chaining my own router (DD-WRT) onto theirs. I agree that it might be fun to hook straight into their fiber modem with CAT-5 and skip the business of having coax and a second router in the loop, but it's their network and their modem. I'll get more huffy about it if/when I transition to IPv6 and don't want two layers of NAT between me and the network. In the mean time, though, it's trivial to shut off the transmitter for the router they provided and set up one that I can manage competently.

    --
    "Space Exploration is not endless circles in low earth orbit." -Buzz Aldrin
  7. pfSense by spankers · · Score: 2

    pfSense. Been running it on ALIX board for years. Love it.
    http://www.pfsense.org/

  8. Use rfc1149 as an aide by davidwr · · Score: 3, Funny

    I put a pair of RFC1149-to-Ethernet gateways between my border router and my cable modem.

    I then estimate the number of packets by measuring the amount of poultry poop between the gateway devices.

    I multiply this by an estimated average packet size and I have a pretty good estimate of the number of bytes transferred plus the number of bytes lost.

    Unfortunately I'm still trying to figure out my packet-loss ratio. Once I've got that down I'll have a better handle on how much traffic is going in and out of the modem.

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
  9. Re:vnstat by Compaqt · · Score: 2

    I'll make a note of vnstat for cumulative usage.

    For point-in-time bandwidth usage, I often use nethogs.

    It breaks down current bandwidth usage by program, much handier than by host.

    Click here to install (Debian/Ubuntu/Mint)

    --
    I'm not a lawyer, but I play one on the Internet. Blog
  10. WRT54GL not...stable by ron_ivi · · Score: 2

    Is it overheating?

    When the sun shines directly on my old WRT54G it seems to hang. I moved it to an always shady spot and put a bit more space around it and it's been stable ever since.

  11. Try asking. by Bieeanda · · Score: 2
    I use a Windows desktop gadget to keep an eye on current activity and a rough tally of accumulated usage, since my roommate doesn't do much besides watch Youtube videos and chat with her boyfriend.

    For specific details, like how much my ISP thinks I've been using, and plans to charge me for, I go to their web page and bring up my account.

  12. No: Its a Monopoly by bobs666 · · Score: 2

    1) They bill you, you pay, end of story.

    2)So you Don't pay, no service, and bad credit.

    3)So You Sue, you pay more and perhaps something good happens. Good luck.

    "It does not matter Whether the rock hits the pitcher or the pitcher hits the rock, it's bound to be bad for the pitcher." -- Man of La Mancha

  13. What's Measured by thunder1905 · · Score: 2

    In a cable environment, what's usually measured is the actual bytes transferred to and from your cable modem. The measurement is recorded on the CMTS the cable modem connects through to provide a network connection. The CMTS numbers include bytes to/from devices (PCs, game consoles, smart phones, etc.) as well as a small amount of network overhead that's just between the cable modem and the CMTS. The overhead is typically a few K bytes per day. So the exact usage will never tie exactly to what's recorded on a home router, but it should be within +/- 5% at worst and typically run closer to 2% to 3%. The home router reported usage will be a little smaller than the CMTS side reported usage that the cable company will use for managing bandwith caps, but that can easily be compensated for by implementing a "grace buffer" of a few % over stated cap limits to account for variability. Whether or not this is done is another matter. But either way the actual variance is minimal.

  14. Re:Freedom. by Xeno+man · · Score: 2

    Freedom means free choice. Nothing else come free with that. You are free to live where ever you want but you must face the consequences of that, good or bad. You are free to live in the city or in the middle of no where but if and when gas goes up you have to deal with it. It's not up to the Government to keep gas prices down just to support your choice.