From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Valroff Date: Fri, 28 Oct 2011 06:26:53 +0200 Subject: [ath9k-devel] Can't associate with a particular AP In-Reply-To: <20111027202758.GA9080@jouni.qca.qualcomm.com> References: <20111016150124.GA13160@kirya.net> <20111023142536.GA4633@kirya.net> <20111024062716.GA14603@infinet.ru> <20111024185932.GG4394@kirya.net> <20111024195501.GA31592@jouni.qca.qualcomm.com> <20111027183606.GA16822@kirya.net> <20111027191353.GB16822@kirya.net> <20111027202758.GA9080@jouni.qca.qualcomm.com> Message-ID: <20111028042653.GF6435@kirya.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Le jeudi 27 oct. 2011 ? 22:27:58 (+0200 CEST), Jouni Malinen a ?crit?: > On Thu, Oct 27, 2011 at 09:13:53PM +0200, Julien Valroff wrote: > > Le jeudi 27 oct. 2011 ? 20:36:06 (+0200 CEST), Julien Valroff a ?crit?: > > > Le lundi 24 oct. 2011 ? 21:55:01 (+0200 CEST), Jouni Malinen a ?crit?: > > > > ifconfig wlan0 down > > > > iw wlan0 set type monitor > > > > iw wlan0 set channel 6 HT20 > > > > ifconfig wlan0 up > > > > tcpdump -i wlan0 -s 2500 -w /tmp/capture.dump > > > > > > I cannot get anything to be captured - I have tried from 2 laptops using > > > different drivers with no success. I even manage to stale the whole laptop > > > after bringing the interface up the second time when in monitoring mode. > > Does any of those commands fail? No, everything seems ok. > Which drivers did you use in these tests? brcmsmac and b43 > > OK, I have finally managed to capture something. I had to add a monitor > > interface: iw dev wlan0 interface add mon0 type monitor > > > > I attach both failure and success dumps, in the hope someone can detect > > something. > > Unfortunately, these capture files do not seem to include all frames. > They include mainly information that the sniffer device would have > received normally if it were in station mode. As such, I don't think it > was set to proper monitor mode. mon0 which was captured was in monitoring mode, but not wlan0, which might explain this problem. But when setting wlan0 in monitoring mode, I cannot get anything captured. > Which driver was used in this case? brcmsmac Thanks again for your time. Cheers, Julien -- .''`. Julien Valroff ~ ~ : :' : Debian Developer & Free software contributor `. `'` http://www.kirya.net/ `- 4096R/ E1D8 5796 8214 4687 E416 948C 859F EF67 258E 26B1