Skip to main content
Graduate II
January 16, 2024
Solved

STM32MP153 wlan hotspot mode (hostapd) install and configuration

  • January 16, 2024
  • 1 reply
  • 3382 views

Hi everybody, 
I'm trying to configure the Wi-Fi module on my custom board (based on the STM32MP153, the Wi-Fi module already tested OK) in Access point mode, and I found the official guide to set hostapd tool to do that:

 

https://wiki.st.com/stm32mpu/wiki/How_to_configure_a_WLAN_interface_on_hotspot_mode 

However, from the tutorial, it seems that hostapd is already installed and preconfigured on the machine, but on my distro (built from st-image-core with openstlinux-5.15-yocto-kirkstone-mp1-v22.07.27) it seems that is not present by default... 
How can I add the tool on Yocto layers? Do I have to modify the kernel too? Should be best to add it on my custom/board-specific meta-layer.  

Thanks for your time

    This topic has been closed for replies.
    Best answer by Eldam

    Hi,

     

    From my side, I've added following line in my custom image file:

    IMAGE_INSTALL_append = " hostapd"

    if you haven't a custom image file, it seems we can do it by adding line in "local.conf" file

    Hopes this help

     

     

     

    1 reply

    EldamAnswer
    Visitor II
    January 16, 2024

    Hi,

     

    From my side, I've added following line in my custom image file:

    IMAGE_INSTALL_append = " hostapd"

    if you haven't a custom image file, it seems we can do it by adding line in "local.conf" file

    Hopes this help

     

     

     

    SScar.2Author
    Graduate II
    January 16, 2024

    Hi Eldam, 

    thanks for the reply! That's exactly what I was looking for, I'll try to include that instruction in my custom image.

    I'll set the answer as the solution while I don't find any other problems. 

    Thanks