From: Peter Stuge Date: Sun, 23 Oct 2011 18:52:07 +0200 Subject: [ath9k-devel] Can't associate with a particular AP In-Reply-To: <20111023163427.GB5424@kirya.net> References: <20111004183514.GC3463@kirya.net> <20111005042406.GA3734@kirya.net> <20111015045128.GP20598@kirya.net> <20111016150124.GA13160@kirya.net> <20111023142536.GA4633@kirya.net> <20111023150240.882.qmail@stuge.se> <20111023163427.GB5424@kirya.net> Message-ID: <20111023165207.16449.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: > > I think it is important to iwconfig eth1 mode monitor before you run > > ip link set dev eth1 up, and once you have done that it does not > > matter what settings wireshark does or does not do, the mode can't be > > changed when the interface is up, so just starting the capture should > > work. > > I couldn't capture anything this way from the other laptops. How does it fail? > > > Cell 01 - Address: BA:F4:8A:C6:C8:44 > > .. > > > Cell 04 - Address: C6:6E:27:A6:BE:A4 > > > > Which is the actual correct address of your AP? I would expect > > c6-6e-27, but the IEEE OUI listing does not have a match for it! > > I would also say that, given what I can see from the other laptops. I would check the sticker on the AP. > > > How is this possible? > > > > I guess some fundamental data corruption problem in ath9k. I'm not > > surprised at all, although developers claim that by now the code > > quality is good. This is a total BS error. I could rant for forever. > > Are you sure it could not be a problem with the AP? If ath9k can associate sometimes it really must be able to associate every time, especially since other drivers can. > Or an incompatibility between both, This would of course be unacceptable, since ath9k is supposed to implement a standard, the purpose of which is interoperability. > as I have no problem with the same AP with other > laptops/smartphones. The other laptops likely have different hardware and software. If you want you can gather more data by comparing results while you eliminate those differences one at a time. > > I would try FreeBSD on that machine. I believe the driver there is > > more reliable, and using it can allow you to get more concrete help > > from Adrian in case the problem is seen also there. > > I will try something like a livecd, Might work, but by doing that you are only adding more parameters, which is absolutely counter-productive for debugging. > I do not want to install FreeBSD. This is stupid. Either you want to resolve the problem or you do not. If you do not then you would not have posted to the list. If installing FreeBSD can help identify the problem then that is obviously what you should do. > Or it could be a good opportunity to test Debian GNU/kFreeBSD ;) Again a really bad idea. The purpose of using FreeBSD would be to get another data point, and to take advantage of Adrian's expertise. The only way of doing that which makes sense is to use exactly the same code that Adrian has; which means you should build the very latest fbsd world and kernel, and see what happens. This should be really easy given that you have experience from distribution development already. Also, this should be absolutely obvious to you already. I'm surprised I have to explain it. It's simple: Either you want to try to identify the problem, or you don't care so much. If you don't care then you can't expect anyone else to, and the problem will stay unresolved. You have an opportunity to improve ath9k for the benefit of all, and you do not want to do it because you would have to install FreeBSD? lolwut? //Peter