Package: ifupdown
Version: 0.6.8+nmu1
Severity: normal

If I do "ifup wlan0" before having plugged my USB wifi dongle, a subsequent
"ifup wlan0" just says "interface wlan0 already configured".

You can try it for yourself:

   # cat /etc/network/interfaces
   iface wlandummy0 inet manual
        wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
   iface default inet dhcp
   # ifup wlandummy0
   [...lots of errors...]
   # ifup wlandummy0
   ifup: interface wlandummy0 already configured
   #

This causes problems for me, where some scripts occasionally blindly try
to start my wlan0 network, causing its "ifstate" to become
inconsistent, so that (for instance) my "allow-hotplug" rule ends up not
working when I plug in the dongle.

Maybe the hotplug code should always do an "ifup --force" to work around
such problems.  Generally, I think the "ifstate" should be handled with
more care.


        Stefan


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

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

Versions of packages ifupdown depends on:
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  lsb-base                      3.2-20     Linux Standard Base 3.2 init scrip
ii  net-tools                     1.60-22    The NET-3 networking toolkit

ifupdown recommends no packages.

Versions of packages ifupdown suggests:
ii  dhcp3-client               3.1.1-6       DHCP client
ii  iproute                    20080725-2    networking and traffic control too
ii  ppp                        2.4.4rel-10.1 Point-to-Point Protocol (PPP) - da

-- debconf information:
  ifupdown/convert-interfaces: true



-- 
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