From owner-freebsd-wireless@FreeBSD.ORG Fri Jan 3 20:10:37 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6381C7B6 for ; Fri, 3 Jan 2014 20:10:37 +0000 (UTC) Received: from mail-qc0-x22f.google.com (mail-qc0-x22f.google.com [IPv6:2607:f8b0:400d:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1F4B61F87 for ; Fri, 3 Jan 2014 20:10:37 +0000 (UTC) Received: by mail-qc0-f175.google.com with SMTP id e9so15266537qcy.34 for ; Fri, 03 Jan 2014 12:10:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=IF6cOturfEiRdyZJHrOG+sR4EQHjRyPYdWV+OOtHHtQ=; b=CEsAl8cqnpWHuXnr/ovmV+P4a7dyNhv+M8b9K6BmEQeEAAaJdP4ikcCnID3JRlqUHQ R3v4oyxtZMHks7Mmb/dUGkIKZPwI+FLog+RiftBwiXey0CBa4oZdf4q5kGLayGcvWIAa 3FAdB71DPzEDvBZSu0snvtvMEOs6gYdeCibkylOj7St7W6ykjB0wBhYhodbuMaOw3yaK 0asL+tKMrk6/adHMrfNlHh2xhNHRbQSI3m7inKaqkFVgxVydVXO1zwdLnbZCJayHJbuv zgieYJCKgT9e+PfSnSn4ZA46TJBNb2L55WNUYURaK5u+D7bG5cPpnID8J8fNc6ICHXkE P8VQ== MIME-Version: 1.0 X-Received: by 10.224.124.195 with SMTP id v3mr152259338qar.55.1388779836306; Fri, 03 Jan 2014 12:10:36 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Fri, 3 Jan 2014 12:10:36 -0800 (PST) In-Reply-To: <52C718B3.2030302@rawbw.com> References: <52C6A33C.4030300@rawbw.com> <52C70D01.1070906@rawbw.com> <52C718B3.2030302@rawbw.com> Date: Fri, 3 Jan 2014 12:10:36 -0800 X-Google-Sender-Auth: X-7VaLM3LASKo9RIrHLyqtjfNTI Message-ID: Subject: Re: hostapd prints errors like this: ioctl[SIOCS80211, op=20, val=0, arg_len=7]: No such file or directory From: Adrian Chadd To: Yuri Content-Type: text/plain; charset=ISO-8859-1 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:10:37 -0000 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 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