Package: hostapd Version: 1:0.5.7-1 Severity: normal Tags: patch Launching hostapd via /etc/network/interfaces using the hostapd statement in an interface definiton does not work when using madwifi (and configuring that via /e/n/i, too). hostapd fails to start due to non-existing interface. The reason for this is, that /etc/network/if-pre-up.d/hostapd is run before /etc/network/if-pre-up.d/madwifi which in the first place creates the wireless interface hostapd is going to work on.
While arguably the madwidi script should run earlier as other scripts might also assume the interface invoked upon to exist, there also is /etc/network/if-pre-up.d/wireless-tools which could set some settings one likes to be set before hostapd starts. Therefore I think /etc/network/if-pre-up.d/hostapd should be run later and filed this bug against hostapd. Renaming /etc/network/if-pre-up.d/hostapd to /etc/network/if-pre-up.d/zz-hostapd fixed this. elmar -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i586) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-4-486 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages hostapd depends on: ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries ii libssl0.9.8 0.9.8c-4 SSL shared libraries ii lsb-base 3.1-23.1 Linux Standard Base 3.1 init scrip hostapd recommends no packages. -- no debconf information -- .'"`. /"\ | :' : Elmar Hoffmann <[EMAIL PROTECTED]> ASCII Ribbon Campaign \ / `. `' GPG key available via pgp.net against HTML email X `- & vCards / \
signature.asc
Description: Digital signature