Put in the missing revision r40792:
Prefer the use of service(1) to explicit invocation of /etc/rc.d scripts: service(1) puts things in one place and abstracts them. Also, it's less typing and easier to autocomplete. Submitted by: Bjoern Heidotting Obtained from: The FreeBSD German Documentation Project
This commit is contained in:
parent
6a32c8b012
commit
361afad65e
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=45631
1 changed files with 9 additions and 10 deletions
|
|
@ -1376,7 +1376,7 @@ ifconfig_wlan0="DHCP"</programlisting>
|
|||
<para>Nun können Sie Ihr drahtloses Gerät
|
||||
starten:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>/etc/rc.d/netif start</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>service netif start</userinput></screen>
|
||||
|
||||
<para>Nachdem Sie das Gerät aktiviert haben,
|
||||
können Sie mit <command>ifconfig</command> den
|
||||
|
|
@ -1512,7 +1512,7 @@ ifconfig_wlan0="WPA DHCP"</programlisting>
|
|||
|
||||
<para>Nun können Sie Ihr Netzgerät aktivieren:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>/etc/rc.d/netif start</userinput>
|
||||
<screen>&prompt.root; <userinput>service netif start</userinput>
|
||||
Starting wpa_supplicant.
|
||||
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
|
||||
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
|
||||
|
|
@ -1715,10 +1715,9 @@ wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
|||
ifconfig_wlan0="WPA DHCP"</programlisting>
|
||||
|
||||
<para>Nun können Sie Ihr drahtloses Gerät
|
||||
über das <filename>rc.d</filename>-System
|
||||
aktivieren:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>/etc/rc.d/netif start</userinput>
|
||||
<screen>&prompt.root; <userinput>service netif start</userinput>
|
||||
Starting wpa_supplicant.
|
||||
DHCPREQUEST on wlan0 to 255.255.255.255 port 67 interval 7
|
||||
DHCPREQUEST on wlan0 to 255.255.255.255 port 67 interval 15
|
||||
|
|
@ -1815,7 +1814,7 @@ ifconfig_wlan0="WPA DHCP"</programlisting>
|
|||
<para>Nun können Sie Ihr drahtloses Gerät
|
||||
aktivieren:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>/etc/rc.d/netif start</userinput>
|
||||
<screen>&prompt.root; <userinput>service netif start</userinput>
|
||||
Starting wpa_supplicant.
|
||||
DHCPREQUEST on wlan0 to 255.255.255.255 port 67 interval 7
|
||||
DHCPREQUEST on wlan0 to 255.255.255.255 port 67 interval 15
|
||||
|
|
@ -1930,7 +1929,7 @@ wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
|||
<para>Zuletzt müssen Sie die Netzwerkkarte noch
|
||||
aktivieren:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>/etc/rc.d/netif start</userinput>
|
||||
<screen>&prompt.root; <userinput>service netif start</userinput>
|
||||
Starting wpa_supplicant.
|
||||
DHCPREQUEST on wlan0 to 255.255.255.255 port 67 interval 7
|
||||
DHCPREQUEST on wlan0 to 255.255.255.255 port 67 interval 15
|
||||
|
|
@ -2328,7 +2327,7 @@ wpa_pairwise=CCMP TKIP <co xml:id="co-ap-wpapsk-pwise"/></programlisting>
|
|||
<para>Als nächstes wird der
|
||||
<application>hostapd</application> gestartet:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>/etc/rc.d/hostapd forcestart</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>service hostapd forcestart</userinput></screen>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable></userinput>
|
||||
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2290
|
||||
|
|
@ -2621,14 +2620,14 @@ ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3,
|
|||
wMaxPacketSize=49, nframes=6, buffer size=294</screen>
|
||||
|
||||
<para>Zum Starten und Beenden des Bluetooth-Stacks verwenden Sie
|
||||
das Skript <filename>/etc/rc.d/bluetooth</filename>. Es ist
|
||||
&man.service.8;. Es ist
|
||||
empfehlenswert, den Bluetooth-Stack zu beenden, bevor Sie den
|
||||
Adapter entfernen. Selbst wenn Sie dies nicht tun, kommt es
|
||||
(normalerweise) zu keinem fatalen Fehler. Wenn Sie den
|
||||
Bluetooth-Stack starten, erhalten Sie eine Meldung ähnlich
|
||||
der folgenden:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>/etc/rc.d/bluetooth start ubt0</userinput>
|
||||
<screen>&prompt.root; <userinput>service bluetooth start ubt0</userinput>
|
||||
BD_ADDR: 00:02:72:00:d4:1a
|
||||
Features: 0xff 0xff 0xf 00 00 00 00 00
|
||||
<3-Slot> <5-Slot> <Encryption> <Slot offset>
|
||||
|
|
@ -3013,7 +3012,7 @@ Bluetooth Profile Descriptor List:
|
|||
<para>Nun kann der <application>sdpd</application>-Daemon durch
|
||||
folgene Eingabe gestartet werden:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>/etc/rc.d/sdpd start</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>service sdpd start</userinput></screen>
|
||||
|
||||
<para>Der lokale Server, der den entfernten Clients
|
||||
Bluetooth-Dienste anbieten soll, bindet diese Dienste an den
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue