WE866C3 Wi-Fi Network Interface Card (NIC) User Guide
1VV0301545 Rev 1.0
Page
20
of
37
2018-07-09
ssid="MY_AP_OPEN"
scan_ssid=1
key_mgmt=NONE
}
b. AES security (for example sta_aes_con.conf file)
ctrl_interface=/run/wpa_supplicant
update_config=1
network={
ssid="MY_AP_AES"
scan_ssid=1
key_mgmt=WPA-PSK
psk="TelitDemo123"
proto=RSN
pairwise=CCMP
group=CCMP
}
4. Terminate wpa_supplicant (if its running)
sudo killall wpa_supplicant
sudo rfkill unblock wifi
5. Start wpa_supplicant and initiate connection (use the required conf file)
For example:
wpa_supplicant -B -i wlan0 nl80211 -c sta_open_con.conf
wpa_supplicant -B -i wlan0 nl80211 -c sta_aes_con.conf
6. Get IP address by running dhclient
dhclient wlan0
7. To check the IP address and status:
ifconfig wlan0
8. If needed disable power save feature
sudo iw dev wlan0 set power_save off
sudo iw dev wlan0 get power_save
9. If required start wpa_cli application
wpa_cli -i wlan0
10. Test data transfer using ping
ping <AP IP address>