EasyManua.ls Logo

NXP Semiconductors UM11490 - Start the Access Point

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.2.5 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
Start udhcp server to assign the IP address to the client devices that are connected to
the access point
root@imx8mqevk:~# udhcpd /etc/udhcpd.conf
Command to start the 2.4 GHz Access Point:
root@imx8mqevk:~# hostapd /etc/hostapd-2.4g.conf
Command output example:
Configuration file: /etc/hostapd-2.4g.conf
rfkill: Cannot open RFKILL control device
uap0: interface state UNINITIALIZED->COUNTRY_UPDATE
ACS: Automatic channel selection started, this may take a bit
[ 9618.998539] wlan: SCAN COMPLETED: scanned AP count=1
uap0: interface state COUNTRY_UPDATE->ACS
uap0: ACS-STARTED
[ 9619.479337] wlan: SCAN COMPLETED: scanned AP count=1
[ 9619.959539] wlan: SCAN COMPLETED: scanned AP count=0
[ 9620.439382] wlan: SCAN COMPLETED: scanned AP count=0
[ 9620.919360] wlan: SCAN COMPLETED: scanned AP count=1
uap0: ACS-COMPLETED freq=2412 channel=1[ 9620.933098] wlan: Starting
AP
Using interface uap0 with hwaddr 00:50:43:24:84:c4 and ssid
"NX[ 9620.939164] Get ht_cap from beacon ies: 0xc
P_Demo"
[ 9620.960100] wlan: AP started
[ 9620.964230] Set AC=3, txop=47 cwmin=3, cwmax=7 aifs=1
[ 9620.971787] Set AC=2, txop=94 cwmin=7, cwmax=15 aifs=1
[ 9620.979077] Set AC=0, txop=0 cwmin=15, cwmax=63 aifs=3
[ 9620.986466] 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
9 / 88

Table of Contents

Related product manuals