docs/187417: [patch] Handbook: Add some missing <replaceable>-tags in advanced-networking section

Björn Heidotting b.heidotting at yahoo.com
Mon Mar 10 12:30:04 UTC 2014


>Number:         187417
>Category:       docs
>Synopsis:       [patch] Handbook: Add some missing <replaceable>-tags in advanced-networking section
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 10 12:30:03 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Björn Heidotting
>Release:        10.0-RELEASE
>Organization:
>Environment:
>Description:
In the advanced-networking section of the handbook, add some missing <replaceable>-tags.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- chapter.xml	2014-03-10 10:54:27.000000000 +0100
+++ chapter.xml.work	2014-03-10 13:20:55.000000000 +0100
@@ -838,8 +838,8 @@
 	    frequency and probe for available access points.  Only
 	    the superuser can initiate a scan:</para>
 
-	  <screen>&prompt.root; <userinput>ifconfig wlan0 create wlandev ath0</userinput>
-&prompt.root; <userinput>ifconfig wlan0 up scan</userinput>
+          <screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> create wlandev <replaceable>ath0</replaceable></userinput>
+&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> up scan</userinput>
 SSID/MESH ID    BSSID              CHAN RATE   S:N     INT CAPS
 dlinkap         00:13:46:49:41:76   11   54M -90:96   100 EPS  WPA WME
 freebsdap       00:11:95:c3:0d:ac    1   54M -83:96   100 EPS  WPA</screen>
@@ -921,7 +921,7 @@
 	  <para>One can also display the current list of known
 	    networks with:</para>
 
-	  <screen>&prompt.root; <userinput>ifconfig wlan0 list scan</userinput></screen>
+          <screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> list scan</userinput></screen>
 
 	  <para>This information may be updated automatically by the
 	    adapter or manually with a <option>scan</option> request.
@@ -1068,7 +1068,7 @@
 	      to see the status of the interface
 	      <filename>ath0</filename>:</para>
 
-	    <screen>&prompt.root; <userinput>ifconfig wlan0</userinput>
+            <screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable></userinput>
 wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         ether 00:11:95:d5:43:62
         inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255
@@ -1213,7 +1213,7 @@
 	      the information in
 	      <filename>/etc/wpa_supplicant.conf</filename>:</para>
 
-	    <screen>&prompt.root; <userinput>wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf</userinput>
+            <screen>&prompt.root; <userinput>wpa_supplicant -i <replaceable>wlan0</replaceable> -c /etc/wpa_supplicant.conf</userinput>
 Trying to associate with 00:11:95:c3:0d:ac (SSID='freebsdap' freq=2412 MHz)
 Associated with 00:11:95:c3:0d:ac
 WPA: Key negotiation completed with 00:11:95:c3:0d:ac [PTK=CCMP GTK=CCMP]
@@ -1223,11 +1223,11 @@
 	      to get the <acronym>IP</acronym> address from the
 	      <acronym>DHCP</acronym> server:</para>
 
-	    <screen>&prompt.root; <userinput>dhclient wlan0</userinput>
+            <screen>&prompt.root; <userinput>dhclient <replaceable>wlan0</replaceable></userinput>
 DHCPREQUEST on wlan0 to 255.255.255.255 port 67
 DHCPACK from 192.168.0.1
 bound to 192.168.0.254 -- renewal in 300 seconds.
-&prompt.root; <userinput>ifconfig wlan0</userinput>
+&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable></userinput>
 wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
       ether 00:11:95:d5:43:62
       inet 192.168.0.254 netmask 0xffffff00 broadcast 192.168.0.255


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-doc mailing list