<!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! That was the problem. 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">> The driver is rt2800usb and I'm launching it with this command line:</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf</FONT>
There's your problem; you want "-Dnl80211". 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">> On Fri, 2015-04-24 at 10:40 -0500, Dan Williams wrote:</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> > On Fri, 2015-04-24 at 15:37 +0300, Jouni Malinen wrote:</FONT>
<FONT COLOR="#737373">> > > On Thu, Apr 23, 2015 at 04:13:47PM -0700, Marlon Smith wrote:</FONT>
<FONT COLOR="#737373">> > > > Ok I got the logs from wpa_supplicant after it was run by my</FONT>
<FONT COLOR="#737373">> > > > application, and I see this error:</FONT>
<FONT COLOR="#737373">> > > > </FONT>
<FONT COLOR="#737373">> > > > wlan0: Driver does not support AP mode</FONT>
<FONT COLOR="#737373">> > > </FONT>
<FONT COLOR="#737373">> > > Which driver is this?</FONT>
<FONT COLOR="#737373">> > </FONT>
<FONT COLOR="#737373">> > Also (Marlon) are you using the 'nl80211' wpa_supplicant driver or the</FONT>
<FONT COLOR="#737373">> > 'wext' one? What command-line are you launching the supplicant with?</FONT>
<FONT COLOR="#737373">> > </FONT>
<FONT COLOR="#737373">> > Dan</FONT>
<FONT COLOR="#737373">> > </FONT>
<FONT COLOR="#737373">> > _______________________________________________</FONT>
<FONT COLOR="#737373">> > HostAP mailing list</FONT>
<FONT COLOR="#737373">> > <A HREF="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</A></FONT>
<FONT COLOR="#737373">> > <A HREF="http://lists.shmoo.com/mailman/listinfo/hostap">http://lists.shmoo.com/mailman/listinfo/hostap</A></FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> </FONT>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>