2024-12-04 02:38 AM
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:
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.
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.
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.
Steps I followed:
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
2024-12-12 07:31 AM
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