# USB Wifi error No DHCPOFFERS received

**URL:** <https://discuss.pynq.io/t/usb-wifi-error-no-dhcpoffers-received/1590>\
**Category:** Support\
**Created:** [July 30, 2020, 10:50am UTC](https://discuss.pynq.io/t/usb-wifi-error-no-dhcpoffers-received/1590 "2020-07-30T10:50:06Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![aripod](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@aripod](https://discuss.pynq.io/u/aripod)\
**Post date:** [July 30, 2020, 10:50am UTC](https://discuss.pynq.io/t/usb-wifi-error-no-dhcpoffers-received/1590/1 "2020-07-30T10:50:06Z")

</div>

Hello,

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.

```auto
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?  
Thank you

---

_[View the full topic](https://discuss.pynq.io/t/usb-wifi-error-no-dhcpoffers-received/1590)._
