I am trying to connect to wifi using terminal without any result.
My ESSID is "HOME", this is what I wrote into the terminal:
sudo iwconfig wlp2s0 essid "HOME" key s:MYPASSWORDHERE
Error for wireless request "Set Encode" (8B2A) : SET failed on device wlp2s0; Invalid argument."
So I tried to connect to an open wifi (my smartphone hotspot) using :
sudo iwconfig wlps0 essid "My ASUS"
(my android hotspot has no password) without any result or any sort of output...
PS: The same things work very well using GUI, I can connect to HOME (inserting password) and to "My ASUS" without password, as it should be.