Next Previous Contents

5. Starting wpa_supplicant

Now you should be able to start wpa_supplicant and auth to your hotspot.

# wpa_supplicant -dd -D madwifi -i ath0 -c /etc/wpa_supplicant.conf

you should see something like this:

State: GROUP_HANDSHAKE -> COMPLETED 
CTRL-EVENT-CONNECTED - Connection to 00:14:a5:8d:34:94 completed (auth) 
EAPOL: External notification - portValid=1 
EAPOL: External notification - EAP success=1 
EAPOL: SUPP_PAE entering state AUTHENTICATING 
EAPOL: SUPP_BE entering state SUCCESS 
EAP: EAP entering state DISABLED 
EAPOL: SUPP_PAE entering state AUTHENTICATED 
EAPOL: SUPP_BE entering state IDLE

if everything works as expected, replace the -dd by -B to start wpa_supplicant in daemon mode.


Next Previous Contents