Re: Another working USB WiFi adapter:

2015-09-05 Thread Stefan Sperling
On Fri, Sep 04, 2015 at 02:52:19PM -0300, Henrique Lengler wrote:
> It has been difficult to me to figure out what causes this error, and
> try to reproduce it, it looks totally random, some days I get a lot of
> timeouts, others I get no one.

A "device timeout" means that an outgoing packet could not be transmitted
during a period of 5 seconds. Assuming the driver works correctly, what
you're seeing could simply be a matter of heavy contention for the medium.

How many other wifi networks are "active" around you when the timeout occurs?
Perhaps monitor traffic on your channel (from another box with a wireless
interface in monitor mode on the same channel) continously, and check if
bursts of traffic from other networks coincide with the athn device giving up.



Re: Another working USB WiFi adapter:

2015-09-04 Thread Henrique Lengler
On Thu, Sep 03, 2015 at 10:50:02AM +0200, Stefan Sperling wrote:
> On Thu, Sep 03, 2015 at 08:53:11AM +0100, Craig Skinner wrote:
> > For the archives,
> > 
> > A friend loaned me this while I gave an Unbound & NSD talk in a pub:
> > 
> > TP-Link TL-WN722N "High-Gain 150Mbps"
> > 
> > athn1 at uhub0 port 2 "ATHEROS USB2.0 WLAN" rev 2.00/1.08 addr 2
> > athn1: AR9271 rev 1 (1T1R), ROM rev 13, address c0:4a:00:1f:f6:3e
> > 
> > $ uname -mrsv
> > OpenBSD 5.6 GENERIC.MP#299 i386
> > 
> > Cheers!
> 
> I'm surprised it works for you at all on 5.6. It might actually crash
> your machine quite easily because of bugs in the driver. And scanning
> is rather broken with this device in 5.6 (won't see more than 8 APs).
> 
> Support for this device was improved a lot for 5.7. See the changelog at
> http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/usb/if_athn_usb.c
> 
> There are still some issues, though. Some people are seeing frequent
> device timeouts which I can't reproduce. And hostap mode seems to be broken.
> 
> If you have time to do some tests (with -current), I'd be interested to
> know if hostap works. To test, set it up for hostap mode, try to assoiate
> to it, assign IPs, and ping across.
> Does the device send beacons in hostap mode? Beacons should be visible
> from another computer with a wireless interface in monitor mode on the
> same channel, and tcpdump -y IEEE802_11_RADIO -v
> 
> Do you see frequent or occasional device timeouts when using the device
> normally? If so, can you figure out which conditions trigger them?

I use this device daily (have two of them), and have some problems with it. 
Frequent device timeouts as you said, already changed the router, wifi 
channel, and still the problem.
Sometimes programs takes some time to connect, like when I'm
browsing the web and open irc, it takes some time to connect with the
server.
Usually timeouts happens when I do a new connection, like I never had a
timeout when only watching a video on youtube, it happens like when I open a new
site.
It has been difficult to me to figure out what causes this error, and
try to reproduce it, it looks totally random, some days I get a lot of
timeouts, others I get no one.
-- 
Regards

Henrique Lengler 



Re: Another working USB WiFi adapter:

2015-09-03 Thread Craig Skinner
Hi Stefan,

On 2015-09-03 Thu 10:50 AM |, Stefan Sperling wrote:
> 
> I'm surprised it works for you at all on 5.6. It might actually crash
> your machine quite easily because of bugs in the driver. And scanning
> is rather broken with this device in 5.6 (won't see more than 8 APs).
> 

A friend brought this adapter to the pub with him, so we tried it.

It seemed to work without problems for 1.5 hours of several ssh sessions
to DNS master & slave hosts & web surfing.

Yes, for a variety of reasons, this netbook needs to be on -current,
the todo list guestimate is October

I'll try to report back later.
-- 
My University of Edinburgh dance partners perform 'The Braes of Busby':
http://www.scottish-country-dancing-dictionary.com/video/braes-of-busby.html
The driving Strathspey rhythm & step is unique to Scottish folk music/dancing.



Another working USB WiFi adapter:

2015-09-03 Thread Craig Skinner
For the archives,

A friend loaned me this while I gave an Unbound & NSD talk in a pub:

TP-Link TL-WN722N "High-Gain 150Mbps"

athn1 at uhub0 port 2 "ATHEROS USB2.0 WLAN" rev 2.00/1.08 addr 2
athn1: AR9271 rev 1 (1T1R), ROM rev 13, address c0:4a:00:1f:f6:3e

$ uname -mrsv
OpenBSD 5.6 GENERIC.MP#299 i386

Cheers!
-- 
Great Glasgow oak cask aged beer: Innis & Gunn
The most popular British bottled beer sold in Canada,
and second most popular in sunny Sweden. (Superb country.)
http://www.InnisAndGunn.Co.UK



Re: Another working USB WiFi adapter:

2015-09-03 Thread Stefan Sperling
On Thu, Sep 03, 2015 at 08:53:11AM +0100, Craig Skinner wrote:
> For the archives,
> 
> A friend loaned me this while I gave an Unbound & NSD talk in a pub:
> 
> TP-Link TL-WN722N "High-Gain 150Mbps"
> 
> athn1 at uhub0 port 2 "ATHEROS USB2.0 WLAN" rev 2.00/1.08 addr 2
> athn1: AR9271 rev 1 (1T1R), ROM rev 13, address c0:4a:00:1f:f6:3e
> 
> $ uname -mrsv
> OpenBSD 5.6 GENERIC.MP#299 i386
> 
> Cheers!

I'm surprised it works for you at all on 5.6. It might actually crash
your machine quite easily because of bugs in the driver. And scanning
is rather broken with this device in 5.6 (won't see more than 8 APs).

Support for this device was improved a lot for 5.7. See the changelog at
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/usb/if_athn_usb.c

There are still some issues, though. Some people are seeing frequent
device timeouts which I can't reproduce. And hostap mode seems to be broken.

If you have time to do some tests (with -current), I'd be interested to
know if hostap works. To test, set it up for hostap mode, try to assoiate
to it, assign IPs, and ping across.
Does the device send beacons in hostap mode? Beacons should be visible
from another computer with a wireless interface in monitor mode on the
same channel, and tcpdump -y IEEE802_11_RADIO -v

Do you see frequent or occasional device timeouts when using the device
normally? If so, can you figure out which conditions trigger them?



Re: Small USB wifi adapter

2012-04-24 Thread Laurence Rochfort
Thanks for the tip Alan, I didn't know about mini-pci express.

I can get an Intel Centrino Advanced-N 6200 or 6300 on Amazon.  Does
anybody have any experience with these adapters and the iwn driver?  I
ask because the reason I need a new adapter is that my 6230 doesn't
work with the iwn driver.

Alternatively, does anybody have a recommended *half* mini-pci adapter
of another brand?

Cheers,
Laurence.

On 24 April 2012 03:33, Alan Corey ab...@devio.us wrote:
 Hello,

 My laptop's integrated wifi adapter is not supported by OpenBSD.

 Can anybody suggest a USB adapter that doesn't stick out of the port very
 far?

 Ideally I'd like one that protrudes less than a centimeter.  There are
 several on amazon but technical details are scarce.

 Many thanks,
 Laurence



 Is thwe laptop's internal one really integrated or a mini-pci inside?
 Those are easy enough to change.  I don't know anything about the others,
 but that doesn't sound like much room for the antenna so the range may not
 be great.  Even a quarter wavelength at 2.4 GHz is still 1.17 inches.
 Anything smaller and the radiation efficiency goes down.

  Alan



Re: Small USB wifi adapter

2012-04-24 Thread David Coppa
On Tue, Apr 24, 2012 at 8:58 AM, Laurence Rochfort
laurence.rochf...@gmail.com wrote:
 Thanks for the tip Alan, I didn't know about mini-pci express.

 I can get an Intel Centrino Advanced-N 6200 or 6300 on Amazon.  Does
 anybody have any experience with these adapters and the iwn driver?  I
 ask because the reason I need a new adapter is that my 6230 doesn't
 work with the iwn driver.

 Alternatively, does anybody have a recommended *half* mini-pci adapter
 of another brand?

Something with ral(4) or athn(4)

ciao,
David



Re: Small USB wifi adapter

2012-04-24 Thread Alan Corey

On Tue, 24 Apr 2012, David Coppa wrote:


On Tue, Apr 24, 2012 at 8:58 AM, Laurence Rochfort
laurence.rochf...@gmail.com wrote:

Thanks for the tip Alan, I didn't know about mini-pci express.

I can get an Intel Centrino Advanced-N 6200 or 6300 on Amazon.  Does
anybody have any experience with these adapters and the iwn driver?  I
ask because the reason I need a new adapter is that my 6230 doesn't
work with the iwn driver.

Alternatively, does anybody have a recommended *half* mini-pci adapter
of another brand?


Something with ral(4) or athn(4)

ciao,
David




I agree, I'm shopping for original mini-pci myself for my old laptop, and 
only looking at Ralink and Atheros chipsets.  There are some wonderful 
prices available in China, like $6, the problem is how to get them 
exported.  Try eBay, the direct-from-Taiwan deals. Search by chipset. Make 
sure it does 11n or at least 11g, and hostap if you're interested in that. 
I've also used Pricewatch because the format lets you browse better than 
Froogle. There are plenty of half-size mini pci express cards out there, 
it's getting hard to find much else.


  Alan



Small USB wifi adapter

2012-04-23 Thread Laurence Rochfort
Hello,

My laptop's integrated wifi adapter is not supported by OpenBSD.

Can anybody suggest a USB adapter that doesn't stick out of the port very
far?

Ideally I'd like one that protrudes less than a centimeter.  There are
several on amazon but technical details are scarce.

Many thanks,
Laurence



Re: Small USB wifi adapter

2012-04-23 Thread joshua stein
On Mon, Apr 23, 2012 at 12:35:55PM +0100, Laurence Rochfort wrote:
 Hello,
 
 My laptop's integrated wifi adapter is not supported by OpenBSD.
 
 Can anybody suggest a USB adapter that doesn't stick out of the port very
 far?
 
 Ideally I'd like one that protrudes less than a centimeter.  There are
 several on amazon but technical details are scarce.

i have both of these and they work under openbsd:

http://amzn.to/Ia0PuR

http://amzn.to/I67ObN



Re: Small USB wifi adapter

2012-04-23 Thread Andy Hayward
On 23 April 2012 12:35, Laurence Rochfort laurence.rochf...@gmail.com
wrote:
 Hello,

 My laptop's integrated wifi adapter is not supported by OpenBSD.

 Can anybody suggest a USB adapter that doesn't stick out of the port very
 far?

 Ideally I'd like one that protrudes less than a centimeter. B There are
 several on amazon but technical details are scarce.

Edimax EW-7811Un
http://www.edimax.com/en/produce_detail.php?pd_id=347pl1_id=1pl2_id=44
http://wikidevi.com/wiki/Edimax_EW-7811Un



Re: Small USB wifi adapter

2012-04-23 Thread Laurence Rochfort
Thank you everybody.

I just noticed the urtwn man page and ordered an EW-7811Un.

Strange that this driver is not mentioned on the hardware platforms
web page; that will teach me that the man pages are the definitive
documentation!

On 23 April 2012 15:39, Andy Hayward a...@buteo.org wrote:
 On 23 April 2012 12:35, Laurence Rochfort laurence.rochf...@gmail.com
wrote:
 Hello,

 My laptop's integrated wifi adapter is not supported by OpenBSD.

 Can anybody suggest a USB adapter that doesn't stick out of the port very
 far?

 Ideally I'd like one that protrudes less than a centimeter.  There are
 several on amazon but technical details are scarce.

 Edimax EW-7811Un
 http://www.edimax.com/en/produce_detail.php?pd_id=347pl1_id=1pl2_id=44
 http://wikidevi.com/wiki/Edimax_EW-7811Un



Re: Small USB wifi adapter

2012-04-23 Thread Carson Chittom
Laurence Rochfort laurence.rochf...@gmail.com writes:

 My laptop's integrated wifi adapter is not supported by OpenBSD.

 Can anybody suggest a USB adapter that doesn't stick out of the port very
 far?

 Ideally I'd like one that protrudes less than a centimeter.  There are
 several on amazon but technical details are scarce.

Check out the Airlink 101.  There are several models, but at least one
of them is supported by urtwn(4).



Re: Small USB wifi adapter

2012-04-23 Thread Alan Corey

Hello,

My laptop's integrated wifi adapter is not supported by OpenBSD.

Can anybody suggest a USB adapter that doesn't stick out of the port very
far?

Ideally I'd like one that protrudes less than a centimeter.  There are
several on amazon but technical details are scarce.

Many thanks,
Laurence




Is thwe laptop's internal one really integrated or a mini-pci inside?
Those are easy enough to change.  I don't know anything about the others, 
but that doesn't sound like much room for the antenna so the range may not 
be great.  Even a quarter wavelength at 2.4 GHz is still 1.17 inches. 
Anything smaller and the radiation efficiency goes down.


  Alan



usb wifi adapter

2008-01-28 Thread Pau Amaro-Seoane
Hi,

I have looked for a while, but I could not find a concrete answer to
my problem. I would like to buy an usb wifi adapter which works with
OpenBSD. I know that OpenBSD is the free OS which most chipsets
supports in the world but... what about the usb thing? Does it require
blobs? Will it work ou of the box? What's your experience? If  you
can name me some cheap adapters, I would be very grateful!

thanks for your patience

Pau



Re: usb wifi adapter

2008-01-28 Thread Eric
On Saturday 26 January 2008 2:38:07 pm Pau Amaro-Seoane wrote:
 Hi,

 I have looked for a while, but I could not find a concrete answer to
 my problem. I would like to buy an usb wifi adapter which works with
 OpenBSD. I know that OpenBSD is the free OS which most chipsets
 supports in the world but... what about the usb thing? Does it require
 blobs? Will it work ou of the box? What's your experience? If  you
 can name me some cheap adapters, I would be very grateful!

 thanks for your patience

 Pau

Linksys WUSB54GC has worked fine out of the box for me.