EasyManua.ls Logo

NXP Semiconductors UM11490 - Page 15

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
Start the Access Point
Run the following command to 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-wpa2.conf
Command output example:
Configuration file: /etc/hostapd-wpa2.conf
rfkill: Cannot open RFKILL control device
uap0: interface state UNINITIALIZED->COUNTRY_UPDATE
ACS: Automatic channel selection started, this may take a bit
[20039.122775] wlan: SCAN COMPLETED: scanned AP count=0
uap0: interface state COUNTRY_UPDATE->ACS
uap0: ACS-STARTED
[20039.603743] wlan: SCAN COMPLETED: scanned AP count=0
[20040.087711] wlan: SCAN COMPLETED: scanned AP count=0
[20040.571527] wlan: SCAN COMPLETED: scanned AP count=0
[20041.051179] 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[20041.091736] wlan: Starting AP
lable
random: Only 0/20 bytes of strong random data available
r[20041.100179] 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 - update
keys later when the first station connects
[20041.120927] wlan: AP started
[20041.130905] Set AC=3, txop=47 cwmin=3, cwmax=7 aifs=1
[20041.138053] Set AC=2, txop=94 cwmin=7, cwmax=15 aifs=1
[20041.145411] Set AC=0, txop=0 cwmin=15, cwmax=63 aifs=3
[20041.152528] 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
15 / 88

Table of Contents

Related product manuals