Your message dated Mon, 28 Nov 2005 12:43:33 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#339448: patch to prevent loopback interface from being set 
wireless properties
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 16 Nov 2005 11:41:11 +0000
>From [EMAIL PROTECTED] Wed Nov 16 03:41:11 2005
Return-path: <[EMAIL PROTECTED]>
Received: from [82.149.231.169] (helo=nsi16.miniserver.de)
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1EcLf5-00089D-2J
        for [EMAIL PROTECTED]; Wed, 16 Nov 2005 03:41:11 -0800
Received: from Soofa.Home (163.red-83-50-160.dynamicip.rima-tde.net 
[83.50.160.163])
        by nsi16.miniserver.de (nsi16.miniserver.de) with ESMTP id 2DBE68AC014
        for <[EMAIL PROTECTED]>; Wed, 16 Nov 2005 12:22:55 +0100 (CET)
Date: Wed, 16 Nov 2005 12:41:52 +0100
From: Jacobo <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: patch to prevent loopback interface from being set wireless
 properties
Message-ID: <[EMAIL PROTECTED]>
X-Mailer: Sylpheed-Claws 1.9.14 (GTK+ 2.6.10; i486-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.3 required=4.0 tests=BAYES_01,FORGED_HOTMAIL_RCVD2,
        FROM_ENDS_IN_NUMS,HAS_PACKAGE autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02

Package: wireless-tools
Version: 27+28pre10-1

/etc/network/if-pre-up.d/wireless-tools doesn't check if $IFACE == lo
At startup, ifup is called as "ifup -a" from /etc/init.d/networks and 
therefore, if the systems is set with "auto lo", it will subsequently call 
wireless-tools script for the loopback interface too.
Obviously, the loopback interface doe snot have essid, rate, mode, etc 
properties so it will fail and annoy with messages on every property that the 
script tries to set to it.

To avoid this, just add at the beginning of the file (right after #! /bin/sh):

if [ x"$IFACE" = xlo ]; then
  exit 0
fi

This way the script will ignore when called to set loopback interface 
properties.

Almost all systems have a loopback interface set to auto ("auto lo" in 
/etc/network/interfaces), so this bug is reproducible almost everywhere.

NOTE: This happens at startup only, not later, since restarting the networks 
script will call ifup with --exclude=lo and therefore will not call the 
wireles-tools script for the lo interface. To check the error messages, see 
/var/log/boot. They are like this: 

Wed Nov 16 12:21:23 2005: Configuring network interfaces...Error for wireless 
request "Set ESSID" (8B1A) :
Wed Nov 16 12:21:24 2005:     SET failed on device lo ; Operation not supported.

Greets.

---------------------------------------
Received: (at 339448-done) by bugs.debian.org; 28 Nov 2005 11:43:48 +0000
>From [EMAIL PROTECTED] Mon Nov 28 03:43:48 2005
Return-path: <[EMAIL PROTECTED]>
Received: from postduif.warande.net ([145.97.193.212])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1EghQC-0002yu-JB
        for [EMAIL PROTECTED]; Mon, 28 Nov 2005 03:43:48 -0800
Received: from 163pc223.sshunet.nl (163pc223.sshunet.nl [145.97.223.163])
        by postduif.warande.net (Postfix) with ESMTP id 4C58817B4AF;
        Mon, 28 Nov 2005 12:43:34 +0100 (CET)
Received: from xar.sliepen.oi ([EMAIL PROTECTED] [127.0.0.1])
        by xar.sliepen.oi (8.13.5/8.13.5/Debian-3) with ESMTP id jASBhY4v001196
        (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
        Mon, 28 Nov 2005 12:43:34 +0100
Received: (from [EMAIL PROTECTED])
        by xar.sliepen.oi (8.13.5/8.13.5/Submit) id jASBhYob001195;
        Mon, 28 Nov 2005 12:43:34 +0100
Date: Mon, 28 Nov 2005 12:43:33 +0100
From: Guus Sliepen <[EMAIL PROTECTED]>
To: Jacobo <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Bug#339448: patch to prevent loopback interface from being set 
wireless properties
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL 
PROTECTED]> <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="KM+e2hnYAO+MCJ5e"
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
X-oi: oi
User-Agent: Mutt/1.5.11
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02


--KM+e2hnYAO+MCJ5e
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Nov 17, 2005 at 03:21:03AM +0100, Jacobo wrote:

> No, I changedthe wireless-tools script to begin with
> IF_WIRELESS_ESSID=3D"xxx" so that all wireless interfaces connect to the
> same essid. I also set MODE and RATE since all my wireless card are
> almost the same and I have just a single AP. This way I don't have to
> set it for every interface but just once and the interfaces file looks
> much more consistent and interface-type independent.  What's more, I
> thought this was the way to do it. I now see it is not and I should
> move that to every wlan interface in my intercaces file (which is just
> one on my desktop but three in the laptop).

Ok. I'm closing this bug, if you disagree, feel free to reopen it.

--=20
Met vriendelijke groet / with kind regards,
    Guus Sliepen <[EMAIL PROTECTED]>

--KM+e2hnYAO+MCJ5e
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDiu1lAxLow12M2nsRAhrBAJ0Tr0Sd5FoV5JjIlv69X85ygfIRKQCeOaoo
NuqBHN8U67eOXC4e3W8EMTI=
=RLWn
-----END PGP SIGNATURE-----

--KM+e2hnYAO+MCJ5e--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to