WLAN bei zb WL0084B

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

 

Anhängen:

network={
ssid=”FRITZ!Box”
scan_ssid=1
proto=RSN
group=CCMP
pairwise=CCMP
key_mgmt=WPA-PSK
psk=”F8wtJ9PXKBCfta2uK9Z8rh4IM5p9TcU7423AGx1Eg8vPjOrJhU4277OeMOseK38″
}
nur dem root rechte geben wegen key?!
ls -la /etc/wpa_supplicant/wpa_supplicant.conf
-rw——- 1 root root 292 Mär  2 23:09 /etc/wpa_supplicant/wpa_supplicant.conf
 sudo nano /etc/network/interfaces
Standardmäßig sollte diese Konfigurationsdatei wie folgt aussehen.
auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
Wenn der Raspberry Pi als WLAN-Client eine IP-Adresse von einem DHCP-Server beziehen soll, ändern Sie diese Konfiguration wie folgt ab.
# Loopback device settings
auto lo
iface lo inet loopback

# Wired LAN interface settings
iface eth0 inet dhcp

# Wireless LAN interface settings
allow-hotplug wlan0
iface wlan0 inet dhcp
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

# Default interface settings
iface default inet dhcp
Wollen Sie stattdessen dem Raspberry Pi eine statische IP-Adresse in Ihrem Wireless LAN zuweisen, verwenden Sie die folgende Konfiguration und passen die Einstellungen entsprechend an.
# Loopback device settings
auto lo
iface lo inet loopback

# Wired LAN interface settings
iface eth0 inet dhcp

# Wireless LAN interface settings
allow-hotplug wlan0
iface wlan0 inet static
    address 192.168.10.200
    netmask 255.255.255.0
    network 192.168.10.0
    broadcast 192.168.10.255
    gateway 192.168.10.2
    dns-nameservers 192.168.10.1 192.168.10.2
    dns-search home.lan
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

# Default interface settings
iface default inet dhcp
sudo /etc/init.d/networking restart

Leave a Reply

Your email address will not be published.