cancel
Showing results for 
Search instead for 
Did you mean: 

How to connect STM32MP1-dk2 to wifi?

SChau.2062
Associate III

Hello,

Sorry for the easy question but I am facing an issue while connecting STM32MP1 to wifi. I have followed steps 1 to 3 (reference link). At the end of step 3, I can connect my STM32MP1 device from remote machine using the following command:

ssh root@10.0.0.88

However, when I execute the following command:

ping google.com or ping -c 6 google.com

It returns the following output:

ping: google.com: Temporary failure in name resolution

Something is wrong with the wifi setup (or not established properly). Could you please guide me how can I resolve this?

Thanking you,

Saurabh

4 REPLIES 4
Olivier GALLIEN
ST Employee

Hi @SChau.2062​ 

First I rather recommend to use the second solution with systemd which is more robust and allow automatic connection after reboot.

On my side I usually have similar error when I miss the step :Board $> dhclient wlan0

Can it be your case ?

Hope it help,

Olivier

Olivier GALLIEN
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.
SChau.2062
Associate III

Hi @Community member​ ,

  • With the reference to the first solution, when I type
Board $> dhclient wlan0 

then in the next step (following step) it doesn't display ip address.

Board $>ip addr show wlan0

  • I tried the second solution with systemd (from here). In this case, I followed sections 1, 2 and 4. After that, I restarted STM32MP1DK2 device. When I type
ifconfig

still it doesn't display ip address it means it is not connected to internet.

Please feel free to correct me!

Thanks,

Saurabh

Olivier GALLIEN
ST Employee

Hi @SChau.2062​ 

I have no more clue.

Could you please share results of :

$> networkctl -a --no-pager

and

  $> systemctl status wpa_supplicant@wlan0.service

Thanks,

Olivier

Olivier GALLIEN
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.
SChau.2062
Associate III

Hi,

Following is the result of $> networkctl -a --no-pager:

0693W000000U6e2QAC.jpg

The output of  $> systemctl status wpa_supplicant@wlan0.service is as follow:

0693W000000U6elQAC.jpg

FYI: I am going to connect STM32MP1 to my machine (wifi enabled) using Ethernet so that STM32MP1 will get internet connectivity through Ethernet.

Thank you,

Saurabh