johnb
You can copy wpa_supllicant from example folder at located /usr/share/examples/​wpa_supplicant/wpa_supplicant.conf copy it to /etc/
Also set up /etc/rc.conf as per your wifi device
wpa_supplicant=YES
wpa_supplicant_flags="-B -D bsd -i iwn0 -c /etc/wpa_supplicant.conf"
dhcpcd=YES
dhcpcd_flags="-qM iwn0 -b"