[oe] wpa-supplicant 0.6.7 interface functions broken

Michael Lippautz michael.lippautz at gmail.com
Fri Oct 2 13:38:43 UTC 2009


Hej all,

Just posting here because someone on irc told me it would be faster than
using the bugtracker.

wpa-supplicant 0.6.7 (as currently prefered by angstrom) is quite
unusable when used in an automatic startup sequence
(/etc/network/interfaces and its up/down scripts). It works when used as
standalone program though.

The problem(s):
wpa-supplicant-0.6.7/functions.sh:
* The variables WPA_SUP_BIN and WPA_CLI_BIN are pointing nowhere.
* WPA_SUP_LOGFILE="syslog" doesn't work because the -s flag is not
understood.
* Generally the -f flag (used for logging)  is not understood by
wpa_supplicant. Although --help shows that it should be.

Solution(?):
Version 0.6.9 looks fine concerning the scripts. Although i don't know
whether the syslog/file-logging flag are supported.

The script 'files/ifupdown.sh' also looks a bit weird using something
like (line 95 cont.):

|PHASE="pre-up"
echo "WPA: Configuring Interface"
case "$PHASE" in
...
|
Has this package been restructured? It looks like that the commit
http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=6aea479c251050e0d13ae01b98c7a35da393b41f
did screw things up because the partially wrong config files were set up
for this recipe.

Couldn't test 0.6.9 so far but maybe it should be set as prefered
version in the configs.
Bug is online at: http://bugs.openembedded.org/show_bug.cgi?id=5323

Regards,
Michael





More information about the Openembedded-devel mailing list