From owner-freebsd-net@FreeBSD.ORG Tue Jul 15 17:59:08 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F1020914 for ; Tue, 15 Jul 2014 17:59:07 +0000 (UTC) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.229]) by mx1.freebsd.org (Postfix) with ESMTP id B2A1A221B for ; Tue, 15 Jul 2014 17:59:06 +0000 (UTC) Received: from [75.80.59.51] ([75.80.59.51:53974] helo=spandex.luckie.org.nz) by cdptpa-oedge01 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 00/10-32691-9EB65C35; Tue, 15 Jul 2014 17:59:06 +0000 Received: from mjl by spandex.luckie.org.nz with local (Exim 4.82_1-5b7a7c0-XX (FreeBSD)) (envelope-from ) id 1X770L-000PIG-72 for freebsd-net@freebsd.org; Tue, 15 Jul 2014 10:59:05 -0700 Date: Tue, 15 Jul 2014 10:59:05 -0700 From: Matthew Luckie To: freebsd-net@freebsd.org Subject: two freebsd 10 wlan0 oddities Message-ID: <20140715175905.GA97207@spandex.luckie.org.nz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-RR-Connecting-IP: 107.14.168.118:25 X-Cloudmark-Score: 0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2014 17:59:08 -0000 --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Two oddities with wlan0: =46rom dmesg: ath0: mem 0xfeaf0000-0xfeafffff irq 18 at device 0.0 on pci3 [ath] AR9285 Main LNA config: LNA2 [ath] AR9285 Alt LNA config: LNA1 [ath] LNA diversity enabled, Diversity enabled [ath] Enabling diversity for Kite ath0: [HT] enabling HT modes ath0: [HT] 1 stream STBC receive enabled ath0: [HT] 1 RX streams; 1 TX streams ath0: AR9285 mac 192.2 RF5133 phy 14.0 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 $ ifconfig wlan0 wlan0: flags=3D8943 metric = 0 mtu 1500 ether 00:24:2c:36:90:55 inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255=20 inet6 fe80::224:2cff:fe36:9055%wlan0 prefixlen 64 scopeid 0x7=20 inet6 2001:470:d:4de::1 prefixlen 64=20 nd6 options=3D21 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running ssid mjl channel 11 (2462 MHz 11g) bssid 00:24:2c:36:90:55 regdomain 106 indoor ecm authmode WPA privacy MIXED deftxkey 3 TKIP 2:128-bit TKIP 3:128-bit txpower 20 scanvalid 60 protmode CTS = wme burst dtimperiod 1 -dfs First, since I updated to FreeBSD 10, the system does not seem to be counting ifOutOctets, but does count ifInOctets. Looking at it with netstat: $ netstat -I wlan0 -b Name Mtu Network Address Ipkts Ierrs Idrop Ibytes= Opkts Oerrs Obytes Coll wlan0 1500 00:24:2c:36:90:55 2715328 56 0 930414649= 3549300 2965 0 0 wlan0 1500 192.168.2.0 spandex 266442 - - 183610706= 186618 - 77852137 - wlan0 1500 fe80::224:2cf fe80::224:2cff:fe 1 - - 72= 17 - 1304 - wlan0 1500 2001:470:d:4d 2001:470:d:4de::1 0 - - 0= 1 - 136 - Is this a bug, or am I polling the wrong interface for Obytes? When I look at ath0, it does not seem to be counting bytes out either. Second, for whatever reason rtadvd does not seem to be advertising on wlan0. My /etc/rtadvd.conf: wlan0:\ :addrs#1:addr=3D"2001:470:d:4d3::":prefixlen#64:tc=3Dether: If I /etc/rc.d/rtadvd restart, then route advertisements begin to flow. $ sudo rtadvctl show Password: wlan0: flags=3D status=3D mtu 1500 DefaultLifetime: 30m MinAdvInterval/MaxAdvInterval: 3m20s/10m AdvLinkMTU: , Flags: , Preference: medium ReachableTime: 0s, RetransTimer: 0s, CurHopLimit: 64 AdvIfPrefixes: yes Next RA send: Tue Jul 15 10:52:29 2014 Last RA send: Tue Jul 8 16:00:38 2014 Thoughts? Matthew --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlPFa+kACgkQKyuDKSEQAGAgyACgoxfsy/MsutPxbHUj+BmCSvRZ RzwAoIW2FTN2MSisCOJ7D7Gl/aqbzjxl =FAVf -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s--