From: Peter Stuge Date: Sat, 29 Oct 2011 19:09:00 +0200 Subject: [ath9k-devel] Can't associate with a particular AP In-Reply-To: <20111029163420.GD11722@kirya.net> References: <20111016150124.GA13160@kirya.net> <20111023142536.GA4633@kirya.net> <20111024062716.GA14603@infinet.ru> <20111024185932.GG4394@kirya.net> <20111029064151.GC11722@kirya.net> <20111029162728.11193.qmail@stuge.se> <20111029163420.GD11722@kirya.net> Message-ID: <20111029170900.16517.qmail@stuge.se> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Julien Valroff wrote: > > > Ie, ath9k is not choosing which AP to associate with. > > > > Well, it can.. > > How can you force that? Force what, exactly? > I've tried doing this in NetworkManager with no success (ie. same > problems as without). I would strongly avoid NetworkManager and wpa_supplicant while debugging. Because they tie in to the wifi stack and poke at things they think are good, I find them and their kin mostly a neccessary evil. Use iw and/or iwconfig. http://linuxwireless.org/en/users/Documentation/iw#Establishing_a_basic_connection > > > I think the Linux wpa_supplicant code (which I bet is what's making > > > decisions as to the BSSID's to be associating against, > > > > I can also associate without wpa_supplicant, if the AP does not > > require WPA. > > It also fails to associate with my AP when no security is used (as > explained, I have several SSID's on the same AP, one of them being > used as a hotspot and gives the same issues as my private wlan). Do not bother with anything that has encryption disabled unless neccessary (not in this case) since it adds a significant amount of unknowns. It's actually really good imo that you can see the problem also with the AP without security. //Peter