diff --git a/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml b/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml index cc5555dfa6..8aecda4779 100644 --- a/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml +++ b/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml @@ -491,7 +491,7 @@ route_internalnet2="-net 192.168.2.0/24 192.168.1.2" The static_routes configuration variable is a list of strings separated by a space, where each string references a route name. The variable - route_internalnet2 contains the static + route_internalnet2 contains the static route for that route name. Using more than one string in @@ -838,8 +838,8 @@ ath0: AR2413 mac 7.9 RF2413 phy 4.5 frequency and probe for available access points. Only the superuser can initiate a scan: - &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 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 @@ -921,7 +921,7 @@ freebsdap 00:11:95:c3:0d:ac 1 54M -83:96 100 EPS WPA One can also display the current list of known networks with: - &prompt.root; ifconfig wlan0 list scan + &prompt.root; ifconfig wlan0 list scan This information may be updated automatically by the adapter or manually with a request. @@ -1068,7 +1068,7 @@ ifconfig_wlan0="DHCP" to see the status of the interface ath0: - &prompt.root; ifconfig wlan0 + &prompt.root; ifconfig wlan0 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 @@ wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 the information in /etc/wpa_supplicant.conf: - &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: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 @@ CTRL-EVENT-CONNECTED - Connection to 00:11:95:c3:0d:ac completed (auth) [id=0 id to get the IP address from the DHCP server: - &prompt.root; dhclient wlan0 + &prompt.root; dhclient wlan0 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; ifconfig wlan0 +&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.254 netmask 0xffffff00 broadcast 192.168.0.255 @@ -2009,7 +2009,7 @@ wpa_pairwise=CCMP TKIP clients can associate with it. See for more details. It is possible to see the stations associated with the - AP using ifconfig wlan0 list + AP using ifconfig wlan0 list sta. @@ -2143,7 +2143,7 @@ freebsdap 00:11:95:c3:0d:ac 1 54M 22:1 100 EPS Debugging messages can be enabled in the 802.11 protocol support layer using &man.wlandebug.8;. On a &os; system prior to &os; 9.1, this program can be found in - /usr/src/tools/tools/net80211. + /usr/src/tools/tools/net80211. For example, to enable console messages related to scanning for access points and the 802.11 protocol handshakes required to arrange communication: @@ -2153,7 +2153,7 @@ freebsdap 00:11:95:c3:0d:ac 1 54M 22:1 100 EPS Many useful statistics are maintained by the 802.11 layer and wlanstats, found - in /usr/src/tools/tools/net80211, + in /usr/src/tools/tools/net80211, will dump this information. These statistics should display all errors identified by the 802.11 layer. However, some errors are identified in the device drivers @@ -3460,12 +3460,12 @@ BEGEMOT-BRIDGE-MIB::begemotBridgeDefaultBridgeIf.0 s bridge2 &prompt.root; ifconfig fxp0 up &prompt.root; ifconfig fxp1 up -&prompt.root; ifconfig lagg0 create -&prompt.root; ifconfig lagg0 up laggproto lacp laggport fxp0 laggport fxp1 10.0.0.3/24 +&prompt.root; ifconfig lagg0 create +&prompt.root; ifconfig lagg0 up laggproto lacp laggport fxp0 laggport fxp1 10.0.0.3/24 Next, verify the status of the virtual interface: - &prompt.root; ifconfig lagg0 + &prompt.root; ifconfig lagg0 lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8<VLAN_MTU> ether 00:05:5d:71:8d:b8 @@ -3508,8 +3508,8 @@ Fa0/2 SA 32768 0005.5d71.8db8 29s 0x146 0x4 0x3Difconfig_fxp0="up" ifconfig_fxp1="up" -cloned_interfaces="lagg0" -ifconfig_lagg0="laggproto lacp laggport fxp0 laggport fxp1 10.0.0.3/24" +cloned_interfaces="lagg0" +ifconfig_lagg0="laggproto lacp laggport fxp0 laggport fxp1 10.0.0.3/24" @@ -3527,13 +3527,13 @@ ifconfig_lagg0="laggproto lacp laggport fxp0&prompt.root; ifconfig fxp0 up &prompt.root; ifconfig fxp1 up -&prompt.root; ifconfig lagg0 create -&prompt.root; ifconfig lagg0 up laggproto failover laggport fxp0 laggport fxp1 10.0.0.15/24 +&prompt.root; ifconfig lagg0 create +&prompt.root; ifconfig lagg0 up laggproto failover laggport fxp0 laggport fxp1 10.0.0.15/24 The virtual interface should look something like this: - &prompt.root; ifconfig lagg0 + &prompt.root; ifconfig lagg0 lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8<VLAN_MTU> ether 00:05:5d:71:8d:b8 @@ -3557,8 +3557,8 @@ lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 150 ifconfig_fxp0="up" ifconfig_fxp1="up" -cloned_interfaces="lagg0" -ifconfig_lagg0="laggproto failover laggport fxp0 laggport fxp1 10.0.0.15/24" +cloned_interfaces="lagg0" +ifconfig_lagg0="laggproto failover laggport fxp0 laggport fxp1 10.0.0.15/24" @@ -3608,7 +3608,7 @@ bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 Bring the wireless interface up, but do not set an IP address: - &prompt.root; ifconfig wlan0 create wlandev iwn0 ssid my_router up + &prompt.root; ifconfig wlan0 create wlandev iwn0 ssid my_router up Make sure the bge0 interface is up, then create the &man.lagg.4; interface with @@ -3616,13 +3616,13 @@ bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 wlan0: &prompt.root; ifconfig bge0 up -&prompt.root; ifconfig lagg0 create -&prompt.root; ifconfig lagg0 up laggproto failover laggport bge0 laggport wlan0 +&prompt.root; ifconfig lagg0 create +&prompt.root; ifconfig lagg0 up laggproto failover laggport bge0 laggport wlan0 The virtual interface should look something like this: - &prompt.root; ifconfig lagg0 + &prompt.root; ifconfig lagg0 lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8<VLAN_MTU> ether 00:21:70:da:ae:37 @@ -3635,18 +3635,18 @@ lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 150 Then, start the DHCP client to obtain an IP address: - &prompt.root; dhclient lagg0 + &prompt.root; dhclient lagg0 To retain this configuration across reboots, add the following entries to /etc/rc.conf: - ifconfig_bge0="up" + ifconfig_bge0="up" ifconfig_iwn0="ether 00:21:70:da:ae:37" wlans_iwn0="wlan0" ifconfig_wlan0="WPA" -cloned_interfaces="lagg0" -ifconfig_lagg0="laggproto failover laggport bge0 laggport wlan0 DHCP" +cloned_interfaces="lagg0" +ifconfig_lagg0="laggproto failover laggport bge0 laggport wlan0 DHCP" @@ -3973,7 +3973,7 @@ Received 264951 bytes in 0.1 seconds to send the value in the host declarations as the hostname for the diskless host. An alternate way would be to add an option - host-name corbieres + host-name corbieres inside the host declarations. --> @@ -4080,7 +4080,7 @@ cd /usr/src/etc; make distribution file system and creating and enabling a swap file. To create a swap file: - &prompt.root; dd if=/dev/zero of=/path/to/swapfile bs=1k count=1 oseek=100000 + &prompt.root; dd if=/dev/zero of=/path/to/swapfile bs=1k count=1 oseek=100000 To enable the swap file, add the following line to /etc/rc.conf: @@ -4570,7 +4570,7 @@ rtsold_enable="YES" The first /etc/rc.conf entry creates the generic tunneling interface - gif0: + gif0: gif_interfaces="gif0"