wpa_supplicant to hostapd dynamically

Drasko DRASKOVIC drasko.draskovic at gmail.com
Tue Apr 15 13:15:38 EDT 2014


Hi all,
Staring wpa_supplicant daemon and hostapd over the same interface at
the same time is not possible.

I have however application that has to use an interface in STA mode
for some time, and then in AP mode, then back to STA, etc... Currently
to have this mode change I am killing wpa_supplicant and starting
hostapd process, and vice versa. But this looks like an ugly solution.

I was wondering is it possible to start wpa_supplicant and then turn
it to be hostapd somehow via D-Bus API?

Best regards,
Drasko


More information about the HostAP mailing list