NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: WPA2 accesspoint with NetBSD?



David Wetzel --> netbsd-users (2009-03-14 17:18:12 +0100):
[...]
>> wpa=11 # wpa and wpa2
>
> hostapd: ioctl[SIOCS80211, op 26, arg 11]: Invalid argument
> Unable to set WPA to 11
> ath0: DRIVER Error configuring WPA state!

You need to specify the value in decimal notation (i.e. 3 in your case).
From the hostapd [1]README:

# This field is a bit field that can be used to enable WPA (IEEE 802.11i/D3.0)
# and/or WPA2 (full IEEE 802.11i/RSN):
# bit0 = WPA
# bit1 = IEEE 802.11i/RSN (WPA2)

I'm running hostapd on a NetBSD/i386 4.0_STABLE system with wpa=2
(i.e.  WPA2 only) without any problems.  (Ok, [2]not really, but
most of the time.)


HTH, Jukka

[1] 
http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/dist/wpa/hostapd/README?rev=1.1.1.2&content-type=text/plain&only_with_tag=HEAD
[2] http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=37400

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~


Home | Main Index | Thread Index | Old Index