Netzwerkbrücke (Raspbian): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| (3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
{{note| | {{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 6: | Zeile 6: | ||
<pre> | <pre> | ||
sudo apt-get install bridge-utils | sudo apt-get install bridge-utils | ||
</pre> | </pre> | ||
| Zeile 36: | Zeile 35: | ||
#auto eth0 | #auto eth0 | ||
iface eth0 inet | iface eth0 inet manual | ||
# WLAN | # WLAN | ||
| Zeile 59: | Zeile 58: | ||
<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> | </pre> | ||
| Zeile 70: | Zeile 63: | ||
[https://wiki.debian.org/BridgeNetworkConnections#Setting_up_your_Bridge https://wiki.debian.org/BridgeNetworkConnections#Setting_up_your_Bridge] | [https://wiki.debian.org/BridgeNetworkConnections#Setting_up_your_Bridge https://wiki.debian.org/BridgeNetworkConnections#Setting_up_your_Bridge] | ||
Zurück zu [[Raspbian]] | Zurück zu [[Raspbian]] | ||
Aktuelle Version vom 30. April 2016, 17:53 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
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