Add a section for FreeBSD 11 and higher as this one

uses a different method of detecting the wireless
devices in the system (using sysctl).

Additionally, change the wlandebug example to wlan0.

PR:		214586
Submitted by:	woodsb02@freebsd.org
This commit is contained in:
Benedict Reuschling 2017-03-10 12:32:33 +00:00
parent 6be652d863
commit b233765a85
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=50044

View file

@ -743,6 +743,11 @@ route_net2="-net 192.168.1.0/24 192.168.1.1"</programlisting>
<screen>&prompt.user; <userinput>ifconfig | grep -B3 -i wireless</userinput></screen>
<para>On &os;&nbsp;11 or higher, use this command
instead:</para>
<screen>&prompt.user; <userinput>sysctl net.wlan.devices</userinput></screen>
<para>If a wireless adapter is not listed, an additional
kernel module might be required, or it might be a model
not supported by &os;.</para>
@ -2222,7 +2227,7 @@ freebsdap 00:11:95:c3:0d:ac 1 54M 22:1 100 EPS</screen>
scanning for access points and the 802.11 protocol
handshakes required to arrange communication:</para>
<screen>&prompt.root; <userinput>wlandebug -i <replaceable>ath0</replaceable> +scan+auth+debug+assoc</userinput>
<screen>&prompt.root; <userinput>wlandebug -i <replaceable>wlan0</replaceable> +scan+auth+debug+assoc</userinput>
net.wlan.0.debug: 0 =&gt; 0xc80000&lt;assoc,auth,scan&gt;</screen>
<para>Many useful statistics are maintained by the 802.11