Date: Tue, 15 Jul 2014 10:59:05 -0700 From: Matthew Luckie <mjl@luckie.org.nz> To: freebsd-net@freebsd.org Subject: two freebsd 10 wlan0 oddities Message-ID: <20140715175905.GA97207@spandex.luckie.org.nz>
next in thread | raw e-mail | index | archive | help
--SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Two oddities with wlan0: =46rom dmesg: ath0: <Atheros 9285> 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<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> 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<PERFORMNUD,AUTO_LINKLOCAL> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap> 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 <Link#7> 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<UP,TRANSITIVE,PERSIST> status=3D<RA_SEND> mtu 1500 DefaultLifetime: 30m MinAdvInterval/MaxAdvInterval: 3m20s/10m AdvLinkMTU: <none>, Flags: <none>, 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140715175905.GA97207>