Package: wireless-tools
Version: 29-2
Severity: normal
Tags: patch

For some time now, wireless-tools installs two identical configuration
scripts in /etc/network/if-pre-up.d/ and /etc/network/if-up.d/.
A while ago I noticed that I lost network connectivity right after dhclient
fetched an address from ser DHCP server. After debugging this, I noticed
that the script /etc/network/if-up.d/wireless-tools reconfigured my wlan card
and thus broke the association with the access points - which was of course not
needed, since a connection was already established.

I thought about simply deleting the unused script, however I created a small
patch to add a configuration option to specify when configuration should take 
place.

Adding "wireless-postconf no" or "wireless-preconf no" to the network 
configuration
will now disable the specified script, the default case is still to run both 
scripts.

I am however unsure how that if-up script is supposed to work - assuming dhcp 
is used,
a wlan connection must have been established prior to the script run. 
Otherwise, the
user would have to wait quite a long time until dhclient withdraws into 
background.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

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

Versions of packages wireless-tools depends on:
ii  libc6                         2.9-25     GNU C Library: Shared libraries
ii  libiw29                       29-1.1     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