Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2014 12:10:36 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Yuri <yuri@rawbw.com>
Cc:        freebsd-wireless <freebsd-wireless@freebsd.org>
Subject:   Re: hostapd prints errors like this: ioctl[SIOCS80211, op=20, val=0,  arg_len=7]: No such file or directory
Message-ID:  <CAJ-Vmo=xx3PyJHG4sEp7-HRc4ou43HvT8EkJT1YBB7M6_Ey26A@mail.gmail.com>
In-Reply-To: <52C718B3.2030302@rawbw.com>
References:  <52C6A33C.4030300@rawbw.com> <CAJ-Vmok3=jiMW1%2B3Tg3Jk78BXTWDq6AHb3b5v%2BjDEjwJA6i3zQ@mail.gmail.com> <52C70D01.1070906@rawbw.com> <CAJ-VmomLRWvs1P=LM3LxQo-0oX18eYVGWHQzfhAoyiLvA7jiUw@mail.gmail.com> <52C718B3.2030302@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=xx3PyJHG4sEp7-HRc4ou43HvT8EkJT1YBB7M6_Ey26A>