In this notebook, a wifi dongle has been plugged into the board. Specifically a RALink wifi dongle commonly used with Raspberry Pi kits is connected into the board. Using Linux calls and Python functions, we will determine the unique name of the dongle and then create a network entry for a known ssid/password pair. This demo was first done using an iPhone hotspot wireless connection.
References
http://www.canakit.com/raspberry-pi-wifi.html
In [5]:
# Make sure the base overlay is loaded
from pynq import Overlay
from pynq.drivers import Usb_Wifi
Overlay("base.bit").download()
port = Usb_Wifi()
In [ ]:
port.connect('ssid', 'pwd')
In [7]:
! ping www.xilinx.com
In [8]:
port.reset()
In [ ]: