Simple question about wpa_supplicant conf file.

Piotr Zawadzki pzawadzki at polsl.pl
Mon May 29 14:34:03 EDT 2006


Dnia poniedziałek, 29 maja 2006 14:14, Soft Ergate napisał:
> What is the meaning of "ctrl_interface=/var/run/wpa_supplicant"?
This is a unix socket. Programs that control behaviour of the supplicant
send commands and receive its status by writing to or reading from this file. 
> Does that indicate the path of control program(wpa_cli)? if so, how does
> wpa_supplicant use the path?
wpa_supplicant just creates that socket and waits for the incoming commands 
from the controlling program (wpa_cli or wpa_gui).
> In fact, the program "wpa_cli" is always in the same directory with
> wpa_supplicant.
It doesn't matter -- wpa_cli have to know where the socket was created and 
some default locations are usually compiled in.

-- 
Piotr Zawadzki,
PGP: http://www.keyserver.net/



More information about the HostAP mailing list