Return-path: Received: from mx1.redhat.com ([209.132.183.28]:37462 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752257Ab1CHUEC (ORCPT ); Tue, 8 Mar 2011 15:04:02 -0500 Subject: Re: 2.6.38-rc7, iwlagn warning From: Dan Williams To: Johannes Berg Cc: Mathias =?ISO-8859-1?Q?Bur=E9n?= , wwguy , linux-wireless Date: Tue, 08 Mar 2011 14:05:22 -0600 In-Reply-To: <1299613155.3734.8.camel@jlt3.sipsolutions.net> References: <20110304134648.GB9866@tuxdriver.com> <1299251879.24333.3.camel@wwguy-ubuntu> <1299334144.3826.8.camel@jlt3.sipsolutions.net> <1299597447.4676.25.camel@jlt3.sipsolutions.net> <1299602750.3734.2.camel@jlt3.sipsolutions.net> <1299604680.3734.4.camel@jlt3.sipsolutions.net> <1299608207.31279.19.camel@dcbw.foobar.com> <1299613155.3734.8.camel@jlt3.sipsolutions.net> Content-Type: text/plain; charset="UTF-8" Message-ID: <1299614723.20425.0.camel@dcbw.foobar.com> Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, 2011-03-08 at 20:39 +0100, Johannes Berg wrote: > On Tue, 2011-03-08 at 19:10 +0000, Mathias Burén wrote: > > > > Could you also grab /var/log/daemon.log or /var/log/NetworkManager.log, > > > whichever one exists? And just to make sure, when this problem > > > happens, there is only one wpa_supplicant running at the time, right? > > > Is something like wicd also running? > > > > > > The logs there look like something external is telling the supplicant to > > > disassociate, which could be NM or some other tool, but NM should not be > > > exhibiting this behavior if NM itself was used to start the adhoc > > > network. > > > dameon.log http://www.2shared.com/file/9ntZ37Q9/daemon.html > > > > I think the problem is Ubuntu-related, I can see error messages about > > dnsmasq (which NetworkManager uses for its DHCP purposes, right). I > > set the phone to static IPs, then suddenly the whole thing started > > working. No warning in dmesg... > > Yeah -- if you configure /etc/dnsmasq.conf to not listen on all > interfaces, or you just disable it, then it should all work. NM should also not just loop continuously trying to reactivate the adhoc connection when it fails. Maybe a few times, but certainly not forever. Dan