Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Apr 2016 14:25:57 +0300
From:      "Andriy Voskoboinyk" <s3erios@gmail.com>
To:        freebsd-wireless@freebsd.org, "Dave Cottlehuber" <dch@skunkwerks.at>
Subject:   Re: "no buffer space available" EDIMAX EW-7811UN Wireless USB Adapter
Message-ID:  <op.yfpbdjcfiew4ia@localhost>
In-Reply-To: <1460286122.3298383.574172017.3A717528@webmail.messagingengine.com>
References:  <1460286122.3298383.574172017.3A717528@webmail.messagingengine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sun, 10 Apr 2016 14:02:02 +0300 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0=
=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Dave Cottlehuber  =

<dch@skunkwerks.at>:

> Hi,
>
> I got an EDIMAX EW-7811UN Wireless USB Adapter [1]
> (150 Mbit/s, IEEE802.11b/g/n) to use on a few systems that
> don't yet have supported onboard adapters.
>
> While using this I get `no buffer space available` regularly,
> including from dhclient.

It an old bug - dhclient listens to the RTM_IEEE80211_ASSOC event, and,
when it arrives, tries to send a request. However, in an encrypted netwo=
rk,
this event goes before 4-way handshake occurs - so, there is a chance,
that packet will be discarded because there is no key available yet.
(also, this event is used by wpa_supplicant, so we cannot just send it
later)

> This sometimes requires me to
> hard reboot to regain network connectivity. Is there anything
> I can do about this?
>

There is some instability with RTL8188CUS chipset (sometimes its just
stops working); you can restart it with
1) ifconfig wlan0 down
2) ifconfig wlan0 destroy
3) usbconfig -d <device> power_off
4) usbconfig -d <device> power_on

> BTW specific recommendations on better-supported USB widgets
> are welcome.

For me, TP-Link TL-WN725N works a bit better (but there may be some
better supported chipsets).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.yfpbdjcfiew4ia>