From owner-freebsd-net@FreeBSD.ORG Thu Mar 26 17:46:47 2015 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 156CB9BC for ; Thu, 26 Mar 2015 17:46:47 +0000 (UTC) Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CC82AE53 for ; Thu, 26 Mar 2015 17:46:46 +0000 (UTC) Received: by iedfl3 with SMTP id fl3so58924446ied.1 for ; Thu, 26 Mar 2015 10:46:46 -0700 (PDT) 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=0QJp9Adkps5pPpUUHvkCut1RDazdlZ3bFmrZCGVy1I4=; b=noHoeOz9B5QC92zr2qBKS0tveTFgRRpKW9ukH0tk7bsv9jGoxKV4PbwzLycw4Bv3X6 ebxXN8v0cVoOR2lhv+AJFiAiolWI0xUT7duSkM6h/GoHj/Mn8avGRTZfoSnH+UHcFEVK w2YS6tHpxcf3wLAwLMiHi8EPpz6j5I6wAEtm3AAucqjVkZe5YN6cUbpEUQco+kk1ZIwN 2c5/DqRaoH5skyoSzWAOYhX57BiYquFPEKWZZ/nolnFcP3gdP7MB/1nHztNj62KvyH3d UoGO15lTr7CBsoRSGbqeEbx+kEjWDDtVozrcXe2lbgVOwMwdWzCLavcO3sjGgiAoA6vr JAMg== MIME-Version: 1.0 X-Received: by 10.50.143.42 with SMTP id sb10mr38478092igb.49.1427392006258; Thu, 26 Mar 2015 10:46:46 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.17.194 with HTTP; Thu, 26 Mar 2015 10:46:46 -0700 (PDT) In-Reply-To: <20150326114357.GL7594@albert.catwhisker.org> References: <20150323131918.GN7594@albert.catwhisker.org> <20150326022132.GI7594@albert.catwhisker.org> <20150326114357.GL7594@albert.catwhisker.org> Date: Thu, 26 Mar 2015 10:46:46 -0700 X-Google-Sender-Auth: CMF2pQjVrzcSSGucxicZP_dvPPc Message-ID: Subject: Re: iwn(4) works (mostly) in stable/10; fails to associate in head From: Adrian Chadd To: David Wolfskill Content-Type: text/plain; charset=UTF-8 Cc: "net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 17:46:47 -0000 Yup, recompile with IWN_DEBUG and IEEE80211_DEBUG :) Then those debug bits will work. -adrian On 26 March 2015 at 04:43, David Wolfskill wrote: > On Wed, Mar 25, 2015 at 09:19:40PM -0700, Adrian Chadd wrote: >> On 25 March 2015 at 19:21, David Wolfskill wrote: >> > On Wed, Mar 25, 2015 at 06:17:48PM -0700, Adrian Chadd wrote: >> >> Hi, >> >> >> >> I'm unfortunately too busy to really help you dig into it. >> >> >> >> I'd start by using tcpdump on wlan0 to see what's going on - see if >> >> it's sending/receiving DHCP responses. >> > >> > Well, in head, it won't even associate, so I suspect that DHCP is a moot >> > point. >> >> Ok, sysctl dev.iwn.0.debug=0x1, wlandebug +scan, and then start wpa_supplicant. >> >> It should be reasonably obvious what's going on - if it can't see APs >> or it can't transmit anything successfully, then at least I know where >> to begin looking when I have spare time. >> .... > > Well, things didn't go quite to plan... and in the process of trying to > debug the iwn0, the perverse bit of hardware managed to associate. > > I've attached a typescript for your (collective) amusement. > > Peace, > david > -- > David H. Wolfskill david@catwhisker.org > Those who murder in the name of God or prophet are blasphemous cowards. > > See http://www.catwhisker.org/~david/publickey.gpg for my public key.