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?

1 Like

Have you resolved this?

I meet this problem when I connect the ultra96-v2 board through PYNQ remote Lab.

root@pynq:/home/xilinx# git clone --recursive --shallow-submodules https://github.com/Xilinx/DPU-PYNQ
Cloning into 'DPU-PYNQ'...
fatal: unable to access 'https://github.com/Xilinx/DPU-PYNQ/': Could not resolve host: github.com
root@pynq:/home/xilinx# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether c6:8d:e5:85:76:c0 brd ff:ff:ff:ff:ff:ff
3: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/sit 0.0.0.0 brd 0.0.0.0
4: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:e0:4c:36:03:c5 brd ff:ff:ff:ff:ff:ff
    inet 192.168.50.13/24 brd 192.168.50.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet 192.168.2.99/24 brd 192.168.2.255 scope global eth0:1
       valid_lft forever preferred_lft forever
    inet 192.168.50.206/24 brd 192.168.50.255 scope global secondary eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::2e0:4cff:fe36:3c5/64 scope link
       valid_lft forever preferred_lft forever
root@pynq:/home/xilinx#