Package: ifupdown Version: 0.6.7 Severity: normal Hi,
I am using the madwifi-ng driver from http://www.madwifi.org and use the following in my /etc/network/interfaces file: ------------------------------------snip--------------------------------- allow-hotplug ath0 iface ath0 inet dhcp pre-up start-stop-daemon -S -p /var/run/wpa/ath0.pid -o --exec /usr/local/sbin/wpa_supplicant.sh post-down start-stop-daemon -K -p /var/run/wpa/ath0.pid -o post-down ifconfig ath0 down up /sbin/iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE down /sbin/iptables -t nat -D POSTROUTING -o ath0 -j MASQUERADE allow-auto wifi0 allow-hotplug wifi0 iface wifi0 inet manual pre-up modprobe ath_pci up modprobe wlan_scan_sta up wlanconfig ath0 create wlandev wifi0 wlanmode sta #locks, report as bug # down ifdown --force ath0 down wlanconfig ath0 destroy down modprobe -r wlan_scan_sta post-down modprobe -r ath_pci ------------------------------------snip--------------------------------- The lines that commented out should be in there though to make sure that the ath0 device goes down before wifi0 does (just to sync ifup). However, that ifdown call does not succeed: 1033 pts/4 S 0:00 ifdown wifi0 1034 pts/4 S 0:00 ifdown --force ath0 Calling one after the other works. This seems to be a bug. HS -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Versions of packages ifupdown depends on: ii debconf [debconf-2.0] 1.4.66 Debian configuration management sy ii libc6 2.3.5-8 GNU C Library: Shared libraries an ii net-tools 1.60-17 The NET-3 networking toolkit ifupdown recommends no packages. -- debconf information: ifupdown/convert-interfaces: true
pgpNY3uyOV5Kp.pgp
Description: PGP signature

