[pkg-wpa-devel] Bug#545766: wpasupplicant: wpa-roam doesnt work w/ physical logical interface map; wpa_action produced "already configured" error.

Volker Klasen reklov at unitedklasens.de
Thu Feb 18 00:40:02 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: wpasupplicant
Version: 0.6.10-1

> Modifying the /etc/network/interfaces & changing nueromatic to wlan1 works as expected: wpa_action initiates the default profile, starting dhcp & everythings great & as expected.  Issue appears to originate from the physical-logical mapping, wlan1=nueromatic, which causes the "interface wlan1 already configured" error.  

In /etc/wpa_supplicant/functions.sh, line 964 the script test wether the
 interface ($WPA_IFACE) is already up. If so, it adds the option
"--force" to the call to /sbin/ifup to suppress the mentioned error.

The testing is done by comparing the contents of ifstate file
($IFSTATE_FILE) to "^$WPA_IFACE=$WPA_IFACE". If this would be only
compared to "^$WPA_IFACE=" it should fix the error.

Best regards,

Volker
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkt8jGIACgkQgKD4KXUzSrhIJACglM6cbRMiP4biwDtqTv2S5aYn
KyIAoNiZJxMSBvRctu82PEVZwuM+fCN6
=LxZ4
-----END PGP SIGNATURE-----





More information about the Pkg-wpa-devel mailing list