I am using RFSoC 4x2 with PYNQ 3.0.1.
In some of the git repository, it is required to run pip3 to install something with accessing git inside PYNQ, just like:
pip3 install git+https://github.com/…
(Here I am using GitHub - strath-sdr/rfsoc_sam: RFSoC Spectrum Analyser Module on PYNQ. )
To do so, PYNQ has to be able to access internet via the connected host PC.
But I cannot find any instruction about enabling it.
Could anyone please let me know how to do it?
Thank you in advance.
I tested both the cases. Here let me share a bit more details of my setting:
RFSoC directly to PC, where PC has two NIC:
PC NIC1 → router → internet
PC NIC2 → RFSoC (192.168.2.99)
where NIC2 is set with IPv4 192.168.2.1 and netmask 255.255.255.0
PC, RFSoC, and internet are connected to the same router:
PC NIC1 → router
RFSoC → router
Internet → router
where PC NIC1 has two IP setups. First one for internet, and the second one is set to be 192.168.2.1 (to be the same subnet as RFSoC).
Another problem might be due to that internet of our institute recognize mac address of devices. I am thinking to use laptop (with wifi) to connect to RFSoC for this installation purpose.
If you’re trying to connect your RFSoC board directly to the internet via Ethernet, keep in mind that many networks (like universities or home routers) won’t automatically grant access to unknown devices without admin-level permissions.
What worked for me on Windows was connecting the Ethernet cable from the board to my PC, then sharing my Wi-Fi internet with the Ethernet port through the Sharing tab in the network settings. After doing that, the board was able to access the internet.
To test if the board is online, I opened the terminal on the board and used the command ping -c 4 8.8.8.8.
Also, to access JupyterLab, make sure your PC’s IP is correctly set to match the board’s subnet.