Wi-Fi Protected Access client and IEEE 802.1X supplicant

wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -dOnce the configuration is ready, you can test whether the configuration works by running wpa_supplicant with following command to start it on foreground with debugging enabled:

wpa_supplicant
-c wpa1.conf -i wlan0 -D hostap -N
-c wpa2.conf -i ath0 -D madwifiwpa_supplicant can control multiple interfaces (radios) either by running one process for each interface separately or by running just one process and list of options at command line. Each interface is separated with -N argument. As an example, following command would start wpa_supplicant for two interfaces:

wpa_supplicant -Bw -iath1 -Dmadwifi -c/etc/wpa_supplicant/wpa_supplicant.confRun wpa_supplicant in background, -w will wait for interface to be added, if needed, using interface ath1 and madwifi driver.