Since r287197 there are no device entries visible via ifconfig(8); MAC address can be overridden for wlan(4) interface only: ifconfig wlan0 create wlandev iwn0 ether 00:21:70:da:ae:37 ssid my_router up or via wlanaddr parameter (broken on 11.0-RELEASE?): ifconfig wlan0 create wlandev iwn0 wlanaddr 00:21:70:da:ae:37 ssid my_router up rc.conf(5) config: ifconfig_bge0="up" wlans_iwn0="wlan0" ifconfig_wlan0="ether 00:21:70:da:ae:37 WPA" cloned_interfaces="lagg0" ifconfig_lagg0="laggproto failover laggport bge0 laggport wlan0 DHCP"
Since "there are no device entries visible via ifconfig(8)", the ifconfig-way, described in "30.3.2. Quick Start, 2. Identify the wireless adapter" [1], is no longer valid for newer versions of OSes. I guess we should advise looking through plain old dmesg(8) for wireless adapters detected by the kernel, as it is applicable to a broader range of versions of OSes. 1. https://svnweb.freebsd.org/doc/head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml?revision=49799&view=markup#l738
The new way to discover available wireless interfaces is to run: $ sysctl net.wlan.devices
Afaik, "sysctl net.wlan.devices" is available in >= FreeBSD11.
Created attachment 180515 [details] its Andriy's proposal wrapped as a patch
Created attachment 180516 [details] Ben's proposal wrapped as a patch The question about applicability of 'wlandebug' [1] is left open. 1. https://svnweb.freebsd.org/doc/head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml?revision=49799&view=markup#l2225
Attachment #180516 [details] is no longer actual, this (sub)case was fixed in bug #214586 .
Is this still relevant following https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211436 ?
(In reply to PauAmma from comment #7) Guessing not, please reopen if I'm wrong.