Could not resolve host: github.com

I tried many times and cannot resolve this issue.
SD image: v2.7
Issue:


Version:
image
Internet:

It seems like I cannot access to Google.com:
image

I do not know how to solve this issue, it make me hard to download everything from Github.
Thanks a lot!

Hello,

Iā€™m not sure that your device is properly connected to the internet. Running ping 127.0.0.1 wont show this as that is pinging the local hosts.

Can you share the output of the command ip a?

All the best,
Shane

1 Like

How is your board connected to your network?
Did you try run this in a terminal to check your network connection?

ip a

Cathal

ping 127.0.0.1:
image
ip a:

Thanks

I connect Z2 and my laptop by Ethernet cable.

Thanks

Hi @frankwu1218,

If you ping 127.0.0.1 you are pinging localhost. So, you are pinging the board itself. This should always work.

Your board is connected to the laptop, this not gives internet access to the board automatically. You should create a network bridge on your computer. There are some tutorials on the Internet about this for different OSes.

The easiest solution is to connect the board to your router directly, if you have access to one, or using a WiFi dongle.

Hope this helps.

Mario

Have you resolved this?