cancel
Showing results for 
Search instead for 
Did you mean: 

Issues with WLAN connection setup on STM32MP1 following the official tutorial

AlejoGarciaG
Associate

Dear ST Community,

 

I am experiencing issues while attempting to connect my STM32MP1 to a Wi-Fi network using the steps outlined in the official tutorial: How to setup a WLAN connection.

The specific issues are as follows:

  1. IPv6 connection but no network access: After following all the steps in the tutorial, the wlan0 interface connects successfully, but only obtains an IPv6 address. However, I cannot access the network or perform any connectivity tests.

  2. Manual IPv4 configuration required: To gain access to the network, I have to manually set a static IPv4 address on wlan0, along with the default gateway to the router. Once this is done, I can connect to the internet without issues.

  3. dhclient command not working: I attempted to obtain an IPv4 address automatically using dhclient, but the command is not available on my system. I saw some forum responses with this command but is not recognised in my board. This raises concerns about whether the tutorial might be outdated or if there’s a missing step in my setup.

  4. Steps I followed:

    • I followed the tutorial instructions precisely, setting up wpa_supplicant correctly.
    • The interface detects available networks and connects to the desired SSID.
    • No IPv4 address is obtained, and there is no connectivity until I manually configure the IP.

Could you confirm if the tutorial is still valid for the latest version of OpenSTLinux and the BSP for STM32MP1? Additionally, I would appreciate guidance on enabling or installing a compatible DHCP client if required for automatic IPv4 configuration.

Looking forward to your response and suggestions.

Best regards,

 

Alejo García Galán

 

1 REPLY 1
STea
ST Employee

Hello @AlejoGarciaG ,

Note that dhclient is not available in the OpenSTLinux because system.networkd already embeds a dhcp client. On OSTL, it is recommended to follow the chapter 3 :(Automatic WiFi configuration at start-up) of the same article.
this should be done with 
networkctl which comes with openSTLinux package.
Regards



 

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.