Targeted Hardware | phyCORE-AM572x System on Module (PCM-057) phyCORE-AM572x Baseboard (PCM-948) WiLink8 module (PCM-949) |
Targeted Software | PD18.1.0 |
Date |
|
Required Hardware
Step-by-step guide
Once at the Linux login prompt, type "root" to login
_____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org am572x-phycore-rdk ttyS2 Arago 2017.06 am572x-phycore-rdk ttyS2 PHYTEC: BSP-Yocto-TISDK-AM57xx-PD18.1.0 am572x-phycore-rdk login: root root@am572x-phycore-rdk:~# |
Open the "wpa_supplicant.conf" file with the following command:
vi /etc/wpa_supplicant.conf |
Near the bottom of the file, comment out the following line:
#concurrent_sched_scan=1 |
At the bottom of the file, add in a network node so it looks similar to the following (using your WiFi network information):
network={ ssid="your network name in quotes" psk="your password in quotes" proto=WPA2 key_mgmt=WPA-PSK } |
Save and exit the wpa_supplicant file
Execute the following command to start wpa_supplicant and connect to your WiFi network
wpa_supplicant -B -Dnl80211,wext -i wlan0 -c /etc/wpa_supplicant.conf |
When the module connects to WiFi you should see the following terminal output:
[ 1271.610097] wlan0: send auth to ac:9e:17:af:73:28 (try 1/3)[ 1271.639322] wlan0: authenticated [ 1271.650623] wlan0: associate with ac:9e:17:af:73:28 (try 1/3) [ 1271.660521] wlan0: RX AssocResp from ac:9e:17:af:73:28 (capab=0x411 status=0 aid=5) [ 1271.677192] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 1271.683609] wlan0: associated [ 1271.755467] wlcore: Association completed. |
Now that you are connected to your WiFi network, ping your favorite local device with the following command to verify it is working properly
ping -I wlan0 -c 5 <IP addr> |