[pkg-wpa-devel] Bug#488078: Bug#488078: wpasupplicant: exit 0 in ifupdown.sh keeps wpa_cli and wpa_supplicant running

Kel Modderman kel at otaku42.de
Mon Jul 7 08:24:55 UTC 2008


On Monday 07 July 2008 17:48:48 Tino Keitel wrote:
> On Sun, Jul 06, 2008 at 18:02:31 +1000, Kel Modderman wrote:
> > On Thursday 26 June 2008 16:40:38 Tino Keitel wrote:
> > > Package: wpasupplicant
> > > Version: 0.6.3-2
> > > Severity: normal
> > > 
> > > Hi,
> > > 
> > > when I do ifdown wlan0, the processes wpa_cli and wpa_supplicant are not
> > > killed. 
> > 
> > That is intended.
> > 
> > > A later ifup wlan0 doesn't work because wpa_supplicant doesn't seem 
> > > to re-associate, at least not within 3 minutes.
> > > 
> > > With the attached patch both processes are killed and ifup wlan0 works as
> > > intended.
> > > 
> > > I use the wpa-roam feature.
> > 
> > The patch break roaming.
> 
> OK, thanks.
> 
> But how is ifup/ifdown supposed to work then?

The documentation specifies the use of wpa_action(8) for stopping the
wpa-roam controlled interface.

I have made patches to allow admin to call "ifup/ifdown" on interface
controlled by wpa-roam, but the interface is not always configured with
respect to ifupdown, for example when not currently associated with network.
Otherwise, wpa-roam interface must be killed by same tool that controls it;
/sbin/wpa_action

Thanks, Kel.





More information about the Pkg-wpa-devel mailing list