I have done the follow steps.
sudo ifconfig wlan0 up
sudo iwlist wlan0 scan (I see my access point without problem)
- sudo iwconfig wlan0 essid MY_ESSID key s:MY_PASSWORD
I get the follow error:
Error for wireless request "Set Encode" (8B2A) : SET failed on device wlan0 ; Invalid argument.
I used s: because I want to pass and ASCII password.
What is the error?