hostapd prints errors like this: ioctl[SIOCS80211, op=20, val=0, arg_len=7]: No such file or directory

Adrian Chadd adrian at freebsd.org
Fri Jan 3 20:10:37 UTC 2014


Yeah, you should only change the MAC when you bring up the AP, not
during its operation.



-a


On 3 January 2014 12:08, Yuri <yuri at rawbw.com> wrote:
> On 01/03/2014 11:24, Adrian Chadd wrote:
>>
>> Hm, try FreeBSD-11 and see?
>>
>>
>> It's odd, I wonder why it's finding that. Guess w'ell have to figure
>> out what those op=20 and op=21 are in net80211.
>
>
> I did some DTrace debugging and found that ieee80211_ioctl_delkey fails with
> errno=2 (No such file), which is caused by ieee80211_find_vap_node returning
> null. And ieee80211_find_vap_node looks for some MAC address.
>
> I think the problem is that I changed the MAC address of the ath0 interface,
> and the old one got cached somewhere.
>
> Yuri


More information about the freebsd-wireless mailing list