"iwlist scan" while hostapd running
nicolas.cavallari at green-communications.fr
Mon Oct 21 14:26:39 EDT 2013
On 21/10/2013 18:13, ramon at nanoair.com wrote:
> I am using hostapd to create an adhoc WPA secured wifi network,
> everything is working fine. From another machine I can connect with no
> However when hostapd is running, the command:
> iwlist wlan0 scan
> wlan0 Interface doesn't support scanning : Operation not supported
> If I kill the hostapd process and bring up the wlan0 interface then
> iwlist wlan0 scan works perfectly.
> I want to be able to scan while hostapd is running.
> How to do this?
iwlist is obsolete, stop using it. Use iw instead.
iw has an "ap-force" option that forces scanning even when in AP mode.
Of course, this may temporarily break connection to clients.
iw wlan0 scan ap-force
More information about the HostAP