<!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>
Oh thanks, yes I should have indicated that I've set these values:<BR>
<BR>
ssid: mynetwork<BR>
key_mgmt: NONE<BR>
wep_key0: 12345<BR>
mode: 2<BR>
frequency: 2412<BR>
ap_scan: 2<BR>
<BR>
I'll run it with the debug arguments and let you know what I get.<BR>
<BR>
On Thu, 2015-04-23 at 16:28 -0500, Dan Williams wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On Thu, 2015-04-23 at 13:57 -0700, Marlon Smith wrote:
<FONT COLOR="#737373">> Hi everyone,</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> I've written an application that allows a user to connect to a wifi</FONT>
<FONT COLOR="#737373">> network. The application uses the dbus interface of wpa supplicant, and</FONT>
<FONT COLOR="#737373">> it works great.</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> I need a way for the user to be able to configure the system as an</FONT>
<FONT COLOR="#737373">> access point as well. I've tried setting mode=2 and frequency=2412 but</FONT>
<FONT COLOR="#737373">> with no luck. I'm thinking I might have to instead use hostapd, but</FONT>
<FONT COLOR="#737373">> that becomes a pain because hostapd kills wpa_supplicant when it starts</FONT>
<FONT COLOR="#737373">> and has no dbus interfaces that I can find.</FONT>
You also want to set the Interface object's 'ap_scan' variable to '2',
same as for adhoc mode.
But beyond that, it should just work if the driver supports AP mode.
What errors are you getting? Can you share some supplicant debug logs?
You can run the supplicant with "-dddtu" arguments alone and that should
enable the dbus interface and provide verbose debugging output.
Dan
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>