wpa_supplicant to hostapd dynamically

Drasko DRASKOVIC drasko.draskovic
Tue Apr 15 10:15:38 PDT 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