Re: wlan0/iwn: no upload statistics

From: Kevin Oberman <rkoberman_at_gmail.com>
Date: Sun, 8 Jun 2014 16:11:41 -0700
On Sat, Jun 7, 2014 at 7:19 AM, bycn82 <bycn82_at_gmail.com> wrote:

> Hi,
>
> 1. I checked the source code of systat, it actually read from the mibdata,
> so the result should be the same as sysctl.
>
> 2. According to David's email, seems the netstat can show the correct
> output octets.
>
> Sorry I don’t have wireless network interface on my testing environment,
> but I noticed that the mibdta structure was changed recently,
>
>
> Best Regards,
> bycn82
>
>
>
>
> > -----Original Message-----
> > From: Stefan Ehmann [mailto:shoesoft_at_gmx.net]
> > Sent: 07 June, 2014 21:33
> > To: bycn82; freebsd-current_at_freebsd.org
> > Subject: Re: wlan0/iwn: no upload statistics
> >
> > On 07.06.2014 14:39, bycn82 wrote:
> > > Hi,
> >
> > Seem it was not clear in my original post: Only the wireless interface
> > is affected. lo0 shows upload stats.
> >
> > > More information is required. Please provide the output of the two
> > > commands below
> > >
> > > 1.   sysctl -a | grep octets
> >
> > iwn0/wlan0 don't appear here:
> > dev.em.0.mac_stats.good_octets_recvd: 0
> > dev.em.0.mac_stats.good_octets_txd: 0
> >
> >
> > > 2.   uname -a
> > FreeBSD tomorrow.pepperland 11.0-CURRENT FreeBSD 11.0-CURRENT #8
> > r267126: Fri Jun  6 06:14:13 CEST 2014
> > stefan_at_tomorrow.pepperland:/usr/obj/usr/src/sys/TOMORROW  amd64
>

FWIW, this is not a problem new to HEAD. I see the same on 10-STABLE with
my iwn. I see no stats at all in dev.iwn and there is no dev.wlan at all.

-- 
R. Kevin Oberman, Network Engineer, Retired
E-mail: rkoberman_at_gmail.com
Received on Sun Jun 08 2014 - 21:11:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:49 UTC