Strange error message while trying to start wpa_supplicant

Florian Hercher fh at embeddedwireless.de
Fri Mar 5 08:27:32 EST 2010


Hi,
your config is invalid. The control interface stuff should look like this:
---
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
---

regards

On Friday 05 March 2010 14:16:00 Claude Frantz wrote:
> Hello Folk !
>
> I have compiled wpa_supplicant-0.6.10. "uname -a" results in "Linux
> localhost.localdomain 2.6.31.12-174.2.22.fc12.i686.PAE #1 SMP Fri Feb 19
> 19:10:04 UTC 2010 i686 i686 i386 GNU/Linux".
>
> When trying to start wpa_supplicant using
> "/usr/local/bin/wpa_supplicant -Dwext -iwlan0
> -c/etc/wpa_supplicant/wpa_supplicant.conf  -d", the following message
> appears:
>
> Initializing interface 'wlan0' conf
> '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface
> 'N/A' bridge 'N/A'
> Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' ->
> '/etc/wpa_supplicant/wpa_supplicant.conf'
> Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
> 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'.
> Priority group 0
>     id=0 ssid='.........'
>     id=1 ssid='.........'
>     id=2 ssid='.........'
>     id=3 ssid='.........'
> Failed to read or parse configuration
> '/etc/wpa_supplicant/wpa_supplicant.conf'.
> Failed to add interface wlan0
> Cancelling scan request
> Cancelling authentication timeout
>
> 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.
>
> Thanks a lot !
>
> Claude
>
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap




More information about the HostAP mailing list