AnsweredAssumed Answered

i.mx8m mini evk as a wireless client and WAP

Question asked by Jeff Freeman on Aug 18, 2019
Latest reply on Aug 19, 2019 by Jeff Freeman

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

Outcomes