Package: wireless-tools
Version: 30~pre9-2
Severity: important

I saw that you move conffile from pre-up.d to up.d. Your justification is
that some (most ?) drivers need the interface to be up to do the settings.

You cannot do that: ifup.d scripts are executed when the interface has already
its IP. However, wireless settings (WEP, ESSID, ...) are required *before*
dhcp (dhcp3-client in my case) is run, ie *before* the IP is set.

So, I think you must revert to the settings (scripts in pre-up.d and not in
up.d). For network cards requiring the interface to be up, there are two
possibility:
- the user add a line in its stanza in /e/n/i:
  pre-up ifconfig $IFACE up
- you add such a line in your pre-up.d script (here, you might wish to
  do that only if the interface is not already up AND if you have to do some
  settings so that you do not conflict with other kind of interface setup.
  You might also want to offer a option so the user can explicitely decide
  if he wants its interface set up or not) 


  For other users hit by this bug, a simple workaround is to make a symlink
from up.d/wireless to pre-up.d/wireless

[it means you will have to deals with such kind of local config when you
restore the old behavior]

  Regards,
    Vincent

-- System Information:
Debian Release: squeeze/sid
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing'), (500, 
'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages wireless-tools depends on:
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
ii  libiw30                       30~pre9-2  Wireless tools - library

wireless-tools recommends no packages.

wireless-tools suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to