<p dir="ltr">Hi,</p>
<p dir="ltr">WPA supplicant itself can be used to start AP daemon with network configuration block having setting mode=2. Check if that suits your requirement.</p>
<p dir="ltr">Thanks,<br>
Avinash</p>
<div class="gmail_quote">On Apr 15, 2014 10:46 PM, &quot;Drasko DRASKOVIC&quot; &lt;<a href="mailto:drasko.draskovic@gmail.com">drasko.draskovic@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
Staring wpa_supplicant daemon and hostapd over the same interface at<br>
the same time is not possible.<br>
<br>
I have however application that has to use an interface in STA mode<br>
for some time, and then in AP mode, then back to STA, etc... Currently<br>
to have this mode change I am killing wpa_supplicant and starting<br>
hostapd process, and vice versa. But this looks like an ugly solution.<br>
<br>
I was wondering is it possible to start wpa_supplicant and then turn<br>
it to be hostapd somehow via D-Bus API?<br>
<br>
Best regards,<br>
Drasko<br>
_______________________________________________<br>
HostAP mailing list<br>
<a href="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</a><br>
<a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br>
</blockquote></div>