Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Mar 2017 12:32:33 +0000 (UTC)
From:      Benedict Reuschling <bcr@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r50044 - head/en_US.ISO8859-1/books/handbook/advanced-networking
Message-ID:  <201703101232.v2ACWX7U035905@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bcr
Date: Fri Mar 10 12:32:33 2017
New Revision: 50044
URL: https://svnweb.freebsd.org/changeset/doc/50044

Log:
  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

Modified:
  head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml

Modified: head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml	Thu Mar  9 13:04:23 2017	(r50043)
+++ head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml	Fri Mar 10 12:32:33 2017	(r50044)
@@ -743,6 +743,11 @@ route_net2="-net 192.168.1.0/24 192.168.
 
 	  <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  
 	    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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703101232.v2ACWX7U035905>