Ben Woods
2016-Aug-01 23:02 UTC
Release notes and handbook changes for identifying wireless adapters
Hi, FreeBSD wireless users who are upgrading to FreeBSD 11.0 will likely get a surprise when they try and identify which wireless adapters are available in their computer by using ifconfig. Neither the FreeBSD 11 release notes or the FreeBSD handbook currently explain this change. For example, if you have an atheros wireless driver, you would previously be able to see it using ifconfig, even before configuring the wlan0 clone device. % ifconfig | grep -B3 -i wireless That was changed with commit r287197: https://svnweb.freebsd.org/base?view=revision&revision=287197 The new way to show which wireless adapter is available is: % sysctl net.wlan.devices Whilst the configuration in /etc/rc.conf required to activate a wireless adapter has not changed, people may run into the hurdle of not even finding which wireless adapter to configure in the first place. This can be seen here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203271 Regards, Ben -- -- From: Benjamin Woods woodsb02 at gmail.com
Shawn Webb
2016-Aug-01 23:11 UTC
Release notes and handbook changes for identifying wireless adapters
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On August 1, 2016 7:02:05 PM EDT, Ben Woods <woodsb02 at gmail.com> wrote:>Hi, > >FreeBSD wireless users who are upgrading to FreeBSD 11.0 will likely >get a >surprise when they try and identify which wireless adapters are >available >in their computer by using ifconfig. Neither the FreeBSD 11 release >notes >or the FreeBSD handbook currently explain this change. > >For example, if you have an atheros wireless driver, you would >previously be able to see it using ifconfig, even before configuring >the >wlan0 clone device. > >% ifconfig | grep -B3 -i wireless > > >That was changed with commit r287197: >https://svnweb.freebsd.org/base?view=revision&revision=287197 > >The new way to show which wireless adapter is available is: >% sysctl net.wlan.devices > >Whilst the configuration in /etc/rc.conf required to activate a >wireless >adapter has not changed, people may run into the hurdle of not even >finding >which wireless adapter to configure in the first place. This can be >seen >here: >https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203271 > >Regards, >BenHey Ben, I completely agree. It also seems like a POLA violation. I dislike that I can't get information like MAC address prior to creating the clone. Instead of simply 'ifconfig ath0 ether', now it's 'ifconfig wlan0 create wlandev ath0; ifconfig wlan0 ether'. Some networks use MAC address whitelisting. It's also not possible to easily tell which adapter is which, in case of multiple of the same adapters. The discussion on this is too late for code changes to 11.0-RELEASE, but this should be documented loud and clear. Thanks, Shawn - -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -----BEGIN PGP SIGNATURE----- Version: APG v1.1.1 iQI/BAEBCgApBQJXn9cFIhxTaGF3biBXZWJiIDxzaGF3bkBzaGF3bndlYmIuaW5m bz4ACgkQaoRlj1JFbu6JeQ/5Adjqi8Mdsk6zNNAZkaBMQzzg32OrdIR9kU5iKZIx 45tx0AIPkeZEoMJT03vrnyTcE39p3y/ThVydWLnjqbQFAZYehY0fGjbf6spF2mxM 88CDGnZjHXS9EYE0tgHJQmtzhKgxBal2BmYUEIKiEQfafU+TetF3bo/nwr4+1T3C Qc0P/gwWC50oNvKEc+/Oc6/wO2zcyKwcjD7bMR0BBUpNMJE/1XJEe3S3NgpqOmgD 8xxRS64vamAaYkSXttZ0twAUDowZmDVnPQrRvB6HCvTGOFoowF4Zoka7wZE8V4EH PfslEN3UWY95KEdS8+LMOx57ValKctm2A4uCqZ2RQrvVt3Li+9srjzyJomXjJgw/ +FgcGdVisJi5MqbdCSU7ke+F0a3oSYPG4ur5Z3UZZgYhs2B65iZagtQyRv8VsmSQ P9ysbMnrh+HSTANy6kI4RCwbkjhk2ZMT0d+mSPy3FAmGfxFkJJUCMcGpPUjZNkO6 a/VsV6qi00hcngV1e3z0SuaPEu/08Cu8IwfilRu5fsSt74X5iOCqBlqSDvdQq580 KJzfLMbwdNtjnLvgREHKikTVF1xaZqrx4Pr3m5Jxfk5USsfvdd2UKh+G0KdkWoFa ewVaNz26K1K8yMPkDx5meuC7MXvTiUIgn+YY6MudPxPFT7eOC5/kFZ5pfHXjCvUj W3w=WibE -----END PGP SIGNATURE-----
Lars Engels
2016-Aug-02 05:31 UTC
Release notes and handbook changes for identifying wireless adapters
On Tue, Aug 02, 2016 at 07:02:05AM +0800, Ben Woods wrote:> Hi, > > FreeBSD wireless users who are upgrading to FreeBSD 11.0 will likely get a > surprise when they try and identify which wireless adapters are available > in their computer by using ifconfig. Neither the FreeBSD 11 release notes > or the FreeBSD handbook currently explain this change. > > For example, if you have an atheros wireless driver, you would > previously be able to see it using ifconfig, even before configuring the > wlan0 clone device. > > % ifconfig | grep -B3 -i wireless > > > That was changed with commit r287197: > https://svnweb.freebsd.org/base?view=revision&revision=287197 > > The new way to show which wireless adapter is available is: > % sysctl net.wlan.devices > > Whilst the configuration in /etc/rc.conf required to activate a wireless > adapter has not changed, people may run into the hurdle of not even finding > which wireless adapter to configure in the first place. This can be seen > here: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203271 >rc.conf behaviour has changed in regard of creating lagg interaces. 10.x needs this (copied from the handbook [1]): ifconfig_bge0="up" ifconfig_iwn0="ether 00:21:70:da:ae:37" wlans_iwn0="wlan0" ifconfig_wlan0="WPA" cloned_interfaces="lagg0" ifconfig_lagg0="laggproto failover laggport bge0 laggport wlan0 DHCP" 11.x needs this: ifconfig_bge0="up" wlans_iwn0="wlan0" create_args_wlan0="ether 00:21:70:da:ae:37" # new ifconfig_wlan0="WPA" cloned_interfaces="lagg0" ifconfig_lagg0="laggproto failover laggport bge0 laggport wlan0 DHCP" [1] https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-aggregation.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 603 bytes Desc: not available URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20160802/ac5c729e/attachment.sig>