Connecting to wifi on linux
What I have to do:
wpa_passphrase NameOfNetwork NetworkKey >> /etc/wpa_supplicant/wpa_supplicant-wlp4s0.conf
The network card name might be different.
Then reboot aaaand done :)
This is on void linux, so it might not be the same for you.