Cannot install from GitHub

Hello

I set static ip address and gateway and tried to install repo form GitHub using pip command. However, an error occurs as shown in the picture.
I researched this error online and found that it was caused by a network problem, so I set up a DNS configuration. However, when I try to create a netplan and restart the network service, I get an error ‘Unit network.service could not be found’ and I cannot configure it.
I don’t know what to do any more, can someone please tell me how to solve the pip error shown in the picture?

Board: RFSoC 4×2

1 Like

Hi @b034vdv,

Welcome to the PYNQ community.

Your post is missing essential information.
How is the board connected to the Internet?

Best,
Mario

Hello, @marioruiz

Thank your for your response.

Sorry, I forgot to mention how to connect the Internet.

First, I changed the following address and netmask to static IP and netmask provided by professor.

auto eth0
iface eth0 inet dhcp
auto eth0:1
iface eth0:1 inet static
address 192.168.2.99
netmask 255.255.255.0

Next, I set up gateway referring to https://www.cyberciti.biz/faq/linux-setup-default-gateway-with-route-command/.

Also, after connecting the Internet, I tried to ping Google.com.
As a result, I got

root@pynq:/# ping 172.217.175.110
PING 172.217.175.110 (172.217.175.110) 56(84) bytes of data.

but no further reply was returned after many minutes.

Thank you.

1 Like

Hi @b034vdv,

I meant how the board is physically connected to the Internet. Not the configuration.

Mario

Hello, @marioruiz

Sorry for the late reply.

Sorry, I misunderstood. I thought you meant Internet configuration.

The board is physically connected to the Internet via Ethernet.

Thank you.

There could be several reasons why this does not work.

Do you manage the network where the board is connected to? If not, perhaps you need to request IT support to enable a new device.

Hi @marioruiz

I see, there are several reasons.

No, I use the university sever and do not manage the Internet where the board is connected to.
So, I will contact the university’s IT department. I will let you know when I get a response. It may take a little time.

Hi @marioruiz

I contacted the IT department and they enabled the board, but it is not connecting.
What other possible causes could there be?

Thank you.

Are they able to advise you on how to the setup the network in a Linux system?

Hi @marioruiz

No. So I think I will research online and set up the network in a Linux system myself.

Hi @marioruiz

After two weeks of trial and error, I was able to configure network services by creating 99-netcfg.ymal in /etc/netplan. However, the board is not connected to the internet and I cannot install any applications using the pip command. Do I need to do any other special configuration?

The board was connected to the Internet by creating 99-netcfg.yaml and editing /etc/systemd/timesyncd.conf. I edited the /etc/systemd/timesyncd.conf so that the time on the board is corrected when connecting to the Internet.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.