Your message dated Tue, 03 Apr 2007 01:17:03 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#411867: fixed in network-manager 0.6.4-7 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)
--- Begin Message ---Package: network-manager Version: 0.6.4-6 Severity: important Tags: patch Since a recent upgrade network-manager no longer lists my WEP enabled access point as protected; no padlock is shown in the menu. When selecting this AP no keys are loaded. When we find a WEP enabled access point we will accumulate its 'capabilities' in add_capabilities_from_cipher(). For WEP this is handled with the following stanza: if (cipher & IW_AUTH_CIPHER_WEP40) { caps |= (NM_802_11_CAP_PROTO_WEP & NM_802_11_CAP_CIPHER_WEP40); caps &= ~NM_802_11_CAP_PROTO_NONE; } So if we find a WEPnn cypher we bitwise or in (WEP bitwise and WEP40) to the capabilities: #define NM_802_11_CAP_PROTO_WEP 0x000000 #define NM_802_11_CAP_CIPHER_WEP40 0x000010 However, the bitwise and of these two is 0, so we will or in nothing. This leads to the access point being listed on your menus without the normal padlock, and no keys are requested or loaded. I applied the patch below, rebuilt and reinstalled and it appears to fix things up. === 8< === commit 0cdd2bc4dc75ca6f14785de998cbd96be396b35e Author: Andy Whitcroft <[EMAIL PROTECTED]> Date: Wed Feb 21 13:53:37 2007 +0000 fix capability bit handling, fixing WEP Access Points When we find a WEP enabled access point we will accumulate its 'capabilities' in add_capabilities_from_cipher(). For WEP this is handled with the following stanza: if (cipher & IW_AUTH_CIPHER_WEP40) { caps |= (NM_802_11_CAP_PROTO_WEP & NM_802_11_CAP_CIPHER_WEP40); caps &= ~NM_802_11_CAP_PROTO_NONE; } So if we find a WEPnn cypher we bitwise or in (WEP bitwise and WEP40) to the capabilities: #define NM_802_11_CAP_PROTO_WEP 0x000000 #define NM_802_11_CAP_CIPHER_WEP40 0x000010 However, the bitwise and of these two is 0, so we will or in nothing. This leads to the access point being listed on your menus without the normal padlock, and no keys are requested or loaded. Change this to bitwise or. Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> diff --git a/src/NetworkManagerAP.c b/src/NetworkManagerAP.c index 2f5c027..cc02308 100644 --- a/src/NetworkManagerAP.c +++ b/src/NetworkManagerAP.c @@ -572,12 +572,12 @@ static guint32 add_capabilities_from_cipher (guint32 caps, int cipher) { if (cipher & IW_AUTH_CIPHER_WEP40) { - caps |= (NM_802_11_CAP_PROTO_WEP & NM_802_11_CAP_CIPHER_WEP40); + caps |= (NM_802_11_CAP_PROTO_WEP | NM_802_11_CAP_CIPHER_WEP40); caps &= ~NM_802_11_CAP_PROTO_NONE; } if (cipher & IW_AUTH_CIPHER_WEP104) { - caps |= (NM_802_11_CAP_PROTO_WEP & NM_802_11_CAP_CIPHER_WEP104); + caps |= (NM_802_11_CAP_PROTO_WEP | NM_802_11_CAP_CIPHER_WEP104); caps &= ~NM_802_11_CAP_PROTO_NONE; } if (cipher & IW_AUTH_CIPHER_TKIP) === 8< === -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-3-686 Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) Versions of packages network-manager depends on: ii adduser 3.102 Add and remove users and groups ii dbus 1.0.2-1 simple interprocess messaging syst ii dhcdbd 2.0-2 D-Bus interface to the ISC DHCP cl ii hal 0.5.8.1-6.1 Hardware Abstraction Layer ii ifupdown 0.6.8 high level tools to configure netw ii iproute 20061002-3 Professional tools to control the ii iputils-arping 3:20020927-6 Tool to send ICMP echo requests to ii libc6 2.3.6.ds1-11 GNU C Library: Shared libraries ii libdbus-1-3 1.0.2-1 simple interprocess messaging syst ii libdbus-glib-1-2 0.71-3 simple interprocess messaging syst ii libgcrypt11 1.2.3-2 LGPL Crypto library - runtime libr ii libglib2.0-0 2.12.4-2 The GLib library of C routines ii libgpg-error0 1.4-1 library for common error values an ii libhal1 0.5.8.1-6.1 Hardware Abstraction Layer - share ii libiw28 28-1 Wireless tools - library ii libnl1-pre6 1.0~pre6-2 Library for dealing with netlink s ii libnm-util0 0.6.4-6 network management framework (shar ii lsb-base 3.1-23 Linux Standard Base 3.1 init scrip ii wpasupplicant 0.5.5-2 Client support for WPA and WPA2 (I network-manager recommends no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: network-manager Source-Version: 0.6.4-7 We believe that the bug you reported is fixed in the latest version of network-manager, which is due to be installed in the Debian FTP archive: libnm-glib-dev_0.6.4-7_i386.deb to pool/main/n/network-manager/libnm-glib-dev_0.6.4-7_i386.deb libnm-glib0_0.6.4-7_i386.deb to pool/main/n/network-manager/libnm-glib0_0.6.4-7_i386.deb libnm-util-dev_0.6.4-7_i386.deb to pool/main/n/network-manager/libnm-util-dev_0.6.4-7_i386.deb libnm-util0_0.6.4-7_i386.deb to pool/main/n/network-manager/libnm-util0_0.6.4-7_i386.deb network-manager-dev_0.6.4-7_i386.deb to pool/main/n/network-manager/network-manager-dev_0.6.4-7_i386.deb network-manager-gnome_0.6.4-7_i386.deb to pool/main/n/network-manager/network-manager-gnome_0.6.4-7_i386.deb network-manager_0.6.4-7.diff.gz to pool/main/n/network-manager/network-manager_0.6.4-7.diff.gz network-manager_0.6.4-7.dsc to pool/main/n/network-manager/network-manager_0.6.4-7.dsc network-manager_0.6.4-7_i386.deb to pool/main/n/network-manager/network-manager_0.6.4-7_i386.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Michael Biebl <[EMAIL PROTECTED]> (supplier of updated network-manager package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Tue, 03 Apr 2007 02:21:57 +0200 Source: network-manager Binary: libnm-util-dev network-manager-gnome network-manager-dev libnm-util0 libnm-glib0 network-manager libnm-glib-dev Architecture: source i386 Version: 0.6.4-7 Distribution: unstable Urgency: low Maintainer: Utopia Maintenance Team <[EMAIL PROTECTED]> Changed-By: Michael Biebl <[EMAIL PROTECTED]> Description: libnm-glib-dev - network management framework (GLib interface) libnm-glib0 - network management framework (GLib shared library) libnm-util-dev - network management framework (development files) libnm-util0 - network management framework (shared library) network-manager - network management framework daemon network-manager-dev - network management framework (development files) network-manager-gnome - network management framework (GNOME frontend) Closes: 372466 402436 406241 411867 414187 415642 Changes: network-manager (0.6.4-7) unstable; urgency=low . * debian/control - Add Recommends: network-manager-gnome | network-manager-kde to network-manager. - Add Recommends: libpam-keyring to network-manager-gnome. This allows to unlock the gnome-keyring automatically upon login. - Add Recommends: network-manager-vpnc, network-manager-openvpn to network-manager-gnome. (Closes: #406241) - Add XS-Vcs-* fields. - Add Depends: gnome-icon-theme to network-manager-gnome, which fixes a problem with nm-applet failing to start because of missing icons. (Closes: #372466) - Change maintainer address to [EMAIL PROTECTED] Add Riccardo and myself to Uploaders. * debian/patches/12_dbus1.0.patch - Updated to unref rather than close the D-Bus connection. * debian/patches/13-wep_capabilities.patch - Correctly set the available WEP capabilities. (Closes: #411867) Thanks to Andy Whitcroft for the patch! * debian/network-manager-gnome.README.Debian - Add a README.Debian file for network-manager-gnome. (Closes: #414187) * debian/patches/14-po_de.patch - Added. Small fix for the German translation. * debian/patches/05-debian_backend.patch - Updated. Set status variable to return code of ifup/ifdown. (Closes: #415642) - Only invalidate the nscd hosts cache when nscd is actually installed. (Closes: #402436) - Remove mDNSResponder restart from nm_system_restart_mdns_responder(). mDNSResponder has been obsoleted by Avahi which does not need a restart. Files: 9079d5cb5fe99ac9df6b329061ae6c2a 1249 net optional network-manager_0.6.4-7.dsc 09b1dd1c452e6363a614fae2978d3329 21497 net optional network-manager_0.6.4-7.diff.gz 747db69fe6b204e5bebc6b5f12fd18d6 240032 net optional network-manager_0.6.4-7_i386.deb 6b20acaa40c6ef26f5179f3523eeb696 374592 gnome optional network-manager-gnome_0.6.4-7_i386.deb ff7181cbc661b027624f179b2e211d9b 112136 devel optional network-manager-dev_0.6.4-7_i386.deb 64ebb57adfbf70f57704a84a18adaeda 117850 libs optional libnm-glib0_0.6.4-7_i386.deb 34121fc88a2b376fa2dda4d2a24894ee 117862 libdevel optional libnm-glib-dev_0.6.4-7_i386.deb 7c48994d6cddbbecf839b5284851ab54 123646 libs optional libnm-util0_0.6.4-7_i386.deb 7bdf5676019d984bb11a39b2d7131f6a 125950 libdevel optional libnm-util-dev_0.6.4-7_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGEab3h7PER70FhVQRAiIUAJ4wpdujRP7EGgp4eUm7YlqOKFJvbQCgkMAP KQwNVoOzpsY87RGmkYKfPd0= =gbXM -----END PGP SIGNATURE-----
--- End Message ---

