<div class="gmail_quote">Package: network-manager<br><div>Content-Type: text/plain; charset="us-ascii"</div><div>MIME-Version: 1.0</div><div>Content-Transfer-Encoding: 7bit</div><div>From: Jesse Rhodes <<a href="mailto:drubo@drubo.net" target="_blank">drubo@drubo.net</a>></div>

<div>To: Debian Bug Tracking System <<a href="mailto:submit@bugs.debian.org" target="_blank">submit@bugs.debian.org</a>></div><div>Subject: network-manager: Incorrectly autodetects SSID type</div><div>X-Debbugs-Cc: <a href="mailto:drubo@drubo.net" target="_blank">drubo@drubo.net</a></div>

<div><br></div><div>Package: network-manager</div><div>Version: 0.9.0-2</div><div>Severity: normal</div><div><br></div><div>My wireless SSID is "802". Today, I installed network-manager 0.9.0-2 (along</div><div>

with plasma-widget-networkmanagement) from Wheezy in order to have a more</div><div>unified GUI experience. The widget has no apparent issues, it shows my wireless interface </div><div>and the available networks. But when I select 802, it shows a successful connection for a very brief moment (less than 1sec)</div>

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

<div><br></div><div>AP Security: none, open</div><div>kernel module: iwl3945</div><div><br></div><div>A snippet of dmesg from when it attempts the connection: </div><div><br></div><div>NetworkManager[5899]: get_uchar_array: 802-11-wireless / ssid ignoring invalid byte element '802' (not  between 0 and 255 inclusive)</div>

<div>NetworkManager[5899]: ssid_parser: ignoring invalid SSID for 802-11-wireless / ssid</div><div>NetworkManager[5899]:    keyfile:     error: invalid or missing connection property 'ssid'</div><div>NetworkManager[5899]: <info> (wlan0): device state change: config -> disconnected (reason 'connection-removed') [50 30 38]</div>

<div>NetworkManager[5899]: <info> (wlan0): deactivating device (reason: 38).</div><div><br></div><div>I discussed this issue with the developers in <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #nm :</div>
<div>
<br></div><div><dcbw> sney: I believe that's fixed in current git; you'll want mbiebl to grab 965d5860ab35df3df586278dfba80fa89e30029a and apply it to the Debian pacakges</div><div><dcbw> it's a problem with reading and writing the keyfile key for 'ssid'</div>

<div><dcbw> originally it was a uint list, since ssids are not strings</div><div><dcbw> then because many ssids are strings, we allowed strings</div><div><dcbw> but then we need to handle old configs too, so we needed to autodetect the string vs. intlist thing</div>

<div><dcbw> sney: but your bug isn't completely fixed, I'll need to fix it for you a bit later today</div><div><br></div><div>I haven't heard back from him yet, but I'll add any further updates to this bug report when I get them. </div>

<div><br></div><div>Please let me know if you need anything else. I check email regularly and can also be found on <a href="http://irc.oftc.net" target="_blank">irc.oftc.net</a> #debian with the handle 'sney'.</div>
<div><br></div>
<div>-- System Information:</div><div>Debian Release: wheezy/sid</div><div>  APT prefers testing</div><div>  APT policy: (990, 'testing')</div><div>Architecture: i386 (i686)</div><div><br></div><div>Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)</div>

<div>Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)</div><div>Shell: /bin/sh linked to /bin/dash</div><div><br></div><div>Versions of packages network-manager depends on:</div><div>ii  adduser                3.113      </div>

<div>ii  dbus                   1.4.16-1   </div><div>ii  isc-dhcp-client        4.1.1-P1-17</div><div>ii  libc6                  2.13-21    </div><div>ii  libdbus-1-3            1.4.16-1   </div><div>ii  libdbus-glib-1-2       0.98-1     </div>

<div>ii  libgcrypt11            1.5.0-3    </div><div>ii  libglib2.0-0           2.28.6-1   </div><div>ii  libgnutls26            2.12.11-1  </div><div>ii  libgudev-1.0-0         172-1      </div><div>ii  libnl1                 1.1-7      </div>

<div>ii  libnm-glib4            0.9.0-2    </div><div>ii  libnm-util2            0.9.0-2    </div><div>ii  libpolkit-gobject-1-0  0.102-1    </div><div>ii  libuuid1               2.19.1-5   </div><div>ii  lsb-base               3.2-28     </div>

<div>ii  udev                   172-1      </div><div>ii  wpasupplicant          0.7.3-4    </div><div><br></div><div>Versions of packages network-manager recommends:</div><div>ii  dnsmasq-base  2.58-3  </div><div>ii  iptables      1.4.12-1</div>

<div>ii  modemmanager  0.5-1   </div><div>ii  policykit-1   0.102-1 </div><div>ii  ppp           2.4.5-5 </div><div><br></div><div>Versions of packages network-manager suggests:</div><div>ii  avahi-autoipd  0.6.30-5</div>

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

<br></div><div>-- no debconf information</div><div><br></div>
</div><br>