It seems that i.mx8m wifi ap mode was enabled successfully, but when i use my phone to connect to AP , error occur, see below. Could you please give some suggestion? many thanks.
what bsp version do you use?4.9.88 or 4.14.98? maybe you can refer to the chapter 4.13.5 Menu Configuration Options and chapter 4.13.7 Configuring WLAN from User Space of enclosed file
Hi felix zhang,
You need to bridge the interface which is having an IP with the wifi module. I have verified this in i.MX8MQ EVK with the below commands:
1) hostapd -i wlp1s0 /etc/hostapd.conf -B2) ifconfig wlp1s0 up3) ifconfig eth0 0.0.0.04) ifconfig wlp1s0 0.0.0.05) brctl addbr br06) brctl addif br0 eth07) brctl addif br0 wlp1s08) brctl show9) ifconfig br0 up10) udhcpc -i br0
Once you run above commands your ethernet and wifi module will be bridged. Then you can turn on the wi-fi in your smartphone and connect it with the i.MX8MQ wifi. I have verified this in L4.9.88-2.0.0_ga.xml kernel.
thanks very much for Your reply.
now i can connect with imx8m WIFI ap by Android phone.
but ios Phone could not!
Thanks & Best Regards!
张磊 Felix Zhang
世平集团 WPI Group
大联大控股 WPG Holdings
Tel: 86-(0532) 80995180 ext: 68731<tel:8605328099518039868731>
Mob : 86-185-6173-1008<tel:8618561731008>
Retrieving data ...