Janusz solution by adding second interface works for me, tested on a ath9k card. iw wlan0 interface add wlan0_1 type managed ifconfig wlan0_1 hw ether <new_mac> Running hostapd on wlan0 and wpa_supplicant on wlan_1. I was able to scan (wpa_cli scan) without "ioctl[SIOCSIWSCAN]: Operation not supported Failed to initiate AP scan." error while hostapd is running. Is this configuration also available in Realtek RTL8188EU card? http://cateee.net/lkddb/web-lkddb/R8188EU.html It is a USB wireless card, I'm trying to configure it on kernel 2.6.32.27 (ARM926EJ-S) with BusyBox's iw and ip. night ---------------------------------------- Subject: Re: Running hostapd and wpa_supplicant on the same interface To: ilan.peer@xxxxxxxxx; nightdecoder@xxxxxxxx; hostap@xxxxxxxxxxxxxxxxxxx From: a@xxxxxxxxxxx Date: Thu, 21 Jan 2016 22:16:03 +0800 On 21/01/16 22:12, Peer, Ilan wrote: > This is not always possible when the AP interface is already beaconing. For this to work the driver needs to report NL80211_FEATURE_AP_SCAN, and you need to specify 'ap-force' in the iw scan command. > right, thanks for clarifying! Which basically means "every device not supporting HW scan". ok, I am digressing :) Cheers, -- Antonio Quartulli _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap