From owner-freebsd-wireless@FreeBSD.ORG Fri Jan 3 20:08:20 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 49B7D47E; Fri, 3 Jan 2014 20:08:20 +0000 (UTC) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 319861F17; Fri, 3 Jan 2014 20:08:19 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id s03K8JZI060117; Fri, 3 Jan 2014 12:08:19 -0800 (PST) (envelope-from yuri@rawbw.com) Message-ID: <52C718B3.2030302@rawbw.com> Date: Fri, 03 Jan 2014 12:08:19 -0800 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: hostapd prints errors like this: ioctl[SIOCS80211, op=20, val=0, arg_len=7]: No such file or directory References: <52C6A33C.4030300@rawbw.com> <52C70D01.1070906@rawbw.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-wireless X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jan 2014 20:08:20 -0000 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