Running hostapd and wpa_supplicant on the same interface

Antonio Quartulli a at unstable.cc
Thu Jan 21 05:53:50 PST 2016



On 21/01/16 21:14, night decoder wrote:
> Hi List,
> 
> Is that possible to run wpa_supplicant while hostapd is running on the same interface?
> 
> 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?

In order to scan you can also use iw or nl80211 to perform a scan by
using the AP interface. There is no need to kill hostapd and use
wpa_supplicant in this case.

-- 
Antonio Quartulli

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/hostap/attachments/20160121/dff81d4c/attachment.sig>


More information about the Hostap mailing list