wlan0/iwn: no upload statistics

David Wolfskill david at catwhisker.org
Sat Jun 7 12:52:42 UTC 2014


On Sat, Jun 07, 2014 at 08:39:10PM +0800, bycn82 wrote:
> Hi,
> 
> More information is required. Please provide the output of the two commands below
> 
> 1.	 sysctl -a | grep octets	
> 2.	 uname -a
> ...

I'm not the OP, but I do (sometimes) run head, and have an iwn(4) NIC on
my laptop, so I checked: I was able to reproduce the cited symptoms:


                    /0   /1   /2   /3   /4   /5   /6   /7   /8   /9   /10
     Load Average   |||||||||||||||||||| 

      Interface           Traffic               Peak                Total
          wlan0  in      0.400 KB/s         23.553 KB/s            1.529 MB
                 out     0.000 KB/s          0.000 KB/s            0.000 KB


As a reality check:

g1-252(11.0-C)[4] date ; netstat -nibf inet ; sleep 10 ; date ; netstat -nibf inet
Sat Jun  7 05:47:02 PDT 2014
Name    Mtu Network       Address              Ipkts Ierrs Idrop     Ibytes    Opkts Oerrs     Obytes  Coll
lo0       - 127.0.0.0/8   127.0.0.1                0     -     -          0        0     -          0     -
wlan0     - 172.17.0.0/16 172.17.1.252          7023     -     -    1438387     4642     -     476288     -
Sat Jun  7 05:47:12 PDT 2014
Name    Mtu Network       Address              Ipkts Ierrs Idrop     Ibytes    Opkts Oerrs     Obytes  Coll
lo0       - 127.0.0.0/8   127.0.0.1                0     -     -          0        0     -          0     -
wlan0     - 172.17.0.0/16 172.17.1.252          7039     -     -    1444099     4658     -     477380     -
g1-252(11.0-C)[5] 

Finally, what you requested:

g1-252(11.0-C)[5] sysctl -a | grep octets
dev.em.0.mac_stats.good_octets_recvd: 0
dev.em.0.mac_stats.good_octets_txd: 0
g1-252(11.0-C)[6] uname -a
FreeBSD g1-252.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #1268  r267149M/267149:1100022: Fri Jun  6 06:00:16 PDT 2014     root at g1-252.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY  i386
g1-252(11.0-C)[7] 

(The machine is running head because it's in the middle of a
source-based update to r267211.)

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Taliban: Evil cowards with guns afraid of truth from a 14-year old girl.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 964 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20140607/82ecbfbc/attachment.sig>


More information about the freebsd-current mailing list