<div>Hi,</div><div><br></div>I was able to figure out one of my problems. The devices in master mode using hostapd now transmit periodic beacon messages. I followed the directions of setting up hostapd to the dot, and that worked out. I am not sure which part made the difference. Here are the links for whomever might have the same problem: <meta http-equiv="content-type" content="text/html; charset=utf-8"><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://acx100.erley.org/stable.html">http://acx100.erley.org/stable.html</a>, <a href="http://www.robert-heyward.com/rjh/?page_id=12">http://www.robert-heyward.com/rjh/?page_id=12</a><div>
<br></div><div>However, I still have the problem that the sniffer (monitor interface) running on the same device that is running hostapd in master mode does not capture beacon messages. I had two devices, with the same hostapd configuration and PC card, run on the same channel, and they wouldn&#39;t capture each others beacon messages. I had another device with a different PC card run in monitor mode, and it did receive beacon messages from the mentioned two devices.</div>
<div><br></div><div>I then ran one of the devices with only a monitoring interface, and it was able to capture beacon messages from the other. Why is it that the monitor interface stops capturing beacon messages when hostapd (i.e. another interface in master/AP mode) is running on the same machine?</div>
<div><br></div><div>I would greatly appreciate any insight.</div><div><br></div><div>Thank you for your time,</div><div>Lara</div><div><br><br><div class="gmail_quote">On Wed, Feb 9, 2011 at 3:19 PM, Lara Deek <span dir="ltr">&lt;<a href="mailto:laradeek@cs.ucsb.edu">laradeek@cs.ucsb.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><div><br></div><div>Thank you for your reply Jouni.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Date: Sun, 6 Feb 2011 13:13:12 +0200<br>





From: Jouni Malinen &lt;<a href="mailto:j@w1.fi" target="_blank">j@w1.fi</a>&gt;<br>
Subject: Re: No beacon activity<br>
To: <a href="mailto:hostap@lists.shmoo.com" target="_blank">hostap@lists.shmoo.com</a><div class="im"><br>
<br>
On Thu, Feb 03, 2011 at 10:53:50AM -0800, Lara Deek wrote:<br>
&gt; 1) I am running a sniffer on the same machine A that is running hostapd. The<br>
&gt; sniffer does not capture beacon messages (only captures probe request and<br>
&gt; response packets, both broadcast and unicast). I ran a sniffer from another<br>
&gt; machine B (with a different card) in monitor mode, and B does in fact<br>
&gt; capture beacon messages (but never from A). Is there any reason why I do not<br>
&gt; sniff beacon frames on A? How can I fix this?<br>
<br></div>
The actual Beacon frame transmission is not done by mac80211 and there<br>
is no mechanism for the driver to indicate that a Beacon frame was<br>
transmitted since this is not normally needed for anything. What would<br>
you be using the Beacon frames for in the local sniffer?<br>
<br></blockquote><div><br></div><div>The beacons I would like machine A to capture are those of its neighboring APs, to identify which APs can potentially conflict with it if they are on the same channel. A does not capture any beacons, but only captures probe request (broadcast) and response messages.</div>





<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
&gt; 2) I understand that hostapd only configures mac80211 with a template and<br>
&gt; beacon interval, but does not actually send beacons. Is enabling beacon<br>
&gt; transmission related to the firmware or driver? I have an AirMagnet C1060 PC<br>
&gt; card with an an Atheros, ath9k support, chipset that is not sending beacon<br>
&gt; messages. How should enable beacon transmission?<br>
<br></div>
The driver is responsible for configuring Beacon frame transmissions.<br>
<br>
How exactly did you verify that the card is not sending out Beacon<br>
frames? Have you used another device in monitor mode to check that?<br>
<br></blockquote><div><br></div><div>Yes, I have used another device in monitor mode (with an Ubiquiti SRC 802.11a/b/g MCX card with an AR5004 chipset), which captures beacons from sources but never from A. A has an <a href="http://www.airmagnet.com/assets/AirMagnet_802.11abgn_WirelessPCcard_TechSpec.pdf" target="_blank">AirMagnet card</a> which has an AR5416+AR5133 ath9k supported chipset. I am not sure whether the issues I am facing are actually due to limitations of the 802.11n PC card I am using. Unfortunately, the card has no online support.</div>

<div><br></div><div>Otherwise, I am correctly configuring hostapd on A to run in master mode. After running hostapd, running iwconfig on A indicates that it is in master mode. The only problem is that there is no beacon activity. I would appreciate any insight on what the problem could be.</div>

<div><br></div><div>Thank you,</div><div>Lara</div>



<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
--<br>
Jouni Malinen                                            PGP id EFC895FA<br></blockquote></div>
</blockquote></div><br></div>