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
Welcome to the PYNQ community.
Your post is missing essential information.
How is the board connected to the Internet?
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.
iface eth0 inet dhcp
iface eth0:1 inet static
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 18.104.22.168
PING 22.214.171.124 (126.96.36.199) 56(84) bytes of data.
but no further reply was returned after many minutes.
I meant how the board is physically connected to the Internet. Not the configuration.
Sorry for the late reply.
Sorry, I misunderstood. I thought you meant Internet configuration.
The board is physically connected to the Internet via Ethernet.
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.
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.
I contacted the IT department and they enabled the board, but it is not connecting.
What other possible causes could there be?
Are they able to advise you on how to the setup the network in a Linux system?
No. So I think I will research online and set up the network in a Linux system myself.
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.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.