2020-03-17 01:05 AM
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
2020-03-17 02:58 AM
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
2020-03-17 04:19 AM
Hi @Community member ,
Board $> dhclient wlan0
then in the next step (following step) it doesn't display ip address.
Board $>ip addr show wlan0
ifconfig
still it doesn't display ip address it means it is not connected to internet.
Please feel free to correct me!
Thanks,
Saurabh
2020-03-17 06:06 AM
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
2020-03-17 06:15 AM
Hi,
Following is the result of $> networkctl -a --no-pager:
The output of $> systemctl status wpa_supplicant@wlan0.service is as follow:
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