2023-08-23 03:44 PM
Hi,
I am compiling a yocto custom layer, I am using this layers
poky/meta-poky \
poky/meta-yocto-bsp \
meta-openembedded/meta-oe \
meta-openembedded/meta-python \
meta-st-stm32mp \
custom-image \
I was able to connect the LBEE5KL1DX Murata module to wifi via STA, however, I would like to use switch to the AP mode, I followed the steps in the post https://wiki.stmicroelectronics.cn/stm32mpu/wiki/How_to_configure_a_WLAN_interface_on_hotspot_mode
After that, i am able to see the AP when I look in a smartphone, but after logging with the password configured, I see the message "IP configuration failure " on my smartphone.
One thing I see suspicious is the inet when i run the command "ifconfig"
Another thing i see weird is when i run the "networkctl status wlan0" command, specifically the Network File variable
I also tried executing the bash script from a repository and it didn't work either https://github.com/STMicroelectronics/meta-st-openstlinux/blob/dunfell/recipes-samples/hotspot-wifi/files/st-hotspot-wifi-service.sh
Any help is very appreciated, thank you,
ObedPH
2023-09-05 12:16 AM
Hi @obedPH ,
Could you please explains you full setup by what you call AP ?
eg is it like : Smartphone (hotpost wifi) < wlan > MP15 <eth> PC or something else ?
Please also confirm the ecosystem you are using and provide content of /lib/systemd/network/51-wireless.network and /lib/systemd/network/80-wired.network
Thanks
Olivier
2023-09-05 10:42 AM - edited 2023-09-05 10:43 AM
Hello @Olivier GALLIEN,
Thank you for your response and willingness to assist. I'd like to provide you with more details about my setup and the issue I'm experiencing:
Configuration: I am attempting to connect other devices, such as my smartphone and PC, wirelessly to a Wi-Fi network generated by the STM32MP157F-DK2. My current setup looks like this:
Access Point (AP): I am configuring the STM32MP157F-DK2 to function as an Access Point, allowing other devices to connect to it wirelessly.
Environment: I am using yocto with the 5.15.67 kernel version in my development environment.
Thank you very much, regards
2024-12-19 02:40 AM
Hi,
Were you able to achieve your goal of setting up the STM32MP157F-DK2 as an access point to configure Wi-Fi credentials via a web server? If so, could you share the steps you followed? I'm working on a similar setup and would greatly appreciate your guidance.
My goal is to:
1. Set up the STM32MP157F-DK2 in access point mode.
2. Serve a web page (on a specific port) where users can input SSID and password credentials for another Wi-Fi network with internet access.
3. Use the entered credentials to connect the STM32MP157F-DK2 to the target Wi-Fi network.