Re: "no buffer space available" EDIMAX EW-7811UN Wireless USB Adapter
Sun, 10 Apr 2016 14:02:02 +0300 було написано Dave Cottlehuber: 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 network, 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 power_off 4) usbconfig -d 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). ___ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
"no buffer space available" EDIMAX EW-7811UN Wireless USB Adapter
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. This sometimes requires me to hard reboot to regain network connectivity. Is there anything I can do about this? BTW specific recommendations on better-supported USB widgets are welcome. Hopefully relevant/useful info below. [1]: http://www.edimax.com/edimax/merchandise/merchandise_detail/data/edimax/global/wireless_adapters_n150/ew-7811un root@nucl:~ # uname -v FreeBSD 10.3-RELEASE #0 r297264: Fri Mar 25 02:10:02 UTC 2016 r...@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC root@nucl:~ # dmesg | egrep -i 'wlan|urtwn' urtwn0: on usbus0 urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R wlan0: Ethernet address: 74:da:38:41:6e:7f wlan0: link state changed to UP root@nucl:~ # kldstat Id Refs AddressSize Name 1 68 0x8020 17bc680 kernel 21 0x819bd000 2fc428 zfs.ko 3 12 0x81cba000 6040 opensolaris.ko 41 0x81cc1000 a858 if_tap.ko 51 0x81ccc000 11c28if_bridge.ko 62 0x81cde000 8490 bridgestp.ko 71 0x81ce7000 157c0aio.ko 81 0x81cfd000 1598 accf_data.ko 91 0x81cff000 1850 accf_dns.ko 101 0x81d01000 4a70 coretemp.ko 111 0x81d06000 1d6080 vmm.ko 121 0x81edd000 4d48 nmdm.ko 131 0x81ee2000 2188 dtraceall.ko 142 0x81ee5000 7040 profile.ko 15 11 0x81eed000 591a0dtrace.ko 162 0x81f47000 1d548systrace_freebsd32.ko 172 0x81f65000 1df50systrace.ko 182 0x81f83000 3458 sdt.ko 192 0x81f87000 6730 lockstat.ko 202 0x81f8e000 620f0fasttrap.ko 212 0x81ff1000 9658 fbt.ko 222 0x81ffb000 5ee8 dtnfscl.ko 232 0x82001000 60c0 dtmalloc.ko 241 0x82008000 3108 cc_htcp.ko 251 0x82711000 fdb4 geom_eli.ko 261 0x82721000 1f55ecrypto.ko 271 0x82741000 2ba8 uhid.ko 281 0x82744000 11da8if_urtwn.ko root@nucl:~ # cat /etc/rc.conf ifconfig_em0="DHCP" ifconfig_em0_ipv6="inet6 accept_rtadv" # wifi wlans_urtwn0="wlan0" ifconfig_wlan0="WPA DHCP" root@nucl:~ # root@nucl:~ # ifconfig wlan0 list caps drivercaps=2181c001root@nucl:~ # ifconfig -a em0: flags=8843 metric 0 mtu 1500 options=4019b ether b8:ae:ed:78:fb:0c inet6 fe80::baae:edff:fe78:fb0c%em0 prefixlen 64 scopeid 0x1 inet6 2001:470:26:2bf:baae:edff:fe78:fb0c prefixlen 64 autoconf inet 10.0.0.11 netmask 0xff00 broadcast 10.0.0.255 nd6 options=23 media: Ethernet autoselect (1000baseT ) status: active lo0: flags=8049 metric 0 mtu 16384 options=63 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff00 nd6 options=21 urtwn0: flags=8843 metric 0 mtu 2290 ether 74:da:38:41:6e:7f nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated wlan0: flags=8843 metric 0 mtu 1500 ether 74:da:38:41:6e:7f inet 10.0.0.41 netmask 0xff00 broadcast 10.0.0.255 nd6 options=29 media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g status: associated ssid cottlehubers channel 10 (2457 MHz 11g) bssid bc:f2:af:e3:1e:92 country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 3:128-bit txpower 0 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS roaming MANUAL root@nucl:~ # netstat -m 1024/2021/3045 mbufs in use (current/cache/total) 1023/1007/2030/1011284 mbuf clusters in use (current/cache/total/max) 1023/1001 mbuf+clusters out of packet secondary zone in use (current/cache) 0/4/4/505642 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/149819 9k jumbo clusters in use (current/cache/total/max) 0/0/0/84273 16k jumbo clusters in use (current/cache/total/max) 2302K/2535K/4837K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters delayed