i.mx8m mini evk as a wireless client and WAP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.mx8m mini evk as a wireless client and WAP

1,177 Views
jefflfree
Contributor III

I would like to be able to have i.mx8m mini evk access wifi router and act as hotspot using hostapd simultaneously.

I am using ubuntu-18.04.2.

Here are the steps I took:

  1. Followed https://community.nxp.com/message/1125263 to enable wifi
  2. Followed these steps to setup WAP
    1. Installed hostapd
    2. Update /etc/hostapd.conf with the following:

auth_algs=1

channel=6

hw_mode=g

ieee80211n=1

ignore_broadcast_ssid=0

interface=wlan0

wpa=2

wpa_key_mgmt=WPA-PSK

wpa_pairwise=TKIP

rsn_pairwise=CCMP

driver=nl80211

ssid=<name>

wpa_passphrase=<passphrase>

I then tested WAP by doing "sudo /usr/sbin/hostapd /etc/hostapd.conf &”

Each of these work individually but not together (obviously). I believe I need to use dnsmasq and iptables to masquerade virtual interface, but this is quickly getting over my head. Can someone assist?

Jeff

Labels (1)
0 Kudos
5 Replies

1,054 Views
igorpadykov
NXP Employee
NXP Employee

Hi Jeff

one try with latest murata linux wifi documentation (sect.7.1.8 Soft AP or Wi-Fi Hot Spot Testing)

from wireless.murata.com/products/rf-modules-1/wi-fi-bluetooth-for-nxp-i-mx.html

Murata Quick Start Guide (Linux) 6.0

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,054 Views
jefflfree
Contributor III

Thank you for the link.

Referencing the command from the documentation you sent: udhcpd -S -I 192.168.1.1 /etc/udhcpd.conf

there is no /etc/udhcpd.conf on my system.

Also, there does not seem to be a -I option for udhcpd.

Any advice?

0 Kudos

1,054 Views
igorpadykov
NXP Employee
NXP Employee

for additional help may be recommended to apply to tech support of vendor of that wifi module

wireless.murata.com/products/rf-modules-1/wi-fi-bluetooth-for-nxp-i-mx.html

https://wireless.murata.com/contact.html 

Best regards
igor

0 Kudos

1,054 Views
jefflfree
Contributor III

Thx Igor. How did you know what vendor supplies the wifi?

0 Kudos

1,054 Views
jefflfree
Contributor III

Oops. Nevermind. I see it in the spreadsheet of the BOM for the schematic. Thx for the advice!

Jeff

0 Kudos