Bug#362745: [pkg-wpa-devel] Bug#362745: wpasupplicant: Managed mode leaves wpa_supplicant running if ifup fails

Reinhard Tartler siretart at tauware.de
Sat Apr 15 10:53:07 UTC 2006


On Sat, Apr 15, 2006 at 11:46:47AM +0200, Felix Homann wrote:
> If ifup fails on an interface configured to use wpasupplicant's "managed
> mode" a wpa_supplicant process is left running in the background.
> 
> The same happens if you interrupt ifup by pressing CTRL-C before it has 
> finished.
> 
> This has a major effect if you're trying to set up managed mode: If the first 
> attempt fails the second attempt will fail, too.

Perhaps we can add a check in ifupdown.sh if we have already tried to
start an instance of wpasupplicant on this interface, and kill it, if it
is. That way we can cope with possible changes in configuration.

Kel, what do you think?

Gruesse,
	Reinhard
 




More information about the Pkg-wpa-devel mailing list