Release notes and handbook changes for identifying wireless adapters

Lars Engels lars.engels at 0x20.net
Tue Aug 2 05:31:38 UTC 2016


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>


More information about the freebsd-stable mailing list