Package: wireless-tools Version: 29~pre22-1 Severity: minor The post-down script should check if the interface still exists. For example the madwifi script could already have deleted the VAP.
--- /etc/network/if-post-down.d/wireless-tools.old 2007-10-05 10:35:16.000000000 +0200 +++ /etc/network/if-post-down.d/wireless-tools 2007-10-05 10:34:58.000000000 +0200 @@ -6,6 +6,9 @@ exit 0 fi +# madwifi-tools could have taken down the VAP already. +/sbin/iwconfig $IFACE 2>&1 |grep 'No such device' && exit 0 + if [ -n "$IF_WIRELESS_MODE" ]; then $IWCONFIG "$IFACE" mode auto fi kind regards, Christopher Zimmermann -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (50, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.21-2-amd64 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages wireless-tools depends on: ii libc6 2.6.1-1 GNU C Library: Shared libraries ii libiw29 29~pre22-1 Wireless tools - library wireless-tools recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]