- Fix some screen examples
- Use <package> instead of <filename role="package">
This commit is contained in:
parent
67b3ae1a40
commit
a644f7499b
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=47915
1 changed files with 27 additions and 52 deletions
|
@ -1513,7 +1513,7 @@ wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
|||
der Nameserver manuell festgelegt werden:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>route add default <replaceable>your_default_router</replaceable></userinput>
|
||||
&prompt.root; <userinput>echo "nameserver <replaceable>your_DNS_server</replaceable>" >> /etc/resolv.conf</userinput></screen>
|
||||
&prompt.root; <userinput>echo "nameserver <replaceable>your_DNS_server</replaceable>" >> /etc/resolv.conf</userinput></screen>
|
||||
</sect5>
|
||||
|
||||
<sect5 xml:id="network-wireless-wpa-eap-tls">
|
||||
|
@ -3975,15 +3975,10 @@ BEGEMOT-BRIDGE-MIB::begemotBridgeDefaultBridgeIf.0 s bridge2</screen>
|
|||
Schnittstelle mit der <acronym>IP</acronym>-Adresse
|
||||
<replaceable>10.0.0.3/24</replaceable>:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig
|
||||
<replaceable>fxp0</replaceable> up</userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>fxp1</replaceable>
|
||||
up</userinput>
|
||||
<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 lagg0 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>
|
||||
|
@ -4053,15 +4048,10 @@ ifconfig_<literal>lagg0</literal>="laggproto lacp laggport <replaceable>fxp0</re
|
|||
<acronym>IP</acronym>-Adresse
|
||||
<replaceable>10.0.0.15/24</replaceable> zugewiesen:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig
|
||||
<replaceable>fxp0</replaceable> up</userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>fxp1</replaceable>
|
||||
up</userinput>
|
||||
<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 lagg0 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>
|
||||
|
@ -4126,12 +4116,12 @@ ifconfig_<literal>lagg0</literal>="laggproto failover laggport <replaceable>fxp0
|
|||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>bge0</replaceable></userinput>
|
||||
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
|
||||
options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
|
||||
ether 00:21:70:da:ae:37
|
||||
inet6 fe80::221:70ff:feda:ae37%bge0 prefixlen 64 scopeid 0x2
|
||||
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
|
||||
media: Ethernet autoselect (1000baseT <full-duplex>)
|
||||
status: active</screen>
|
||||
options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
|
||||
ether 00:21:70:da:ae:37
|
||||
inet6 fe80::221:70ff:feda:ae37%bge0 prefixlen 64 scopeid 0x2
|
||||
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
|
||||
media: Ethernet autoselect (1000baseT <full-duplex>)
|
||||
status: active</screen>
|
||||
|
||||
<para>Ersetzen Sie <replaceable>bge0</replaceable> durch den
|
||||
Namen der Ethernet-Schnittstelle des Systems. Die
|
||||
|
@ -4141,16 +4131,12 @@ bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
|
|||
<acronym>MAC</acronym>-Adresse der zugrunde liegenden
|
||||
drahtlosen Schnittstelle:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig
|
||||
<replaceable>iwn0</replaceable> ether
|
||||
<replaceable>00:21:70:da:ae:37</replaceable></userinput></screen>
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>iwn0</replaceable> ether <replaceable>00:21:70:da:ae:37</replaceable></userinput></screen>
|
||||
|
||||
<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 wlan0 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.
|
||||
|
@ -4158,11 +4144,9 @@ bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
|
|||
<replaceable>bge0</replaceable> als Master und
|
||||
<replaceable>wlan0</replaceable> als Failover:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig
|
||||
<replaceable>bge0</replaceable> up</userinput>
|
||||
<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 lagg0 up laggproto failover laggport <replaceable>bge0</replaceable> laggport wlan0</userinput></screen>
|
||||
|
||||
<para>Die virtuelle Schnittstelle sollte in etwa so
|
||||
aussehen:</para>
|
||||
|
@ -4415,8 +4399,7 @@ DHCP"</programlisting>
|
|||
herunterladen können, der über <acronym>PXE</acronym>
|
||||
bereitgestellt wird:</para>
|
||||
|
||||
<screen>
|
||||
&prompt.root; <userinput>tftp localhost</userinput>
|
||||
<screen>&prompt.root; <userinput>tftp localhost</userinput>
|
||||
tftp> <userinput>get FreeBSD/install/boot/pxeboot</userinput>
|
||||
Received 264951 bytes in 0.1 seconds
|
||||
</screen>
|
||||
|
@ -4480,13 +4463,10 @@ Received 264951 bytes in 0.1 seconds
|
|||
Verzeichnisse über Speicher-Dateisysteme (memory backed file
|
||||
system) einbinden.</para>
|
||||
|
||||
<screen>
|
||||
&prompt.root; <userinput>chroot ${NFSROOTDIR}</userinput>
|
||||
<screen>&prompt.root; <userinput>chroot ${NFSROOTDIR}</userinput>
|
||||
&prompt.root; <userinput>mkdir -p conf/base</userinput>
|
||||
&prompt.root; <userinput>tar -c -v -f conf/base/etc.cpio.gz --format cpio
|
||||
--gzip etc</userinput>
|
||||
&prompt.root; <userinput>tar -c -v -f conf/base/var.cpio.gz --format cpio
|
||||
--gzip var</userinput></screen>
|
||||
&prompt.root; <userinput>tar -c -v -f conf/base/etc.cpio.gz --format cpio --gzip etc</userinput>
|
||||
&prompt.root; <userinput>tar -c -v -f conf/base/var.cpio.gz --format cpio --gzip var</userinput></screen>
|
||||
</sect2>
|
||||
|
||||
<sect2 xml:id="network-pxe-setting-up-dhcp">
|
||||
|
@ -4570,8 +4550,7 @@ host corbieres {
|
|||
<para>Starten Sie anschließend den
|
||||
<acronym>DHCP</acronym>-Dienst:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>service isc-dhcpd
|
||||
start</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>service isc-dhcpd start</userinput></screen>
|
||||
</sect2>
|
||||
|
||||
<!--
|
||||
|
@ -4808,9 +4787,8 @@ cd /usr/src/etc; make distribution</programlisting>
|
|||
|
||||
<procedure>
|
||||
<step>
|
||||
<para>Benutzen Sie den <filename
|
||||
role="package">net/wireshark</filename> Port um
|
||||
Fehler im Netzwerkverkehr während des Bootvorgangs
|
||||
<para>Benutzen Sie den <package>net/wireshark</package> Port
|
||||
um Fehler im Netzwerkverkehr während des Bootvorgangs
|
||||
von <acronym>PXE</acronym> zu finden. Der
|
||||
Bootvorgang wird im folgenden Diagramm schematisch
|
||||
dargestellt.</para>
|
||||
|
@ -4901,8 +4879,7 @@ Received 264951 bytes in 0.1 seconds</screen>
|
|||
<filename>/usr/local/etc/dhcpd.conf</filename>
|
||||
wie folgt testen:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>mount -t nfs 192.168.0.1:/b
|
||||
/tftpboot/FreeBSD/install /mnt</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>mount -t nfs 192.168.0.1:/b/tftpboot/FreeBSD/install /mnt</userinput></screen>
|
||||
</step>
|
||||
</procedure>
|
||||
</sect2>
|
||||
|
@ -5850,8 +5827,7 @@ class="ipaddress">192.168.1.51</systemitem>/32"</programlisting>
|
|||
<acronym>IP</acronym>-Adresse wieder an den Master-Server
|
||||
zurückzugeben:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig em0 vhid 1 state
|
||||
backup</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>ifconfig em0 vhid 1 state backup</userinput></screen>
|
||||
|
||||
<para>An dieser Stelle muss entweder das Netzwerk neu gestartet,
|
||||
oder die Maschine neu gebootet werden, um
|
||||
|
@ -5883,8 +5859,7 @@ backup</userinput></screen>
|
|||
<para>Die <acronym>CARP</acronym>-Schnittstellen selbst können
|
||||
mittels &man.ifconfig.8; erstellt werden:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig carp0
|
||||
create</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>ifconfig carp0 create</userinput></screen>
|
||||
|
||||
<para>Konfigurieren Sie Hostnamen,
|
||||
<acronym>IP</acronym>-Management-Adresse, die gemeinsam
|
||||
|
|
Loading…
Reference in a new issue