Netzwerkbrücke (Raspbian)
Version vom 27. April 2016, 23:45 Uhr von Martin Kirner (Diskussion | Beiträge)
Noch in Bearbeitung
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
sudo wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf -d
Fehler
association request to the driver failed
Links
Zurück zu Raspbian