EasyManua.ls Logo

NXP Semiconductors UM11490 - Get Wpa_Supplicant Version; Use Wpa_Supplicant to Connect with the AP

NXP Semiconductors UM11490
88 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
NXP Semiconductors
UM11490
Feature Configuration Guide for NXP-based Wireless Modules on i.MX 8M Quad EVK
2.3.2 Get wpa_supplicant version
Command to get wpa_supplicant version
root@imx8mqevk:~# wpa_supplicant -v
Command output example:
wpa_supplicant v2.9
Copyright (c) 2003-2019, Jouni Malinen <j@w1.fi> and contributors
2.3.3 Use wpa_supplicant to connect with the AP
Connect the device with the Access Point:
root@imx8mqevk:~# killall wpa_supplicant
root@imx8mqevk:~# killall hostapd
root@imx8mqevk:~# wpa_supplicant -i mlan0 -Dnl80211 –c /etc/
wpa_supplicant.conf
Command output example:
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL contro[25602.796098] IPv6:
ADDRCONF(NETDEV_UP): mlan0: link is not ready
[25602.922052] wlan: mlan0 START SCAN
[25607.566402] wlan: SCAN COMPLETED: scanned AP count=18
mlan0: Trying to associate with 1a:2d:8c:55:73:56 (SSID='NXP_Demo'
freq=2427 MHz)
[25607.598754] wlan: Connected to bssid 1a:XX:XX:XX:73:56
successfully
mlan0: Associated with 1a:2d:8c:5[25607.606587] IPv6:
ADDRCONF(NETDEV_CHANGE): mlan0: link becomes ready
5:73:56
mlan0: CTRL-EVENT-CONNECTED - Connection to 1a:2d:8c:55:73:56
completed [id=0 id_str=]
UM11490 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 2 — 29 January 2021
11 / 88

Table of Contents

Related product manuals