From owner-svn-doc-all@FreeBSD.ORG Mon Feb 3 03:39:03 2014 Return-Path: Delivered-To: svn-doc-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C5D247AE; Mon, 3 Feb 2014 03:39:03 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AFBA31653; Mon, 3 Feb 2014 03:39:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s133d3Ir004073; Mon, 3 Feb 2014 03:39:03 GMT (envelope-from wblock@svn.freebsd.org) Received: (from wblock@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s133d3S2004072; Mon, 3 Feb 2014 03:39:03 GMT (envelope-from wblock@svn.freebsd.org) Message-Id: <201402030339.s133d3S2004072@svn.freebsd.org> From: Warren Block Date: Mon, 3 Feb 2014 03:39:03 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r43731 - head/en_US.ISO8859-1/books/handbook/advanced-networking X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Feb 2014 03:39:03 -0000 Author: wblock Date: Mon Feb 3 03:39:03 2014 New Revision: 43731 URL: http://svnweb.freebsd.org/changeset/doc/43731 Log: Restore tags in the wireless network section that were lost in the DocBook 5 conversion. 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 Mon Feb 3 00:18:59 2014 (r43730) +++ head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml Mon Feb 3 03:39:03 2014 (r43731) @@ -1293,8 +1293,8 @@ wlan0: flags=8843<UP,BROADCAST,RUNNIN after &man.wpa.supplicant.8; has authenticated the station: - &prompt.root; ifconfig wlan0 inet 192.168.0.100 netmask 255.255.255.0 -&prompt.root; ifconfig wlan0 + &prompt.root; ifconfig wlan0 inet 192.168.0.100 netmask 255.255.255.0 +&prompt.root; ifconfig wlan0 wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 00:11:95:d5:43:62 inet 192.168.0.100 netmask 0xffffff00 broadcast 192.168.0.255 @@ -1310,8 +1310,8 @@ wlan0: flags=8843<UP,BROADCAST,RUNNIN default gateway and the nameserver also have to be manually set: - &prompt.root; route add default your_default_router -&prompt.root; echo "nameserver your_DNS_server" >> /etc/resolv.conf + &prompt.root; route add default your_default_router +&prompt.root; echo "nameserver your_DNS_server" >> /etc/resolv.conf @@ -1679,9 +1679,9 @@ wlan0: flags=8843<UP,BROADCAST,RUNNIN WEP can be set up using &man.ifconfig.8;: - &prompt.root; ifconfig wlan0 create wlandev ath0 -&prompt.root; ifconfig wlan0 inet 192.168.1.100 netmask 255.255.255.0 \ - ssid my_net wepmode on weptxkey 3 wepkey 3:0x3456789012 + &prompt.root; ifconfig wlan0 create wlandev ath0 +&prompt.root; ifconfig wlan0 inet 192.168.1.100 netmask 255.255.255.0 \ + ssid my_net wepmode on weptxkey 3 wepkey 3:0x3456789012 @@ -1729,7 +1729,7 @@ wlan0: flags=8843<UP,BROADCAST,RUNNIN Then: - &prompt.root; wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf + &prompt.root; wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf Trying to associate with 00:13:46:49:41:76 (SSID='dlinkap' freq=2437 MHz) Associated with 00:13:46:49:41:76 @@ -1748,9 +1748,9 @@ Associated with 00:13:46:49:41:76On A: - &prompt.root; ifconfig wlan0 create wlandev ath0 wlanmode adhoc -&prompt.root; ifconfig wlan0 inet 192.168.0.1 netmask 255.255.255.0 ssid freebsdap -&prompt.root; ifconfig wlan0 + &prompt.root; ifconfig wlan0 create wlandev ath0 wlanmode adhoc +&prompt.root; ifconfig wlan0 inet 192.168.0.1 netmask 255.255.255.0 ssid freebsdap +&prompt.root; ifconfig wlan0 wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 00:11:95:c3:0d:ac inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 @@ -1766,8 +1766,8 @@ Associated with 00:13:46:49:41:76B should now be able to detect A: - &prompt.root; ifconfig wlan0 create wlandev ath0 wlanmode adhoc -&prompt.root; ifconfig wlan0 up scan + &prompt.root; ifconfig wlan0 create wlandev ath0 wlanmode adhoc +&prompt.root; ifconfig wlan0 up scan SSID/MESH ID BSSID CHAN RATE S:N INT CAPS freebsdap 02:11:95:c3:0d:ac 2 54M -64:-96 100 IS WME @@ -1776,8 +1776,8 @@ Associated with 00:13:46:49:41:76B with a different IP address: - &prompt.root; ifconfig wlan0 inet 192.168.0.2 netmask 255.255.255.0 ssid freebsdap -&prompt.root; ifconfig wlan0 + &prompt.root; ifconfig wlan0 inet 192.168.0.2 netmask 255.255.255.0 ssid freebsdap +&prompt.root; ifconfig wlan0 wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 00:11:95:d5:43:62 inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255 @@ -1821,8 +1821,8 @@ Associated with 00:13:46:49:41:76 - &prompt.root; ifconfig wlan0 create wlandev ath0 -&prompt.root; ifconfig wlan0 list caps + &prompt.root; ifconfig wlan0 create wlandev ath0 +&prompt.root; ifconfig wlan0 list caps drivercaps=6f85edc1<STA,FF,TURBOP,IBSS,HOSTAP,AHDEMO,TXPMGT,SHSLOT,SHPREAMBLE,MONITOR,MBSS,WPA1,WPA2,BURST,WME,WDS,BGSCAN,TXFRAG> cryptocaps=1f<WEP,TKIP,AES,AES_CCM,TKIPMIC> @@ -1838,18 +1838,18 @@ cryptocaps=1f<WEP,TKIP,AES,AES_CCM,TK during the creation of the network pseudo-device, so a previously created device must be destroyed first: - &prompt.root; ifconfig wlan0 destroy + &prompt.root; ifconfig wlan0 destroy then regenerated with the correct option before setting the other parameters: - &prompt.root; ifconfig wlan0 create wlandev ath0 wlanmode hostap -&prompt.root; ifconfig wlan0 inet 192.168.0.1 netmask 255.255.255.0 ssid freebsdap mode 11g channel 1 + &prompt.root; ifconfig wlan0 create wlandev ath0 wlanmode hostap +&prompt.root; ifconfig wlan0 inet 192.168.0.1 netmask 255.255.255.0 ssid freebsdap mode 11g channel 1 Use &man.ifconfig.8; again to see the status of the wlan0 interface: - &prompt.root; ifconfig wlan0 + &prompt.root; ifconfig wlan0 wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 00:11:95:c3:0d:ac inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 @@ -1886,16 +1886,16 @@ ifconfig_wlan0="inet 192.16 a scan from another wireless machine to find the AP: - &prompt.root; ifconfig wlan0 create wlandev ath0 -&prompt.root; ifconfig wlan0 up scan + &prompt.root; ifconfig wlan0 create wlandev ath0 +&prompt.root; ifconfig wlan0 up scan SSID/MESH ID BSSID CHAN RATE S:N INT CAPS freebsdap 00:11:95:c3:0d:ac 1 54M -66:-96 100 ES WME The client machine found the AP and can be associated with it: - &prompt.root; ifconfig wlan0 inet 192.168.0.2 netmask 255.255.255.0 ssid freebsdap -&prompt.root; ifconfig wlan0 + &prompt.root; ifconfig wlan0 inet 192.168.0.2 netmask 255.255.255.0 ssid freebsdap +&prompt.root; ifconfig wlan0 wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 00:11:95:d5:43:62 inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255 @@ -2031,7 +2031,7 @@ wpa_pairwise=CCMP TKIP SSID and IP address: - &prompt.root; ifconfig wlan0 create wlandev ath0 wlanmode hostap -&prompt.root; ifconfig wlan0 inet 192.168.0.1 netmask 255.255.255.0 \ - ssid freebsdap wepmode on weptxkey 3 wepkey 3:0x3456789012 mode 11g + &prompt.root; ifconfig wlan0 create wlandev ath0 wlanmode hostap +&prompt.root; ifconfig wlan0 inet 192.168.0.1 netmask 255.255.255.0 \ + ssid freebsdap wepmode on weptxkey 3 wepkey 3:0x3456789012 mode 11g @@ -2092,7 +2092,7 @@ wpa_pairwise=CCMP TKIP From another wireless machine, it is now possible to initiate a scan to find the AP: - &prompt.root; ifconfig wlan0 create wlandev ath0 -&prompt.root; ifconfig wlan0 up scan + &prompt.root; ifconfig wlan0 create wlandev ath0 +&prompt.root; ifconfig wlan0 up scan SSID BSSID CHAN RATE S:N INT CAPS freebsdap 00:11:95:c3:0d:ac 1 54M 22:1 100 EPS @@ -2181,7 +2181,7 @@ freebsdap 00:11:95:c3:0d:ac 1 scanning for access points and the 802.11 protocol handshakes required to arrange communication: - &prompt.root; wlandebug -i ath0 +scan+auth+debug+assoc + &prompt.root; wlandebug -i ath0 +scan+auth+debug+assoc net.wlan.0.debug: 0 => 0xc80000<assoc,auth,scan> Many useful statistics are maintained by