Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754181AbZCSQpf (ORCPT ); Thu, 19 Mar 2009 12:45:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753432AbZCSQpW (ORCPT ); Thu, 19 Mar 2009 12:45:22 -0400 Received: from yw-out-2324.google.com ([74.125.46.31]:35864 "EHLO yw-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752376AbZCSQpU (ORCPT ); Thu, 19 Mar 2009 12:45:20 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=qumM9XEJc8gu9dmqNjui+BxBPz7G7jXnAnR9aXry4SDQ5BLgcB2f+u/GY/UU0wrztA mP79xVBg5/4hYakbx25V8WvWPN2RjEyg+YhHzrQHZPcU5wu1Y1b56sri/E6vuKqvzp53 9zTZH1M0xdHG3Bv5H3WwfAujTTM2N622vxASw= MIME-Version: 1.0 In-Reply-To: <20090319152441.GB3587@tuxdriver.com> References: <1237143683.24621.7.camel@johannes.local> <20090315202603.GA9077@elte.hu> <1237317742.31814.28.camel@johannes.local> <1237455534.5100.56.camel@johannes.local> <20090319141311.GA3587@tuxdriver.com> <200903191602.58790.elendil@planet.nl> <20090319152441.GB3587@tuxdriver.com> Date: Fri, 20 Mar 2009 00:45:17 +0800 Message-ID: Subject: Re: Required sequence to set wireless parameters? (was: 2.6.29-rc8: Reported regressions from 2.6.28) From: Jeff Chua To: "John W. Linville" Cc: Frans Pop , johannes@sipsolutions.net, mingo@elte.hu, torvalds@linux-foundation.org, rjw@sisk.pl, linux-kernel@vger.kernel.org, bunk@kernel.org, akpm@linux-foundation.org, kernel-testers@vger.kernel.org, netdev@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1171 Lines: 27 On Thu, Mar 19, 2009 at 11:24 PM, John W. Linville wrote: > On Thu, Mar 19, 2009 at 04:02:56PM +0100, Frans Pop wrote: >> John W. Linville wrote: >> > On Thu, Mar 19, 2009 at 10:38:54AM +0100, Johannes Berg wrote: >> >> On Thu, 2009-03-19 at 12:49 +0800, Jeff Chua wrote: >> >> > # this needs patch to work ... >> >> > iwconfig wlan0 mode Managed >> >> > ifconfig wlan0 up >> >> > iwconfig wlan0 essid xxx >> >> > iwconfig wlan0 key restricted xxx >> >> > iwconfig wlan0 ap auto channel auto >> >> >> >> If you swap the key and essid lines, it will probably always work. I just discovered that "iwconfig wlan0 ap auto channel auto" is the one causing the problem on 2.6.29-rc8. Remove the line and it'll associate to the AP. Just tried on two different APs a few times, and it seems to behave that way. If I execute the "auto" command, it'll fail to associate, but works fine with the patch. Jeff. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/