From owner-freebsd-questions@freebsd.org Fri Nov 13 04:57:21 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63487A2D91D for ; Fri, 13 Nov 2015 04:57:21 +0000 (UTC) (envelope-from carlj@peak.org) Received: from filter01.peakinternet.com (filter01.peakinternet.com [207.55.16.92]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 315881F94 for ; Fri, 13 Nov 2015 04:57:20 +0000 (UTC) (envelope-from carlj@peak.org) Received: from zmail-mta02.peak.org ([207.55.16.112]) by filter01.peakinternet.com ({e1c81c21-e4c4-4528-aa90-7a27869c545a}) via TCP (outbound) with ESMTPS id 20151113045404075_0000 for ; Thu, 12 Nov 2015 20:54:04 -0800 X-RC-FROM: X-RC-RCPT: Received: from zmail-mta02.peak.org (localhost [127.0.0.1]) by zmail-mta02.peak.org (Postfix) with ESMTPS id 8CBA164CE9 for ; Thu, 12 Nov 2015 20:54:03 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zmail-mta02.peak.org (Postfix) with ESMTP id 745F564CEB for ; Thu, 12 Nov 2015 20:54:03 -0800 (PST) Received: from zmail-mta02.peak.org ([127.0.0.1]) by localhost (zmail-mta02.peak.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id p6l-wKVUy316 for ; Thu, 12 Nov 2015 20:54:03 -0800 (PST) Received: from mailproxy-lb-05.peak.org (mailproxy-lb-05.peak.org [207.55.17.95]) by zmail-mta02.peak.org (Postfix) with ESMTP id 3F45664CE9 for ; Thu, 12 Nov 2015 20:54:03 -0800 (PST) Received: from carlj by elk.localnet with local (Exim 4.80) (envelope-from ) id 1Zx6N8-0003C9-6M for freebsd-questions@freebsd.org; Thu, 12 Nov 2015 20:54:02 -0800 From: Carl Johnson To: freebsd-questions@freebsd.org Subject: Re: USB wireless adapter for hostapd? References: <87a8rcnb15.fsf@elk.localnet> <20151112201459.6545e263@planb> Mail-Followup-To: freebsd-questions@freebsd.org X-Clacks-Overhead: GNU Terry Pratchett Date: Thu, 12 Nov 2015 20:54:02 -0800 In-Reply-To: <20151112201459.6545e263@planb> (Vladimir Botka's message of "Thu, 12 Nov 2015 20:14:59 +0100") Message-ID: <87oaeyh53p.fsf@elk.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MAG-OUTBOUND: peakinternet.redcondor.net@207.55.16/22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Nov 2015 04:57:21 -0000 Vladimir Botka writes: > Hi, > > On Tue, 20 Oct 2015 20:41:26 -0700 > Carl Johnson wrote: > >> I am trying to set up a Raspberry Pi as an access point, but FreeBSD >> doesn't support hostap mode on the adapters (urtwn) that I have. Does >> anybody have any suggestions on where I could buy an adapter that >> FreeBSD does support hostap mode? Looking at the man pages seems to >> indicate that very few are supported for anything other than normal >> station mode. >> >> Thanks for any information. > > You are looking for adapters with HOSTAP capability [1] according > http://www.freebsd.cz/doc/handbook/network-wireless.html > > This report [1] is from old dongle D-Link DWL-G122 running as a client > [2,3] in FreeBSD 11.0 on imx6. I haven't tried, but according [1] it > should be possible to use it with hostap. > > JFYI, RT5370 (Tenda W311MI) and RT5592 (TP Link TL-WDN3200) don't work > for me in [4] and report error (below). But both adapters report HOSTAP > capability in Freebsd 10.2 i386 > > imx6 kernel: run0: firmware RT3071 ver. 0.33 loaded > imx6 wpa_supplicant[2164]: ioctl[SIOCS80211, op=26, val=0, > arg_len=0]: Operation not supported > imx6 wpa_supplicant[2164]: ioctl[SIOCS80211, op=26, val=0, > arg_len=0]: Operation not supported > imx6 wpa_supplicant[2164]: wlan0: CTRL-EVENT-TERMINATING > > Just to be sure. You know that USB adapters don't support 11n at the > moment? No, I didn't know that. I was wondering why my speeds weren't very good right now. I bought a couple of Ralink RT3071 based adapters and they seem to work reasonably well, but not as fast as I was hoping. I am getting only about 12Mb/sec now according to iperf3, but I don't really need faster speeds. Thanks for your information. -- Carl Johnson carlj@peak.org