View Single Post
  #1   (View Single Post)  
Old 6th February 2014
asemisldkfj
-Guest-
 
Posts: n/a
Default Intermittent network drops with urtw adapter

I posted almost this exact thing to misc@ as well (sorry for the weird line breaks; I copied and pasted) but haven't got much help yet, so I'm hoping someone here can save me from going back to Debian and iptables.

I have an Alfa AWUS036H USB wi-fi adapter that I am using on OpenBSD
5.4 amd64. Problem is, sometimes as often as every 15 minutes, the only way to
get the interface to pass traffic is with ifconfig urtw0 down &&
ifconfig urtw0 up
. I've monitored the traffic with tcpdump to look for
a pattern as to when it stops passing traffic, but I have not been able
to find one.

At the tail of dmesg output the following messages are repeated:

Code:
usb_insert_transfer: xfer=0xffff800000568000 not busy 0x4f4e5155
urtw0: could not send frame: INVAL
I am getting a 70-80 dB signal according to ifconfig, which is not
ideal, but should by no means be unusable. I have used the interface
with media set to DS1 mode 11g and OFDM54 mode 11g, with the same
behavior. I am using WPA2-PSK to authenticate to the access point (a
Verizon router). When network traffic stops, the status of the interface
is reported as active by ifconfig.

dmesg.boot has the following lines for the device:

Code:
urtw0 at uhub0 port 4 "Realtek RTL8187" rev 2.00/1.00 addr 2
urtw0: RTL8187 rev 0x04, RFv2, address 00:c0:ca:75:31:85
urtw0 at uhub0 port 4 "vendor 0x0bda RTL8187_Wireless" rev 2.00/1.00
addr 2
urtw0: RTL8187 rev 0x04, RFv2, address 00:c0:ca:75:31:85
urtw0: expect 0xe6!! (0xd2)
Is there any way in which I can troubleshoot this? It's becoming a bit
frustrating, but I'd like to keep using OpenBSD! I'm a bit lost at this
point as to how to approach this issue further, so hopefully someone may
be able to point me in the right direction.

Perhaps also helpful is this line from usbdevs -v:

Code:
port 4 addr 2: high speed, power 500 mA, config 1, RTL8187(0x8187),
Realtek(0x0bda), rev 1.00, iSerialNumber 00C0CA753185
Reply With Quote