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

Felix Homann fexpop at onlinehome.de
Sat Apr 15 09:46:47 UTC 2006


Package: wpasupplicant
Version: 0.4.8-3
Severity: normal


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.

How to reproduce this behavior:

Break a working "managed mode" setup by commenting out the wpa-passphrase 
line:

# /etc/network/interfaces:
iface wlan inet dhcp
        wpa-driver wext
        wpa-ssid yourssid
        wpa-key-mgmt WPA-PSK
#        wpa-passphrase Iwonttellyou
        wpa-proto WPA

ifup the interface and wait until ifup gives in. You will still have a 
wpa_supplicant running in the background

Now, uncomment the wpa-passphrase line and try to ifup wlan again. It will 
fail.

Regards,

Felix

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), 
(1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.3-jawaka
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages wpasupplicant depends on:
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries
ii  libncurses5                   5.5-1      Shared libraries for terminal 
hand
ii  libreadline5                  5.1-7      GNU readline and history 
libraries
ii  libssl0.9.8                   0.9.8a-8   SSL shared libraries

wpasupplicant recommends no packages.

-- no debconf information





More information about the Pkg-wpa-devel mailing list