Open ricab opened 10 years ago
I meant "the few packets that come through being mostly <100b" (bytes instead of Kb)
That is because this driver reports not the 802.3 statistics but 802.11 (all beacons from a connected BSSID let the totals constantly increasing (~6Kb/s) ). If you want to fix it, look here: https://github.com/maroviher/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_mod/commit/81cddb83af73ccaf2b7e41dd2ef40b395ad3f42d
Nice, thanks. I am not using this nowadays, but still good to know.
Using this driver for a netgear WDNA 4100, I get an inconsistency between total reported traffic for the interface and the sum of individual packets. I have confirmed the two results with several tools:
For instance, "watch -n 1 'cat /proc/net/dev'" shows the totals constantly increasing (~6Kb/s), while tcpdump shows periods of several seconds without any packet (the few packets that come through being mostly <100kb)
I am therefore let to suspect the driver reports wrong totals to the kernel. Would that make sense to you? Thanks!
(I made a post regarding this on http://unix.stackexchange.com/questions/114803/accounting-for-proc-net-dev-reported-traffic)