[Pkg-utopia-maintainers] Bug#461932: network-manager: NetworkManager fails to connect to WPA network

Arnout Boelens aboelens at engin.umass.edu
Mon Jan 21 15:21:02 UTC 2008


Package: network-manager
Version: 0.6.5-4
Severity: normal

I am trying to connect to a WPA encrypted network with NetworkManager, but it
won't work. I found the following lines in /var/log/daemon.log, which might
contain a hint of what is going on:

Jan 21 10:02:35 bird NetworkManager: <debug> [1200927755.578822] nm_device_802_11_wireless_get_activation_ap(): Forcing AP 'wireless_network' 
Jan 21 10:03:03 bird NetworkManager: <info>  Error opening supplicant global control interface. 
Jan 21 10:03:03 bird NetworkManager: <WARN>  real_act_stage2_config(): Activation (eth2/wireless): couldn't connect to the supplicant. 

I am using the ipw3945 intel wireless driver. Below the complete
/var/log/daemon.log of NetworkManager trying to connect:

Jan 21 09:54:00 bird ntpd[3986]: Listening on interface #9 eth2, 172.20.70.95#123 Enabled
Jan 21 10:02:35 bird NetworkManager: <debug> [1200927755.578822] nm_device_802_11_wireless_get_activation_ap(): Forcing AP 'wireless_network' 
Jan 21 10:02:35 bird NetworkManager: <info>  User Switch: /org/freedesktop/NetworkManager/Devices/eth2 / wireless_network 
Jan 21 10:02:35 bird NetworkManager: <info>  Deactivating device eth2. 
Jan 21 10:02:35 bird dhclient: There is already a pid file /var/run/dhclient.eth2.pid with pid 29708
Jan 21 10:02:35 bird dhclient: killed old client process, removed PID file
Jan 21 10:02:35 bird dhclient: option_space_encapsulate: option space agent does not exist, but is configured.
Jan 21 10:02:35 bird dhclient: DHCPRELEASE on eth2 to 172.20.70.254 port 67
Jan 21 10:02:35 bird avahi-daemon[3998]: Withdrawing address record for 172.20.70.95 on eth2.
Jan 21 10:02:35 bird avahi-daemon[3998]: Leaving mDNS multicast group on interface eth2.IPv4 with address 172.20.70.95.
Jan 21 10:02:35 bird avahi-daemon[3998]: Interface eth2.IPv4 no longer relevant for mDNS.
Jan 21 10:02:36 bird avahi-daemon[3998]: Withdrawing address record for fe80::213:2ff:fe3e:933d on eth2.
Jan 21 10:02:36 bird avahi-daemon[3998]: Leaving mDNS multicast group on interface eth2.IPv6 with address fe80::213:2ff:fe3e:933d.
Jan 21 10:02:36 bird avahi-daemon[3998]: Interface eth2.IPv6 no longer relevant for mDNS.
Jan 21 10:02:36 bird NetworkManager: <info>  Device eth2 activation scheduled... 
Jan 21 10:02:36 bird NetworkManager: <info>  Activation (eth2) started... 
Jan 21 10:02:36 bird NetworkManager: <info>  Activation (eth2) Stage 1 of 5 (Device Prepare) scheduled... 
Jan 21 10:02:36 bird NetworkManager: <info>  Activation (eth2) Stage 1 of 5 (Device Prepare) started... 
Jan 21 10:02:36 bird NetworkManager: <info>  Activation (eth2) Stage 2 of 5 (Device Configure) scheduled... 
Jan 21 10:02:36 bird NetworkManager: <info>  Activation (eth2) Stage 1 of 5 (Device Prepare) complete. 
Jan 21 10:02:36 bird NetworkManager: <info>  Activation (eth2) Stage 2 of 5 (Device Configure) starting... 
Jan 21 10:02:36 bird NetworkManager: <info>  Activation (eth2/wireless): access point 'wireless_network' is encrypted, but NO valid key exists.  New key needed. 
Jan 21 10:02:36 bird NetworkManager: <info>  Activation (eth2) New wireless user key requested for network 'wireless_network'. 
Jan 21 10:02:36 bird NetworkManager: <info>  Activation (eth2) Stage 2 of 5 (Device Configure) complete. 
Jan 21 10:02:44 bird NetworkManager: <info>  Activation (eth2) New wireless user key for network 'wireless_network' received. 
Jan 21 10:02:44 bird NetworkManager: <info>  Activation (eth2) Stage 1 of 5 (Device Prepare) scheduled... 
Jan 21 10:02:44 bird NetworkManager: <info>  Activation (eth2) Stage 1 of 5 (Device Prepare) started... 
Jan 21 10:02:44 bird NetworkManager: <info>  Activation (eth2) Stage 2 of 5 (Device Configure) scheduled... 
Jan 21 10:02:44 bird NetworkManager: <info>  Activation (eth2) Stage 1 of 5 (Device Prepare) complete. 
Jan 21 10:02:44 bird NetworkManager: <info>  Activation (eth2) Stage 2 of 5 (Device Configure) starting... 
Jan 21 10:02:44 bird NetworkManager: <info>  Activation (eth2/wireless): access point 'wireless_network' is encrypted, and a key exists.  No new key needed. 
Jan 21 10:02:45 bird avahi-daemon[3998]: Joining mDNS multicast group on interface eth2.IPv6 with address fe80::213:2ff:fe3e:933d.
Jan 21 10:02:45 bird avahi-daemon[3998]: New relevant interface eth2.IPv6 for mDNS.
Jan 21 10:02:45 bird avahi-daemon[3998]: Registering new address record for fe80::213:2ff:fe3e:933d on eth2.*.
Jan 21 10:02:45 bird NetworkManager: <info>  SUP: sending command 'INTERFACE_ADD eth2^I^Iwext^I/var/run/wpa_supplicant^I' 
Jan 21 10:02:45 bird NetworkManager: <info>  SUP: response was 'OK' 
Jan 21 10:02:45 bird NetworkManager: <info>  SUP: sending command 'AP_SCAN 1' 
Jan 21 10:02:45 bird NetworkManager: <info>  SUP: response was 'OK' 
Jan 21 10:02:45 bird NetworkManager: <info>  SUP: sending command 'ADD_NETWORK' 
Jan 21 10:02:45 bird NetworkManager: <info>  SUP: response was '0' 
Jan 21 10:02:45 bird NetworkManager: <info>  SUP: sending command 'SET_NETWORK 0 ssid 6d757468756c6162' 
Jan 21 10:02:45 bird NetworkManager: <info>  SUP: response was 'OK' 
Jan 21 10:02:45 bird NetworkManager: <info>  SUP: sending command 'SET_NETWORK 0 proto WPA' 
Jan 21 10:02:45 bird NetworkManager: <info>  SUP: response was 'OK' 
Jan 21 10:02:45 bird NetworkManager: <info>  SUP: sending command 'SET_NETWORK 0 key_mgmt WPA-PSK' 
Jan 21 10:02:45 bird NetworkManager: <info>  SUP: response was 'OK' 
Jan 21 10:02:45 bird NetworkManager: <info>  SUP: sending command 'SET_NETWORK 0 psk <key>' 
Jan 21 10:02:45 bird NetworkManager: <info>  SUP: response was 'OK' 
Jan 21 10:02:45 bird NetworkManager: <info>  SUP: sending command 'ENABLE_NETWORK 0' 
Jan 21 10:02:45 bird NetworkManager: <info>  SUP: response was 'OK' 
Jan 21 10:02:45 bird NetworkManager: <info>  Activation (eth2) Stage 2 of 5 (Device Configure) complete. 
Jan 21 10:02:53 bird NetworkManager: <info>  Activation (eth2/wireless): disconnected during association, asking for new key. 
Jan 21 10:02:53 bird NetworkManager: <info>  Activation (eth2) New wireless user key requested for network 'wireless_network'. 
Jan 21 10:03:00 bird NetworkManager: <info>  Activation (eth2) New wireless user key for network 'wireless_network' received. 
Jan 21 10:03:00 bird NetworkManager: <info>  Activation (eth2) Stage 1 of 5 (Device Prepare) scheduled... 
Jan 21 10:03:00 bird NetworkManager: <info>  Activation (eth2) Stage 1 of 5 (Device Prepare) started... 
Jan 21 10:03:00 bird NetworkManager: <info>  Activation (eth2) Stage 2 of 5 (Device Configure) scheduled... 
Jan 21 10:03:00 bird NetworkManager: <info>  Activation (eth2) Stage 1 of 5 (Device Prepare) complete. 
Jan 21 10:03:00 bird NetworkManager: <info>  Activation (eth2) Stage 2 of 5 (Device Configure) starting... 
Jan 21 10:03:00 bird NetworkManager: <info>  Activation (eth2/wireless): access point 'wireless_network' is encrypted, and a key exists.  No new key needed. 
Jan 21 10:03:01 bird avahi-daemon[3998]: Interface eth2.IPv6 no longer relevant for mDNS.
Jan 21 10:03:01 bird avahi-daemon[3998]: Leaving mDNS multicast group on interface eth2.IPv6 with address fe80::213:2ff:fe3e:933d.
Jan 21 10:03:01 bird avahi-daemon[3998]: Withdrawing address record for fe80::213:2ff:fe3e:933d on eth2.
Jan 21 10:03:03 bird NetworkManager: <info>  Error opening supplicant global control interface. 
Jan 21 10:03:03 bird NetworkManager: <WARN>  real_act_stage2_config(): Activation (eth2/wireless): couldn't connect to the supplicant. 
Jan 21 10:03:03 bird NetworkManager: <info>  Activation (eth2) failure scheduled... 
Jan 21 10:03:03 bird NetworkManager: <info>  Activation (eth2) Stage 2 of 5 (Device Configure) complete. 
Jan 21 10:03:03 bird NetworkManager: <info>  Activation (eth2) failed for access point (wireless_network) 
Jan 21 10:03:03 bird NetworkManager: <info>  Activation (eth2) failed. 
Jan 21 10:03:03 bird NetworkManager: <info>  Deactivating device eth2. 


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (700, 'unstable'), (650, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages network-manager depends on:
ii  adduser              3.105               add and remove users and groups
ii  dbus                 1.1.2-1             simple interprocess messaging syst
ii  dhcdbd               3.0-2               D-Bus interface to the ISC DHCP cl
ii  hal                  0.5.10-5            Hardware Abstraction Layer
ii  ifupdown             0.6.8               high level tools to configure netw
ii  iproute              20080108-1          Professional tools to control the 
ii  iputils-arping       3:20071127-1        Tool to send ICMP echo requests to
ii  libc6                2.7-6               GNU C Library: Shared libraries
ii  libdbus-1-3          1.1.2-1             simple interprocess messaging syst
ii  libdbus-glib-1-2     0.74-1              simple interprocess messaging syst
ii  libgcrypt11          1.4.0-3             LGPL Crypto library - runtime libr
ii  libglib2.0-0         2.14.5-2            The GLib library of C routines
ii  libgpg-error0        1.4-2               library for common error values an
ii  libhal1              0.5.10-5            Hardware Abstraction Layer - share
ii  libiw29              29-1                Wireless tools - library
ii  libnl1-pre8          1.0~pre8-1          Library for dealing with netlink s
ii  libnm-util0          0.6.5-4             network management framework (shar
ii  lsb-base             3.1-24              Linux Standard Base 3.1 init scrip
ii  wpasupplicant        0.6.1~git20071119-1 Client support for WPA and WPA2 (I

Versions of packages network-manager recommends:
ii  network-manager-kde           1:0.2-2+b1 KDE systray applet for controlling

-- no debconf information





More information about the Pkg-utopia-maintainers mailing list