I have a D-Link N300 (Realtek RTL8196E) that I connect to a pynq-z1. I tried with images 2.4 and 2.5. The wifi dongle is recognized as I can see it with
lsusb, however, when I want to connect to my network, I always get the following.
xilinx@pynq:~/pynq$ sudo python3 Python 3.6.5 (default, Apr 1 2018, 05:46:30) [GCC 7.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from lib import Wifi >>> port = Wifi() >>> port.connect('MYSSID','PASSWORD') ifdown: interface wlan0 not configured Internet Systems Consortium DHCP Client 4.3.5 Copyright 2004-2016 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/wlan0/80:26:89:73:28:ea Sending on LPF/wlan0/80:26:89:73:28:ea Sending on Socket/fallback DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3 (xid=0x3605b91b) DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4 (xid=0x3605b91b) DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4 (xid=0x3605b91b) No DHCPOFFERS received. No working leases in persistent database - sleeping.
I tried even on different networks, with a router and using two mobile phones as hotspots. The problem remains.
I even read that I should use a Logilink WL0084E (Realtek RTL8188EUS) but that is not even recognized when plugged.
Anyone knows what could be the problem?