Netzwerkbrücke (Raspbian): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 10: | Zeile 10: | ||
== Konfiguration == | == Konfiguration == | ||
Datei ''/etc/wpa_supplicant/wpa_supplicant.conf'': | |||
<pre> | <pre> | ||
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 | |||
} | |||
</pre> | </pre> | ||
Datei ''/etc/network/interfaces'': | |||
<pre> | <pre> | ||
source-directory /etc/network/interfaces.d | |||
auto lo | auto lo | ||
iface lo inet loopback | iface lo inet loopback | ||
iface eth0 inet | #auto eth0 | ||
iface eth0 inet dhcp | |||
# WLAN | # WLAN | ||
Zeile 24: | Zeile 41: | ||
allow-hotplug wlan0 | allow-hotplug wlan0 | ||
iface wlan0 inet manual | iface wlan0 inet manual | ||
wpa- | wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf | ||
# Netzwerkbrücke | # Netzwerkbrücke |
Version vom 27. April 2016, 23:17 Uhr
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
Links
Zurück zu Raspbian