EMB-2510 User's Manual
2, When the AP to connect uses WPA encryption
a,Create and edit files /etc/wpa_supplicant.conf,such as:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
update_config=1
ap_scan=1
network={
ssid="xuechuance"
psk="123456789"
}
Save and exit
b,Perform the following command connection:
wpa_supplicant -D nl80211 -i wlan0 -c /etc/wpa_supplicant.conf -B
-D Driver; -i network card; -c configuration file
If the printout of CTRL-EVENT-CONNECTED appears, it proves that the configuration
is correct.;
If the pre-shared key maybe incorrect appears,and it keeps appearing, indicating that
the password may be wrong;
If there is no output for a period of time after CTRL-EVENT-CONNECTED,it proves
that the connection is stable.