I tried almost every single tutorial I have found on how to initiate a WiFi connection without being in graphical mode but without any success i get the same error messages all the time - Invalid argument. My file /etc/wpa_supplikant/wpa_supplicant.conf
includes (like the howto) following lines
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
network={
ssid="UPC1589940"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
psk="secretpass"
}
When I scan for my (or any) AP issuing
wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf -d
I get an error several times but I can see APs that I know about. It is a real long output but I will put it on pastebin if needed. The errors are looking like
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Driver did not support SIOCSIWENCODEEXT
wpa_driver_wext_set_key: alg=0 key_idx=5 set_tx=0 seq_len=0 key_len=0
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Driver did not support SIOCSIWENCODEEXT
wpa_driver_wext_set_countermeasures
I also have added
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
to my /etc/network/interfaces
and issuing
wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf -B
to start the connection but also getting error messages
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
My OS is Kali (Debian) 64 Bit. Can anyone lead me, please?