wpa_passphrase linux

Associate with 802.11X/WPA cell with wpa_passphrase in linux

# wpa_passphrase 
usage: wpa_passphrase  [passphrase]

If passphrase is left out, it will be read from stdin


# wpa_passphrase thESSID passphrase
network={
 ssid="thESSID"
 #psk="passphrase"
 psk=a104b1103fd32169a27080273828e77120234f9e113a5f15ff37e17729a0c266
}


to asscociate with the thESSID
# wpa_supplicant -B -i wlan0 -c <(wpa_passphrase thESSID passphrase)
or
# echo "update_config=1" > /etc/wpa_supplicant/thESSID.conf
# echo "fast_reauth=1" >> /etc/wpa_supplicant/thESSID.conf
# echo "ap_scan=1" >> /etc/wpa_supplicant/thESSID.conf
# wpa_passphrase thESSID passphrase > /etc/wpa_supplicant/thESSID.conf
# wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/thESSID.conf




wpa_passphrase debian voyage