Netzwerkbrücke (Raspbian): Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
{{note|Noch in Bearbeitung}}
{{note|Konfiguration funktioniert mit meinem ''EDIMAX EW-7811UN'', aber nach ein paar Minuten wird die Verbindung instabil. Im Netz zwar ähnliche Fälle, aber keine brauchbare Lösung gefunden.}}




Zeile 59: Zeile 59:
<pre>
<pre>
sudo wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf -d
sudo wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf -d
</pre>
== Fehler ==
<pre>
association request to the driver failed
</pre>
</pre>



Version vom 30. April 2016, 18:51 Uhr

Konfiguration funktioniert mit meinem EDIMAX EW-7811UN, aber nach ein paar Minuten wird die Verbindung instabil. Im Netz zwar ähnliche Fälle, aber keine brauchbare Lösung gefunden.


Installation

sudo apt-get install bridge-utils
sudo apt-get install dnsmasq

Konfiguration

Datei /etc/wpa_supplicant/wpa_supplicant.conf:

country=AT
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
        ssid="<ssid>"
        psk="<password>"
        proto=RSN
        key_mgmt=WPA-PSK
        pairwise=CCMP
        #group=TKIP
        auth_alg=OPEN
}

Datei /etc/network/interfaces:

source-directory /etc/network/interfaces.d

auto lo
iface lo inet loopback

#auto eth0
iface eth0 inet dhcp

# WLAN
auto  wlan0
allow-hotplug wlan0
iface wlan0 inet manual
        wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

# 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

Testen der Datei wpa_supplicant.conf:

sudo wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf -d

Links

https://wiki.debian.org/BridgeNetworkConnections#Setting_up_your_Bridge


Zurück zu Raspbian