I’m clearly missing something basic, but I’m trying to set up a WiFi dongle so that my PYNQ-Z2 board can connect to my local network. I don’t have an ethernet port on my computer, nor am I able to physically connect the PYNQ board to the router/modem at my location.
So I need a way to configure the WiFi dongle (connect it to the local network), but I cannot do so with the jupyter notebook (e.g as recommended here) because I cannot connect to the PYNQ board in the first place.
I thought that I might be able to run the configuration via a USB-based terminal session. I can connect from my laptop (mac) to the PYNQ board via USB, but get an error in python.
$ screen /dev/tty.usbserial-1234_tul1 115200
xilinx@pynq:~$ python
Python 2.7.15rc1 (default, Apr 15 2018, 21:51:34)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pynq.lib import Wifi
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pynq/__init__.py", line 31, in <module>
from .uio import UioController
File "pynq/uio.py", line 31, in <module>
import asyncio
ImportError: No module named asyncio
Is it possible to configure the WiFi dongle without already having the PYNQ-Z2 board on the network?