Package: wpasupplicant Version: 0.3.7-1 Severity: wishlist Please add a hotplug.d/net script to automatically start wpasupplicant for new interfaces. The system ifplugd uses is excellent; the hotplug script calls the /etc/init.d/ifplugd script with an extra interface parameter to keep starting code central, and /etc/default/ifplugd defines what interfaces to start at boottime and what at plug-in time.
Hotplugging support would require autodetection of what wpasupplicant driver to use for the interface though. I created autodetection for 4 of the 7 supported drivers in the attached hotplug script I have hacked up for my own use. Of these 4 I only am able to test the ndiswrapper detection unfortunately. The methods for the remaining 3 drivers are only missing because I didn't put more than a few google searches of work into those. The detection should probably move out of this script to a seperate executable so it can be reused upstream. :) -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.10-1-686-smp Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages wpasupplicant depends on: ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libssl0.9.7 0.9.7e-3 SSL shared libraries -- no debconf information
wpa_supplicant.hotplug
Description: application/shellscript