Update to r44272:
Restore lost <replaceable> tags.
This commit is contained in:
parent
f69139e382
commit
fd14f45379
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=48625
1 changed files with 29 additions and 29 deletions
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
$FreeBSD$
|
||||
$FreeBSDde:$
|
||||
basiert auf: r44186
|
||||
basiert auf: r44272
|
||||
-->
|
||||
<chapter xmlns="http://docbook.org/ns/docbook"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
|
||||
|
|
@ -536,8 +536,9 @@ route_internalnet2="-net 192.168.2.0/24 192.168.1.2"</programlisting>
|
|||
<para>Die Variable <literal>static_routes</literal> enthält
|
||||
eine Reihe von Strings, die durch Leerzeichen getrennt sind.
|
||||
Jeder String bezieht sich auf den Namen einer Route. Die
|
||||
Variable <literal>route_internalnet2</literal> enthält die
|
||||
statische Route.</para>
|
||||
Variable
|
||||
<literal>route_<replaceable>internalnet2</replaceable></literal>
|
||||
enthält die statische Route.</para>
|
||||
|
||||
<para>Wird mit der Variablen <literal>static_routes</literal>
|
||||
mehr als eine Variable angegeben, so werden auch mehrere
|
||||
|
|
@ -914,8 +915,8 @@ ath0: AR2413 mac 7.9 RF2413 phy 4.5</screen>
|
|||
verfügbare Access Points hin überprüft werden muss. Nur
|
||||
der Super-User kann einen Scanvorgang starten:</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>
|
||||
|
|
@ -1000,7 +1001,7 @@ freebsdap 00:11:95:c3:0d:ac 1 54M -83:96 100 EPS WPA</screen>
|
|||
<para>Um eine Liste der bekannten Netzwerke auszugeben,
|
||||
verwenden Sie den folgenden Befehl:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig wlan0 list scan</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> list scan</userinput></screen>
|
||||
|
||||
<para>Diese Liste kann entweder automatisch durch das
|
||||
drahtlose Gerät oder manuell durch eine
|
||||
|
|
@ -1160,7 +1161,7 @@ ifconfig_wlan0="DHCP"</programlisting>
|
|||
&man.ifconfig.8; der Status des Geräts
|
||||
<filename>ath0</filename> abgefragt werden:</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
|
||||
|
|
@ -1324,7 +1325,7 @@ wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
|||
<filename>/etc/wpa_supplicant.conf</filename>
|
||||
konfiguriert werden:</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]
|
||||
|
|
@ -1334,11 +1335,11 @@ CTRL-EVENT-CONNECTED - Connection to 00:11:95:c3:0d:ac completed (auth) [id=0 id
|
|||
&man.dhclient.8;, um eine <acronym>IP</acronym>-Adresse
|
||||
vom <acronym>DHCP</acronym>-Server zu beziehen:</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
|
||||
|
|
@ -3771,8 +3772,8 @@ BEGEMOT-BRIDGE-MIB::begemotBridgeDefaultBridgeIf.0 s bridge2</screen>
|
|||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>fxp0</replaceable> up</userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>fxp1</replaceable> up</userinput>
|
||||
&prompt.root; <userinput>ifconfig lagg0 create </userinput>
|
||||
&prompt.root; <userinput>ifconfig lagg0 up laggproto lacp laggport <replaceable>fxp0</replaceable> laggport <replaceable>fxp1</replaceable> <replaceable>10.0.0.3/24</replaceable></userinput></screen>
|
||||
&prompt.root; <userinput>ifconfig <literal>lagg<replaceable>0</replaceable></literal> create </userinput>
|
||||
&prompt.root; <userinput>ifconfig <literal>lagg<replaceable>0</replaceable></literal> up laggproto lacp laggport <replaceable>fxp0</replaceable> laggport <replaceable>fxp1</replaceable> <replaceable>10.0.0.3/24</replaceable></userinput></screen>
|
||||
|
||||
<para>Überprüfen Sie den Status der virtuellen
|
||||
Schnittstelle:</para>
|
||||
|
|
@ -3822,8 +3823,8 @@ Fa0/2 SA 32768 0005.5d71.8db8 29s 0x146 0x4 0x3D</screen
|
|||
|
||||
<programlisting>ifconfig_<replaceable>fxp0</replaceable>="up"
|
||||
ifconfig_<replaceable>fxp1</replaceable>="up"
|
||||
cloned_interfaces="<literal>lagg0</literal>
|
||||
ifconfig_<literal>lagg0</literal>="laggproto lacp laggport <replaceable>fxp0</replaceable> laggport <replaceable>fxp1</replaceable> <replaceable>10.0.0.3/24</replaceable>"</programlisting>
|
||||
cloned_interfaces="<literal>lagg<replaceable>0</replaceable></literal>
|
||||
ifconfig_<literal>lagg<replaceable>0</replaceable></literal>="laggproto lacp laggport <replaceable>fxp0</replaceable> laggport <replaceable>fxp1</replaceable> <replaceable>10.0.0.3/24</replaceable>"</programlisting>
|
||||
</example>
|
||||
|
||||
<example xml:id="networking-lagg-failover">
|
||||
|
|
@ -3844,8 +3845,8 @@ ifconfig_<literal>lagg0</literal>="laggproto lacp laggport <replaceable>fxp0</re
|
|||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>fxp0</replaceable> up</userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>fxp1</replaceable> up</userinput>
|
||||
&prompt.root; <userinput>ifconfig lagg0 create</userinput>
|
||||
&prompt.root; <userinput>ifconfig lagg0 up laggproto failover laggport <replaceable>fxp0</replaceable> laggport <replaceable>fxp1</replaceable> <replaceable>10.0.0.15/24</replaceable></userinput></screen>
|
||||
&prompt.root; <userinput>ifconfig <literal>lagg<replaceable>0</replaceable></literal> create</userinput>
|
||||
&prompt.root; <userinput>ifconfig <literal>lagg<replaceable>0</replaceable></literal> up laggproto failover laggport <replaceable>fxp0</replaceable> laggport <replaceable>fxp1</replaceable> <replaceable>10.0.0.15/24</replaceable></userinput></screen>
|
||||
|
||||
<para>Die virtuelle Schnittstelle sollte in etwa so
|
||||
aussehen:</para>
|
||||
|
|
@ -3875,8 +3876,8 @@ lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 150
|
|||
|
||||
<programlisting>ifconfig_<replaceable>fxp0</replaceable>="up"
|
||||
ifconfig_<replaceable>fxp1</replaceable>="up"
|
||||
cloned_interfaces="<literal>lagg0</literal>
|
||||
ifconfig_<literal>lagg0</literal>="laggproto failover laggport <replaceable>fxp0</replaceable> laggport <replaceable>fxp1</replaceable> <replaceable>10.0.0.15/24</replaceable>"</programlisting>
|
||||
cloned_interfaces="<literal>lagg<replaceable>0</replaceable></literal>
|
||||
ifconfig_<literal>lagg<replaceable>0</replaceable></literal>="laggproto failover laggport <replaceable>fxp0</replaceable> laggport <replaceable>fxp1</replaceable> <replaceable>10.0.0.15/24</replaceable>"</programlisting>
|
||||
</example>
|
||||
|
||||
<example xml:id="networking-lagg-wired-and-wireless">
|
||||
|
|
@ -3930,7 +3931,7 @@ bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
|
|||
<para>Starten Sie die drahtlose Schnittstelle, aber ohne
|
||||
eine <acronym>IP</acronym>-Adresse zu setzen:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig wlan0 create wlandev <replaceable>iwn0</replaceable> ssid <replaceable>my_router</replaceable> up</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> create wlandev <replaceable>iwn0</replaceable> ssid <replaceable>my_router</replaceable> up</userinput></screen>
|
||||
|
||||
<para>Stellen Sie sicher, dass die
|
||||
<replaceable>bge0</replaceable>-Schnittstelle aktiv ist.
|
||||
|
|
@ -3939,13 +3940,13 @@ bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
|
|||
<replaceable>wlan0</replaceable> als Failover:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>bge0</replaceable> up</userinput>
|
||||
&prompt.root; <userinput>ifconfig lagg0 create</userinput>
|
||||
&prompt.root; <userinput>ifconfig lagg0 up laggproto failover laggport <replaceable>bge0</replaceable> laggport wlan0</userinput></screen>
|
||||
&prompt.root; <userinput>ifconfig <literal>lagg<replaceable>0</replaceable></literal> create</userinput>
|
||||
&prompt.root; <userinput>ifconfig <literal>lagg<replaceable>0</replaceable></literal> up laggproto failover laggport <replaceable>bge0</replaceable> laggport <replaceable>wlan0</replaceable></userinput></screen>
|
||||
|
||||
<para>Die virtuelle Schnittstelle sollte in etwa so
|
||||
aussehen:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig lagg0</userinput>
|
||||
<screen>&prompt.root; <userinput>ifconfig <literal>lagg<replaceable>0</replaceable></literal></userinput>
|
||||
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
|
||||
options=8<VLAN_MTU>
|
||||
ether 00:21:70:da:ae:37
|
||||
|
|
@ -3964,13 +3965,12 @@ lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 150
|
|||
erhalten bleibt, fügen Sie folgende Einträge in
|
||||
<filename>/etc/rc.conf</filename> hinzu:</para>
|
||||
|
||||
<programlisting>ifconfig_<replaceable>bge0</replaceable>="up"
|
||||
ifconfig_<replaceable>iwn0</replaceable>="<replaceable>ether
|
||||
00:21:70:da:ae:37</replaceable>"
|
||||
<programlisting>ifconfig_bge0="up"
|
||||
ifconfig_<replaceable>iwn0</replaceable>="<replaceable>ether 00:21:70:da:ae:37</replaceable>"
|
||||
wlans_<replaceable>iwn0</replaceable>="wlan0"
|
||||
ifconfig_wlan0="WPA"
|
||||
cloned_interfaces="<literal>lagg0</literal>"
|
||||
ifconfig_<literal>lagg0</literal>="laggproto failover laggport
|
||||
cloned_interfaces="<literal>lagg<replaceable>0</replaceable></literal>"
|
||||
ifconfig_<literal>lagg<replaceable>0</replaceable></literal>="laggproto failover laggport
|
||||
<replaceable>bge0</replaceable> laggport wlan0
|
||||
DHCP"</programlisting>
|
||||
</example>
|
||||
|
|
@ -4523,7 +4523,7 @@ cd /usr/src/etc; make distribution</programlisting>
|
|||
eine Auslagerungsdatei zu erzeugen, gehen Sie wie folgt
|
||||
vor:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>dd if=/dev/zero of=/path/to/swapfile bs=1k count=1 oseek=100000</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>dd if=/dev/zero of=<replaceable>/path/to/swapfile</replaceable> bs=1k count=1 oseek=<replaceable>100000</replaceable></userinput></screen>
|
||||
|
||||
<para>Um die Auslagerungsdatei zu aktivieren, fügen Sie
|
||||
folgende Zeile in <filename>rc.conf</filename> ein:</para>
|
||||
|
|
@ -5041,7 +5041,7 @@ rtsold_enable="YES"</programlisting>
|
|||
|
||||
<para>Der erste Eintrag in <filename>/etc/rc.conf</filename>
|
||||
erzeugt die generische Tunnelschnittstelle
|
||||
<filename>gif0</filename>:</para>
|
||||
<filename>gif<replaceable>0</replaceable></filename>:</para>
|
||||
|
||||
<programlisting>gif_interfaces="gif<replaceable>0</replaceable>"</programlisting>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue