I am really new to Linux so please forgive me for this easy question. I am learning how to connect to Wifi on the terminal, and I have been trying the following
sudo ifconfig wlp7s0 up
sudo iwconfig wlp7s0 essid "ABCD1234" key s:abcd1234
And I get the error
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlp7s0 ; Invalid argument.
Can someone please help? Thanks.