<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
</HEAD>
<BODY>
Yep, thanks Dan!&nbsp; That was the problem.&nbsp; It's working now.<BR>
<BR>
On Fri, 2015-04-24 at 13:54 -0500, Dan Williams wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On Fri, 2015-04-24 at 10:20 -0700, Marlon Smith wrote:
<FONT COLOR="#737373">&gt; The driver is rt2800usb and I'm launching it with this command line:</FONT>
<FONT COLOR="#737373">&gt; </FONT>
<FONT COLOR="#737373">&gt;  wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf</FONT>

There's your problem; you want &quot;-Dnl80211&quot;.  The supplicant/hostapd WEXT
driver does not support AP mode.  I'll bet your hostapd config is using
the nl80211 driver, and you need to use that one with wpa_supplicant
too.

Dan

<FONT COLOR="#737373">&gt; On Fri, 2015-04-24 at 10:40 -0500, Dan Williams wrote:</FONT>
<FONT COLOR="#737373">&gt; </FONT>
<FONT COLOR="#737373">&gt; &gt; On Fri, 2015-04-24 at 15:37 +0300, Jouni Malinen wrote:</FONT>
<FONT COLOR="#737373">&gt; &gt; &gt; On Thu, Apr 23, 2015 at 04:13:47PM -0700, Marlon Smith wrote:</FONT>
<FONT COLOR="#737373">&gt; &gt; &gt; &gt; Ok I got the logs from wpa_supplicant after it was run by my</FONT>
<FONT COLOR="#737373">&gt; &gt; &gt; &gt; application, and I see this error:</FONT>
<FONT COLOR="#737373">&gt; &gt; &gt; &gt; </FONT>
<FONT COLOR="#737373">&gt; &gt; &gt; &gt; wlan0: Driver does not support AP mode</FONT>
<FONT COLOR="#737373">&gt; &gt; &gt; </FONT>
<FONT COLOR="#737373">&gt; &gt; &gt; Which driver is this?</FONT>
<FONT COLOR="#737373">&gt; &gt; </FONT>
<FONT COLOR="#737373">&gt; &gt; Also (Marlon) are you using the 'nl80211' wpa_supplicant driver or the</FONT>
<FONT COLOR="#737373">&gt; &gt; 'wext' one?  What command-line are you launching the supplicant with?</FONT>
<FONT COLOR="#737373">&gt; &gt; </FONT>
<FONT COLOR="#737373">&gt; &gt; Dan</FONT>
<FONT COLOR="#737373">&gt; &gt; </FONT>
<FONT COLOR="#737373">&gt; &gt; _______________________________________________</FONT>
<FONT COLOR="#737373">&gt; &gt; HostAP mailing list</FONT>
<FONT COLOR="#737373">&gt; &gt; <A HREF="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</A></FONT>
<FONT COLOR="#737373">&gt; &gt; <A HREF="http://lists.shmoo.com/mailman/listinfo/hostap">http://lists.shmoo.com/mailman/listinfo/hostap</A></FONT>
<FONT COLOR="#737373">&gt; </FONT>
<FONT COLOR="#737373">&gt; </FONT>


</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>