Creating an access point with wpa_supplicant via dbus interface

Dan Williams dcbw
Fri Apr 24 11:54:03 PDT 2015


On Fri, 2015-04-24 at 10:20 -0700, Marlon Smith wrote:
> The driver is rt2800usb and I'm launching it with this command line:
> 
>  wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf

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

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





More information about the Hostap mailing list