NXP Semiconductors
UM11490
Feature Configuration Guide for NXP-based Wireless Modules on i.MX 8M Quad EVK
Start the Access Point
root@imx8mqevk:~# killall wpa_supplicant
root@imx8mqevk:~# killall hostapd
root@imx8mqevk:~# ifconfig uap0 192.168.1.2 netmask 255.255.255.0 up
root@imx8mqevk:~# route add default gw 192.168.1.1
root@imx8mqevk:~# hostapd /etc/hostapd-wpa.conf
Command output example:
Configuration file: /etc/hostapd-wpa.conf
rfkill: Cannot open RFKILL control device
uap0: interface state UNINITIALIZED->COUNTRY_UPDATE
ACS: Automatic channel selection started, this may take a bit
[19645.656230] wlan: SCAN COMPLETED: scanned AP count=1
uap0: interface state COUNTRY_UPDATE->ACS
uap0: ACS-STARTED
[19646.137152] wlan: SCAN COMPLETED: scanned AP count=0
[19646.617233] wlan: SCAN COMPLETED: scanned AP count=0
[19647.097138] wlan: SCAN COMPLETED: scanned AP count=1
[19647.577100] wlan: SCAN COMPLETED: scanned AP count=0
uap0: ACS-COMPLETED freq=2412 channel=1
Using interface uap0 with hwaddr 00:50:43:24:84:c4 and ssid
"NXP_Demo"
random: Cannot read from /dev/random: Resource temporarily
unavai[19647.619978] wlan: Starting AP
lable
random: Only 0/20 bytes of strong random data available
r[19647.628422] Get ht_cap from beacon ies: 0xc
andom: Not enough entropy pool available for secure operations
WPA: Not enough entropy in random pool for secure operations -
up[19647.647054] wlan: AP started
date keys later when the first station connects
[19647.654865] Set AC=3, txop=47 cwmin=3, cwmax=7 aifs=1
[19647.663319] Set AC=2, txop=94 cwmin=7, cwmax=15 aifs=1
[19647.670708] Set AC=0, txop=0 cwmin=15, cwmax=63 aifs=3
[19647.678105] Set AC=1, txop=0 cwmin=15, cwmax=1023 aifs=7
uap0: interface state ACS->ENABLED
uap0: AP-ENABLED
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
13 / 88