Netzwerkbrücke (Raspbian)
Zur Navigation springen
Zur Suche springen
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
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 manual
# 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