Computer can not see ethernet connection with board PYNQ-Z2

Hi
I am completely new with PYNQ so I probably don’t know even the most obvious things.
I am trying to connect my PYNQ-Z2 board with jupyter notebook but my computer don’t see any ethernet connection. I follow this tutorial:
https://pynq.readthedocs.io/en/v2.3/getting_started/pynq_z2_setup.html

Jumpers are setted as in tutorial, I checked ethernet cable and also tried with other computer, diodes on board are lighting correct as in tutorial video. I bought full kit of PYNQ-Z2, so I got also microSD card with uploaded Image I tried with this one but also tried to use other microSD card with image wrote by myself (using program Win32DiskImager).

Board is powered via USB from computer (and computer can see it), I can not try to connect board via ethernet to router because I have no access to router.

I tried computer with windows 11 and computer with windows 10.

Maybe I need any additional software?

1 Like

Hi there,

Have you tried connecting to your board via USB serial?
From the serial terminal can you type ip a to see if your device has an ip address.

All the best,
Shane

1 Like

@stf
Thank you for your advice, I did what you said I think that device has an IP address but I don’t know what should I do next?

image

1 Like

Great, thanks.

Just to confirm, you’ve tried visiting both http://192.168.2.99:9090 and http://192.168.2.99:9090/lab on your machine and can’t see anything?

From the usb serial terminal can you try typing jupyter lab list? (might need to switch to root user)

All the best,
Shane

1 Like

try reboot again.
Then first enter the folder via Windows explorer \192.168.2.99
If you can logon to the folder area
Goto chrome and see if this is still normal to enter Juptyer.

I encounter this so many times.
I have no idea why old image from other revision is much stable than the new 2.7

Yes I visited both and can’t see anything

after typing “jupyter lab list” I got this answer:

It looks like there is no jupyter on the board at all, should I install it somehow?

Hi sadly I can not acces \192.168.2.99 via Windows explorer

May be the text is not showing right should be “\\192.168.2.99”

Can you try this?

xilinx@pynq:~$ systemctl status jupyter.service
● jupyter.service - Jupyter Notebook Server
Loaded: loaded (/lib/systemd/system/jupyter.service; enabled; vendor prese>
Active: active (running) since Tue 2022-05-10 11:25:08 UTC; 12min ago
Process: 259 ExecStart=/usr/local/bin/start_jupyter.sh (code=exited, status>
Tasks: 2 (limit: 2095)
Memory: 102.8M
CGroup: /system.slice/jupyter.service
├─400 /usr/local/share/pynq-venv/bin/python3 /usr/local/share/pynq>
└─648 python3 /usr/local/bin/redirect_server

May 10 11:23:33 pynq start_jupyter.sh[259]: Waiting for Jupyter
May 10 11:23:34 pynq start_jupyter.sh[259]: Waiting for Jupyter
May 10 11:23:35 pynq start_jupyter.sh[259]: Waiting for Jupyter
May 10 11:23:36 pynq start_jupyter.sh[259]: Waiting for Jupyter
May 10 11:23:37 pynq start_jupyter.sh[259]: Waiting for Jupyter
May 10 11:23:39 pynq start_jupyter.sh[259]: Waiting for Jupyter
May 10 11:23:40 pynq start_jupyter.sh[259]: Waiting for Jupyter
May 10 11:23:41 pynq start_jupyter.sh[259]: Waiting for Jupyter
May 10 11:25:08 pynq start_jupyter.sh[259]: Starting redirect server
May 10 11:25:08 pynq systemd[1]: Started Jupyter Notebook Server.

but I tried to do something like this:

image

maybe it is more helpful

yes I did that

this my output:

I am not sure what does it mean

As far as I can see It looks like Jupyter is running okay.

Have you followed the steps here? Assign a static IP address — Python productivity for Zynq (Pynq)

Can you confirm how you have connected your board?

If you used an an Ethernet cable and connected it directly to an Ethernet port on your computer;
Did you configure the Ethernet adapter on your computer?
i.e. set the IP address of your computer to 192.168.2.1 Assign a static IP address — Python productivity for Zynq (Pynq)

If you did this, on your Windows computer can you open a cmd prompt and run ipconfig /all and post the output?

If you can see the IP address of your windows computer from your pynq board, can you ping this IP address?
From your Windows computer can you ping the IP address of your board? (192.168.2.99)

Cathal

2 Likes

Yes I did

Actually if your board is not in a same sub-net of the board it will auto generate an additional sub-net as such:
xilinx@pynq:~$ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.165 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::3038:39ff:fe30:f24a prefixlen 64 scopeid 0x20
ether 32:38:39:30:f2:4a txqueuelen 1000 (Ethernet)
RX packets 5326 bytes 1106667 (1.1 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 688 bytes 84117 (84.1 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 26 base 0xb000

eth0:1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.2.99 netmask 255.255.255.0 broadcast 192.168.2.255
ether 32:38:39:30:f2:4a txqueuelen 1000 (Ethernet)
device interrupt 26 base 0xb000

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 175 bytes 22437 (22.4 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 175 bytes 22437 (22.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

So you do tried the ping of 192.168.2.99 and ping return are OK?
If so this is puzzle that explorer cannot connect to the address

Yes I connected it directly to an Ethernet port on my computer and set up static IP

ipconfig /all output:


here is a thing computer don’t see ethernet connection at all, I would think that it is computer’s fault but I also tried with other computer

I can not ping computer from board and can not ping board from computer

@cathalmccabe

Sorry my mistake I can ping board from computer but can not ping computer from board

image

You haven’t provided the full output from ipconfig /all output.

You haven’t shown the board pinging the computer.

Can you share this?

Cathal

try 1 more thing is that at Windows CMD with admin
arp -a
arp -s board ip board MAC

I am not sure this is the case worth to try as it is very simple