USB wireless adapter for hostapd?
Vladimir Botka
vbotka at gmail.com
Thu Nov 12 19:15:05 UTC 2015
Hi,
On Tue, 20 Oct 2015 20:41:26 -0700
Carl Johnson <carlj at peak.org> 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?
HTH. Cheers
-vlado
[1]
# ifconfig wlan0 list caps
drivercaps=2581ed01<STA,IBSS,HOSTAP,AHDEMO,TXPMGT,SHSLOT,SHPREAMBLE,MONITOR,WPA1,WPA2,WME,BGSCAN>
cryptocaps=1b<WEP,TKIP,AES_CCM,TKIPMIC>
[2]
# usbconfig -u 1 -a 3 dump_info
ugen1.3: <802.11 bg WLAN Ralink> at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON (300mA)
[3]
# ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500 ether 00:17:9a:b7:ff:be
inet 192.168.1.22 netmask 0xffffff00 broadcast 192.168.1.255
groups: wlan
ssid babeta channel 1 (2412 MHz 11g) bssid c4:3d:c7:9d:a6:ef
regdomain ETSI country CZ authmode WPA2/802.11i privacy ON
deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30
bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7
roam:rate 5 protmode CTS wme roaming MANUAL
media: IEEE 802.11 Wireless Ethernet DS/1Mbps mode 11g
status: associated
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
[4]
# uname -a
FreeBSD imx6 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r290273: Tue Nov 3
02:54:03 UTC 2015
root at releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/IMX6 arm
--
Vladimír Botka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20151112/741e37c1/attachment.bin>
More information about the freebsd-questions
mailing list