wpa_supplicant in daemon mode with out any interface details

Jouni Malinen j
Thu Jan 24 18:44:56 PST 2008

On Mon, Jan 21, 2008 at 12:47:28PM +0530, Sukku wrote:

> I am searching for a solution "How to start wpa_supplicant in daemon mode
> with out giving any configuration and interface options, so that I can give
> the detials by wpa_cli when ever I required to connect."

Please take a look at the README file and the "Dynamic interface add and
operation without configuration files" section..

> I have two interfaces eth0 and wlan0,  some times I use eth0 and some times
> wlan0 for connectivity.  So what I am thinking is, I will start
> wpa_supplicant as a startup script by without giving any interface, username
> and password deatils. After booting up, depending upon my requirement I will
> pass the details to wpa_supplicant daemon by wpa_cli.
> Can any tell me, is this works or not?

Yes and it is all documented in the README..

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list