Microchip Technology ATWILC1000 User Manual page 17

Wi-fi link controller linux
Table of Contents

Advertisement

Use the following commands to scan and connect to the AP.
# wpa_cli -p/var/run/wpa_supplicant ap_scan 1
# wpa_cli -p/var/run/wpa_supplicant add_network
# wpa_cli -p/var/run/wpa_supplicant set_network 0 ssid '"User_AP"'
# wpa_cli -p/var/run/wpa_supplicant set_network 0 key_mgmt NONE
# wpa_cli -p/var/run/wpa_supplicant select_network 0
Note:  Change the User_AP with the Service Set Identifier (SSID) of the desired AP.
3.2.
To connect to the WPA secured Access Point:
Use the following commands to scan and connect to a WPA or WPA2 and Temporal Key
Integrity Protocol (TKIP) or Advanced Encryption Standard (AES) protected AP.
# wpa_cli -p/var/run/wpa_supplicant ap_scan 1
# wpa_cli -p/var/run/wpa_supplicant add_network
# wpa_cli -p/var/run/wpa_supplicant set_network 0 ssid '"User_AP"'
# wpa_cli -p/var/run/wpa_supplicant set_network 0 key_mgmt WPA-PSK
# wpa_cli -p/var/run/wpa_supplicant set_network 0 psk '"12345678"'
# wpa_cli -p/var/run/wpa_supplicant select_network 0
Note:  Change the User_AP and 12345678 with the SSID and password of desired AP.
3.3.
To connect to the WEP secured Access Point:
Use the following commands to scan and connect to a WEP shared key protected AP.
#wpa_cli –p/var/run/wpa_supplicant ap_scan 1
#wpa_cli –p/var/run/wpa_supplicant add_network
#wpa_cli –p/var/run/wpa_supplicant set_network 0 ssid '"User_AP"'
#wpa_cli –p/var/run/wpa_supplicant set_network 0 key_mgmt NONE
#wpa_cli -iwlan0 -p/var/run/wpa_supplicant set_network 0 wep_key0 1234567890
#wpa_cli –p/var/run/wpa_supplicant set_network 0 wep_tx_keyidx 0
#wpa_cli –p/var/run/wpa_supplicant set_network 0 auth_alg SHARED
#wpa_cli –p/var/run/wpa_supplicant select_network 0
Note:  Change the User_AP and 12345 with the Service Set Identifier (SSID) and ASCII
(or Hex) of desired AP.
3.4.
Connect to the WPS secured Access Point Trigger WPS Push-Button mode, using the
following command:
wpa_cli wps_pbc
(or) to connect using PIN method, use the following command:
sudo wpa_cli wps_pin any <the pin>
4.
Run the DHCP service.
If the IP address can be allocated from the AP automatically, start the DHCP client, using the
following command:
#dhcpcd wlan0 &
Note:  If the AP does not support the DHCP service, manually set the static IP address value using
the ifconfig wlan0 xxx,xxx.xxx.xxx command.
5.
Check and validate the connection status, using the following commands:
# wpa_cli status
bssid=88:9b:39:f3:d0:4d
ssid=User_AP
id=0
mode=station
pairwise_cipher=NONE
group_cipher=NONE
key_mgmt=NONE
©
2018 Microchip Technology Inc.
ATWILC1000/ATWILC3000
User Guide
Running ATWILC
DS70005328B-page 17

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ATWILC1000 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Atwilc3000

Table of Contents