Simple question about wpa_supplicant conf file.

Piotr Zawadzki pzawadzki
Mon May 29 11:34:03 PDT 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,

More information about the Hostap mailing list