From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benoit PAPILLAULT Date: Sun, 17 Jan 2010 09:18:30 +0100 Subject: [ath9k-devel] Monitor mode question In-Reply-To: References: Message-ID: <4B52C7D6.50306@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Lenin Ravindranath S a ?crit : > Hi, > > I am new to ath9k. I have a DWA-642 card and I am trying to set it in > monitor mode to inject and receive packets. > > I did > > iw dev wlan0 interface add fish0 type monitor > ifconfig fish0 up > > > I have two problems > 1. The interface is able to get only packets which has destination > address as a broadcast address (FF:FF:FF:FF:FF:FF) and not every packet > in the air. That's not expected. Maybe you should set the channel as well : iw dev fish0 set channel 1 > > 2. Whatever rate I set in radiotap header to inject packet, the packet > goes out at only 1Mbps. I tried to use both packetspammer and "click > router" to try to inject packets. Indeed, that's not implemented. There are patches to do it however. > > Am I missing some flags/settings? Yes. What kernel are you using? > > Thanks > Lenin Regards, Benoit