Running hostapd and wpa_supplicant on the same interface

Janusz Dziedzic janusz.dziedzic at tieto.com
Thu Jan 21 05:33:03 PST 2016


On 21 January 2016 at 14:14, night decoder <nightdecoder at live.com> wrote:
> Hi List,
>
> Is that possible to run wpa_supplicant while hostapd is running on the same interface?
>
You can use same hw for AP/STA in case your driver support this configuration.

You can add net interface eg.
iw wlan0 interface add wlan0_1 type managed
ifconfig wlan0_1 hw ether <new_mac>

Next, if your driver support this configuration, you can use wlan0 and wlan0_1.

BR
Janusz

> My device will need too act as AP firstly, then after being configured by a client which connected to it's AP it could connect to another AP which it was supplied. Problem is when in AP mode, can I scan the SSID with wap_supplicant without leaving hostapd first? Can i do it seamlessly?
>
> Cheers,
> night
> _______________________________________________
> Hostap mailing list
> Hostap at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/hostap



More information about the Hostap mailing list