No AP mode operation with ap_scan=1 if no matching network is found

Jouni Malinen j at w1.fi
Sat Jul 23 11:07:47 PDT 2016


On Mon, Jul 11, 2016 at 02:37:58PM +0200, Jörg Krause wrote:
> I figured out that wpa_supplicant does not go into AP mode operation
> because the network is marked as "disabled".
> 
> This is because of the command "select_network" I switch to the network
> I configured before.
> 
> So do I have to run "enable_network 0" (id=0 for sssid AP_MODE) every
> time after running "select_network"?

"SELECT_NETWORK <network id>" is indeed disabling all other network
profiles apart from the select one. You would need to enable the desired
other network after this command, e.g., with "ENABLE_NETWORK <id/all>" or
"SELECT_NETWORK all".

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list