© 1986-2024 by Michael Naumann.
WLAN-Konfiguration beim RaspberryPi
Anbei die nötigen Schritte um den RaspberryPi für ein WLAN (WPA2; FRITZ!Box) einzurichten.
Installation der Software „wpa_supplicant“:
apt-get install wpa_supplicant
Konfigurationsdatei „/etc/wpa_supplicant/wpa_supplicant.conf“:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ key_mgmt=NONE } network={ ssid="WLAN-SSID" scan_ssid=1 psk="WLAN-KENNWORT" proto=RSN key_mgmt=WPA-PSK pairwise=CCMP TKIP group=CCMP TKIP }
Konfiguration innerhalb der Datei „/etc/network/interfaces“:
allow-hotplug wlan0 iface wlan0 inet dhcp pre-up wpa_supplicant -D wext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -B -P /var/run/wpa_supplicant.wlan0.pid post-down killall -q wpa_supplicant # Alternative Variante # wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
WLAN-Interface aktivieren:
ifup wlan0