Strange error message while trying to start wpa_supplicant

Jouni Malinen j
Fri Mar 5 08:25:11 PST 2010

On Fri, Mar 05, 2010 at 02:27:32PM +0100, Florian Hercher wrote:
> your config is invalid. The control interface stuff should look like this:
> ---
> ctrl_interface=/var/run/wpa_supplicant
> ctrl_interface_group=wheel
> ---

No, it shouldn't. That is the deprecated way of configuring this and the
one shown below is correct:

> On Friday 05 March 2010 14:16:00 Claude Frantz wrote:
> > Line 1: unknown global field 'ctrl_interface=DIR=/var/run/wpa_supplicant
> > GROUP=wheel'.
> > Line 1: Invalid configuration line
> > 'ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel'.

The issue here is that wpa_supplicant was built without support for
control interface (CONFIG_CTRL_IFACE=unix in .config) and because of
that, the ctrl_interface parameter is not supported.

> > What is wrong in this first line ? If I change it to a comment line, no
> > problem occurs, but no ctrl_interface is present, of course.

You will need to add control interface support into the build, i.e.,
into .config and rebuild (make clean; make) wpa_supplicant.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list