From: Jouni Malinen Date: Thu, 27 Oct 2011 23:27:58 +0300 Subject: [ath9k-devel] Can't associate with a particular AP In-Reply-To: <20111027191353.GB16822@kirya.net> References: <20111015045128.GP20598@kirya.net> <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> Message-ID: <20111027202758.GA9080@jouni.qca.qualcomm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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? Which drivers did you use in these tests? > 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. Which driver was used in this case? -- Jouni Malinen PGP id EFC895FA