ZCU208 problem with Wifi

I’m using a Pynq 3.0.1 image on a ZCU208, and I’m trying to connect it to Wifi, so I can install some modules to help debug a clock problem (a topic for a different post).

I got an Edimax EW-7811Un V2 USB dongle, since that is listed as being supported (I also have another one which has the same issue). When running python under sudo, I initially had trouble importing Wifi from pynq.lib, (it was not finding pydantic) but adding “/usr/local/share/pynq-venv/lib/python3.10/site-packages” to the sys.path fixed that.

Now when I run:

port = Wifi()

I get:

Traceback (most recent call last):
File “”, line 1, in
File “/home/xilinx/pynq/lib/wifi.py”, line 85, in init
raise ValueError("No WiFi device found. Re-attach the device "
ValueError: No WiFi device found. Re-attach the device or check compatibility.

When I run lsusb -t I get:

/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M

I’m at a loss. Any ideas?

Hi @AlexS,

Welcome to the PYNQ community.

Did you verify if the WiFi driver is working properly and an interface is created?

Connect to the board via serial and run:

sudo ifconfig -a

Mario

Here’s that output:

dummy0: flags=130<BROADCAST,NOARP> mtu 1500
ether 7a:45:33:d4:2e:36 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::e84e:7eff:fec9:fb73 prefixlen 64 scopeid 0x20
ether ea:4e:7e:c9:fb:73 txqueuelen 1000 (Ethernet)
RX packets 41344 bytes 29593979 (29.5 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 42821 bytes 9764036 (9.7 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 37

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 ea:4e:7e:c9:fb:73 txqueuelen 1000 (Ethernet)
device interrupt 37

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 310656 bytes 22057582 (22.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 310656 bytes 22057582 (22.0 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

sit0: flags=128 mtu 1480
sit txqueuelen 1000 (IPv6-in-IPv4)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

I don’t know how to read this, but it doesn’t like great to me. Do you know where the drivers are supposed to be for this?

I thought about reinstalling/installing? the drivers and downloaded them from the manufacturer, but there’s no README or any hint as to how to install (and sudo make fails).

The interface is not there. So, it is unlikely that the driver is working properly.

Is the use of a WiFi dongle needed?

I’m looking at workarounds, but a WiFi dongle is definitely the best way. Do you know of any WiFi dongle that has been demonstrated to work on the ZCU208?

No, I am not aware of any dongle that has been proven to work with this board.

Hi, I know this isn’t the answer you are looking for. But how about getting a mini wifi router, something from gl.inet, the Opal for example? And then run the ethernet from the ZCU208 to the mini router that is connected to your WiFi AP? That will also provide addtional networking features and much better reception.

Kind regards