For PYNQ-Z1 connecting to USB WiFi Dongle, I found the following example. However, does anyone know if it’s a MUST to only use RALink WiFi dongle. Since I browsed many articles, the common point is that all porting of USB WiFi Dongle on PYNQ uses RALink WiFi dongle.
Are there others enabling other types of USB WiFi Dongles on PYNQ successfully?
Also, what’s the difference to directly install the USB WiFi Dongle drivers on Ubuntu 18.04 against the usage of image_v2.4/pynq/notebooks/common/wifi.ipynb ??
Don’t you edit the following file first and then execute “sudo ifdown wlan0” and then “sudo ifup -v wlan0” ? You only plugged in the USB Wifi dongle and then execute the /notebooks/common/wifi.ipynb. Is it that case ?
/etc/network/interfaces
add these part
auto wlan0
iface wlan0 inet dhcp
wpa-ssid xxxxxx
wpa-psk yyyyyy
xilinx@pynq:~$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
xilinx@pynq:~$ ls /etc/network/interfaces.d
eth0 wlan0
That file, wlan0, is written by the wifi notebook. Run the three Python cells in the notebook. It will ask you for SSID and password, then write the wlan0 file, bring up the interface, then test the network connection via that interface.
The 2nd one requires some additional kernel configurations to be added - we will hopefully add that in the next release. This is similar for a couple of other WIFI modules as well.