[Pkg-utopia-maintainers] Bug#642912: network-manager 0.9.0-2 fails with numeric SSIDs

Steven Price ecrips at gmail.com
Sun Sep 25 15:49:15 UTC 2011


Package: network-manager
Version: 0.8.4.0-2
Severity: grave
Justification: renders package unusable

I upgraded to network-manager 0.9.0-2 and then was unable to connect to my
wireless network. Downgrading to 0.8.4-3 solved the problem.

Investigating I discovered that the SSID of my network "16" is causing the
wrong information to be passed to wpa_supplicant. When running with 0.8.4-3 the
NetworkManager log contains:

NetworkManager[8757]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare)
co
mplete.
NetworkManager[8757]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure)
starting...
NetworkManager[8757]: <info> (wlan0): device state change: 4 -> 5 (reason 0)
NetworkManager[8757]: <info> Activation (wlan0/wireless): connection 'Auto 16'
h
as security, and secrets exist.  No new secrets needed.
NetworkManager[8757]: <info> Config: added 'ssid' value '16'
NetworkManager[8757]: <info> Config: added 'scan_ssid' value '1'
NetworkManager[8757]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
NetworkManager[8757]: <info> Config: added 'psk' value '<omitted>'

(note the config added 'ssid' value '16' line).

When running with 0.9.0-2 I get the following log:

NetworkManager[10076]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare)
c
omplete.
NetworkManager[10076]: <info> Activation (wlan0) Stage 2 of 5 (Device
Configure)
 starting...
NetworkManager[10076]: <info> (wlan0): device state change: prepare -> config
(r
eason 'none') [40 50 0]
NetworkManager[10076]: <info> Activation (wlan0/wireless): connection '16' has
s
ecurity, and secrets exist.  No new secrets needed.
NetworkManager[10076]: <info> Config: added 'ssid' value '^P'
NetworkManager[10076]: <info> Config: added 'scan_ssid' value '1'
NetworkManager[10076]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
NetworkManager[10076]: <info> Config: added 'auth_alg' value 'OPEN'
NetworkManager[10076]: <info> Config: added 'psk' value '<omitted>'

Note that the ssid value is now ^P which is character code 16 - the actual log
contains the control character.

So it looks like something is treating the SSID as a number and converting that
to a character code instead of treating it as an opaque string.

I run gnome as my desktop with nm-applet (network-manager-gnome).



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (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.14-1   
ii  isc-dhcp-client        4.1.1-P1-17
ii  libc6                  2.13-21    
ii  libdbus-1-3            1.4.14-1   
ii  libdbus-glib-1-2       0.94-4     
ii  libgcrypt11            1.5.0-3    
ii  libglib2.0-0           2.28.6-1   
ii  libgnutls26            2.12.10-2  
ii  libgudev-1.0-0         172-1      
ii  libnl1                 1.1-7      
ii  libnm-glib2            0.8.4.0-2  
ii  libnm-util1            0.8.4.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-3    

Versions of packages network-manager recommends:
ii  dnsmasq-base  2.58-2  
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

-- no debconf information





More information about the Pkg-utopia-maintainers mailing list