Dear,
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.
Hi,
I am using i.mx8m with BSP version 5.4 and AP mode is enabled successfully, but when i try connecting to AP through mobile it says obtaining IP address and the network is getting saved but i am not able to connect AP mode.
Request you to share the configurations of hostapd.conf or suggest any document where i can follow proper flow.
NOTE: Above mentioned Menu Configuration Options from i.mx reference manual are enabled.
Thanks and Regards,
kasturi.
Hi zhanglei2015xx,
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 -B
2) ifconfig wlp1s0 up
3) ifconfig eth0 0.0.0.0
4) ifconfig wlp1s0 0.0.0.0
5) brctl addbr br0
6) brctl addif br0 eth0
7) brctl addif br0 wlp1s0
8) brctl show
9) ifconfig br0 up
10) 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.
Regards,
Kunal
Dear Kunal,
thanks very much for Your reply.
now i can connect with imx8m WIFI ap by Android phone.
but ios Phone could not!
any suggestion?
Thanks & Best Regards!
=================
张磊 Felix Zhang
PMQ Team
世平集团 WPI Group
大联大控股 WPG Holdings
Tel: 86-(0532) 80995180 ext: 68731<tel:8605328099518039868731>
Mob : 86-185-6173-1008<tel:8618561731008>
E-mail: Felix.Zhang@wpi-group.com<mailto:Felix.Zhang@wpi-group.com>
Hi,
I am using i.mx8m and AP mode is enabled successfully, but when i try connecting to AP through mobile it says obtaining ip address and the network is getting saved but i am not able to connect AP mode.
Request you to share the configurations of hostapd.conf or suggest any document where i can follow proper flow.
Thanks and Regards,
kasturi.