Yocto&Soft AP

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

Yocto&Soft AP

974 Views
li_hong
Contributor III

Hi, Team:

         I try using  soft AP based on yocto. When I run the command of "hostapd -B /etc/hostapd.conf -dd", the hot spot can be found , but my phone can't connect to it。

         I've uploaded a image that show my connection status.

         How to modify the file named “/etc/hostapd.conf” or other ways to solve this problem.

Labels (1)
0 Kudos
4 Replies

825 Views
romitchatterjee
Contributor V

Hello,

Since you can see the hotspot, I guess hostapd is working. Can you share your hostapd.conf file? Are you running udhcpd on your board?

0 Kudos

825 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

Have you tried adding the recipe into the Yocto building?

If no, please make it as following:

IMAGE_INSTALL_append = “ hostapd”

Hope this could help you.

Best regards,

Diego.

0 Kudos

825 Views
li_hong
Contributor III

Hello,

   Thank you for your reply.

   The recipe named hostapd is already in the Yocto building.

Best regard

0 Kudos

824 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

I apologize for the delay.

Remember that the Recipe needs some dependencies, do you have them?

  • initscripts
  • libnl
  • openssl
  • pkgconfig-native
  • update-rc.d

Best regards,

Diego.

0 Kudos