Setup WiFi in Arch Linux

Log in as root and perform the following tasks:

nano /etc/wpa_supplicant/wpa_supplicant-wlp2so.conf

Add these lines:

ctrl_interface=/run/wpa_supplicant
update_config=1

Save, exit then enter the command:

wpa_passphrase dd-wrt password >> /etc/wpa_supplicant/wpa_supplicant-wlp2s0.conf
nano /etc/wpa_supplicant/wpa_supplicant-wlp2so.conf

Alter the file replacing "MySSID" and "password" with your actual WiFi SSID and password. BigLongLineOfMeaningLessText will already exist in the file and is a long line of hexadecimal values, presumably a hash of "password".

ctrl_interface=/run/wpa_supplicant
update_config=1

network={
ssid="MySSID"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
#psk="password"
psk=BigLongLineOfMeaningLessText
}

Save, exit then enter the command:

systemctl wpa_supplicant@wlp2s0.service
000webhost logo