RE: Running hostapd and wpa_supplicant on the same interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Hostap [mailto:hostap-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> Antonio Quartulli
> Sent: Thursday, January 21, 2016 15:54
> To: night decoder; hostap@xxxxxxxxxxxxxxxxxxx
> Subject: Re: Running hostapd and wpa_supplicant on the same interface
> 
> 
> 
> 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.

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.

Regards,

Ilan.

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux