Micro HowTo Wlan WPA

Micro HowTo Wlan WPA

  • /etc/network/interfaces
    auto lo
    iface lo inet loopback
    
    ...
    
    iface wlan0 inet static
    address 10.10.10.150
    netmask 255.0.0.0
    gateway 10.10.10.1
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
    auto wlan0
    
  • PKS:
    you get the PKS by typing the following in a terminal:
    wpa-passphrase <SSID>
    
    then type in your passphrase.
  • /etc/wpa_supplicant/wpa_supplicant.conf
    ctrl_interface=/var/run/wpa_supplicant
    eapol_version=1
    ap_scan=2
    network={
            ssid="privat"
            scan_ssid=1
            proto=WPA
            key_mgmt=WPA-PSK
            pairwise=TKIP
            group=TKIP
            #psk="klartext"
            psk=axxxxx
    }