[Pkg-utopia-maintainers] Bug#645685: network-manager: Incorrectly autodetects SSID type

Jesse Rhodes drubo at drubo.net
Mon Oct 17 19:59:50 UTC 2011


Package: network-manager
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Jesse Rhodes <drubo at drubo.net>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: network-manager: Incorrectly autodetects SSID type
X-Debbugs-Cc: drubo at drubo.net

Package: network-manager
Version: 0.9.0-2
Severity: normal

My wireless SSID is "802". Today, I installed network-manager 0.9.0-2 (along
with plasma-widget-networkmanagement) from Wheezy in order to have a more
unified GUI experience. The widget has no apparent issues, it shows my
wireless interface
and the available networks. But when I select 802, it shows a successful
connection for a very brief moment (less than 1sec)
and then immediately disconnects.

The connection to this AP works with iwconfig/ifconfig/dhclient, it works
managed from /etc/network/interfaces, it works under wicd.
802 has been my SSID since 2007 and this is the first time that has been a
problem.

AP Security: none, open
kernel module: iwl3945

A snippet of dmesg from when it attempts the connection:

NetworkManager[5899]: get_uchar_array: 802-11-wireless / ssid ignoring
invalid byte element '802' (not  between 0 and 255 inclusive)
NetworkManager[5899]: ssid_parser: ignoring invalid SSID for 802-11-wireless
/ ssid
NetworkManager[5899]:    keyfile:     error: invalid or missing connection
property 'ssid'
NetworkManager[5899]: <info> (wlan0): device state change: config ->
disconnected (reason 'connection-removed') [50 30 38]
NetworkManager[5899]: <info> (wlan0): deactivating device (reason: 38).

I discussed this issue with the developers in irc.freenode.net #nm :

<dcbw> sney: I believe that's fixed in current git; you'll want mbiebl to
grab 965d5860ab35df3df586278dfba80fa89e30029a and apply it to the Debian
pacakges
<dcbw> it's a problem with reading and writing the keyfile key for 'ssid'
<dcbw> originally it was a uint list, since ssids are not strings
<dcbw> then because many ssids are strings, we allowed strings
<dcbw> but then we need to handle old configs too, so we needed to
autodetect the string vs. intlist thing
<dcbw> sney: but your bug isn't completely fixed, I'll need to fix it for
you a bit later today

I haven't heard back from him yet, but I'll add any further updates to this
bug report when I get them.

Please let me know if you need anything else. I check email regularly and
can also be found on irc.oftc.net #debian with the handle 'sney'.

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

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

Versions of packages network-manager depends on:
ii  adduser                3.113
ii  dbus                   1.4.16-1
ii  isc-dhcp-client        4.1.1-P1-17
ii  libc6                  2.13-21
ii  libdbus-1-3            1.4.16-1
ii  libdbus-glib-1-2       0.98-1
ii  libgcrypt11            1.5.0-3
ii  libglib2.0-0           2.28.6-1
ii  libgnutls26            2.12.11-1
ii  libgudev-1.0-0         172-1
ii  libnl1                 1.1-7
ii  libnm-glib4            0.9.0-2
ii  libnm-util2            0.9.0-2
ii  libpolkit-gobject-1-0  0.102-1
ii  libuuid1               2.19.1-5
ii  lsb-base               3.2-28
ii  udev                   172-1
ii  wpasupplicant          0.7.3-4

Versions of packages network-manager recommends:
ii  dnsmasq-base  2.58-3
ii  iptables      1.4.12-1
ii  modemmanager  0.5-1
ii  policykit-1   0.102-1
ii  ppp           2.4.5-5

Versions of packages network-manager suggests:
ii  avahi-autoipd  0.6.30-5

-- Configuration Files:
/etc/NetworkManager/NetworkManager.conf changed:
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=true


-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20111017/2bc53a25/attachment.html>


More information about the Pkg-utopia-maintainers mailing list