scanning/wpa client while in hostapd mode

Jouni Malinen j at w1.fi
Tue Mar 8 13:24:50 PST 2016


On Mon, Mar 07, 2016 at 06:25:57PM +0000, Fred Ollinger wrote:
> Most Android phones allow for one to connect to an access point as a client and to serve an access point at the same time to allow a computer with wifi to connect to the Internet via one's mobile plan.
> 
> I'm trying to do the same with hostapd, but it seems like when wpa_supplicant is running, hostapd fails.

Could you please provide more details on how this fails, which netdevs
you are using and how they were created, and which WLAN driver are you
using?

> Is there a workaround? If so, can you please point out where in the documentation? If there is no documentation, but this is a feature we have, I'll be happy to document this from the source code if pointed in the right direction.

It is difficult to say much more without knowing more about the details
of how exactly the configuration is done. With number of drivers, it
should be possible to do this with wpa_supplicant and hostapd, but it
would also be possible to use wpa_supplicant to control both the station
and AP mode interfaces concurrently.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list