I have recently installed Arch Linux on my laptop. I have setup the Wi-Fi without problem using
wpa_supplicant, however it does not automatically start this on boot, and every time my system boots up, I have to manually run the following commands to reconnect:
sudo ip link set wlp2s0 up sudo wpa_supplicant -B -c /etc/wpa_supplicant.conf -i wlp2s0 sudo dhclient wlp2s0
It gets pretty frustrating having to do this on every boot, so I am asking is there a way to automatically run these commands on boot?
I am using Plasma as the desktop environment, and a regular user account with sudo access (not the root user).
To be clear, the
/etc/wpa_supplicant.conf file is set up perfectly fine, I just need to be able to automatically activate it on bootup, using the commands above.