Netzwerkbrücke (Raspbian): Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 9: Zeile 9:


== Konfiguration ==
== Konfiguration ==
<pre>
sudo nano hostapd.conf
</pre>


<pre>
<pre>

Version vom 27. April 2016, 21:53 Uhr

Noch in Bearbeitung

Installation

sudo apt-get install bridge-utils
sudo apt-get install hostapd

Konfiguration

sudo nano hostapd.conf
auto lo
iface lo inet loopback

iface eth0 inet manual

# WLAN
auto  wlan0
allow-hotplug wlan0
iface wlan0 inet manual
        wpa-ap-scan 1
        wpa-scan-ssid 1

        wpa-ssid "<ssid>"
        wpa-psk "<password>"

# Netzwerkbrücke
auto br0
iface br0 inet static
        address 10.0.0.99
        netmask 255.255.255.0
        gateway 10.0.0.1
        dns-nameservers 10.0.0.101
        bridge_ports eth0 wlan0
        bridge_fd 5
        bridge_stp no

Links

Zurück zu Raspbian