Comment 1 for bug 156413

Revision history for this message
dopez (dopez) wrote :

I can confirm this, it does work when you keep your keys in kwallet but then it asks for your password after logging in.

Here is part of my daemon.log containing an error that it cannot find the key (see the <WARN>), even though it's saved in knetworkmanager's config file, after manually selecting the network it does connect without asking for the key :

Nov 24 10:37:46 p1500 NetworkManager: <info> Updating allowed wireless network lists.
Nov 24 10:37:46 p1500 NetworkManager: <info> Updating VPN Connections...
Nov 24 10:37:46 p1500 NetworkManager: <info> SWITCH: no current connection, found better connection 'eth1'.
Nov 24 10:37:46 p1500 NetworkManager: <info> Will activate connection 'eth1/bruno'.
Nov 24 10:37:46 p1500 NetworkManager: <info> Device eth1 activation scheduled...
Nov 24 10:37:46 p1500 NetworkManager: <info> Activation (eth1) started...
Nov 24 10:37:46 p1500 NetworkManager: <info> Activation (eth1) Stage 1 of 5 (Device Prepare) scheduled...
Nov 24 10:37:46 p1500 NetworkManager: <info> Activation (eth1) Stage 1 of 5 (Device Prepare) started...
Nov 24 10:37:46 p1500 NetworkManager: <info> Activation (eth1) Stage 2 of 5 (Device Configure) scheduled...
Nov 24 10:37:46 p1500 NetworkManager: <info> Activation (eth1) Stage 1 of 5 (Device Prepare) complete.
Nov 24 10:37:46 p1500 NetworkManager: <info> Activation (eth1) Stage 2 of 5 (Device Configure) starting...
Nov 24 10:37:46 p1500 NetworkManager: <info> Activation (eth1/wireless): access point 'bruno' is encrypted, but NO valid key exists. New key needed.
Nov 24 10:37:46 p1500 NetworkManager: <info> Activation (eth1) New wireless user key requested for network 'bruno'.
Nov 24 10:37:46 p1500 NetworkManager: <info> Activation (eth1) Stage 2 of 5 (Device Configure) complete.
Nov 24 10:37:46 p1500 NetworkManager: <info> Old device 'eth1' activating, won't change.
Nov 24 10:37:46 p1500 NetworkManager: <WARN> nm_dbus_get_user_key_for_network_cb(): nm_dbus_get_user_key_for_network_cb(): dbus returned an error. (org.freedesktop.NetworkManagerInfo.GetKeyError) org.freedesktop.NetworkManagerInfo.GetKeyError
Nov 24 10:37:46 p1500 NetworkManager: <info> Activation (eth1) failure scheduled...
Nov 24 10:37:47 p1500 NetworkManager: <info> Activation (eth1) failed for access point (bruno)
Nov 24 10:37:47 p1500 NetworkManager: <info> Activation (eth1) failed.
Nov 24 10:37:47 p1500 NetworkManager: <info> Deactivating device eth1.
Nov 24 10:37:54 p1500 NetworkManager: <debug> [1195897074.092559] nm_device_802_11_wireless_get_activation_ap(): Forcing AP 'bruno'
Nov 24 10:37:54 p1500 NetworkManager: <info> User Switch: /org/freedesktop/NetworkManager/Devices/eth1 / bruno
Nov 24 10:37:54 p1500 NetworkManager: <info> Deactivating device eth1.
Nov 24 10:37:54 p1500 NetworkManager: <info> Device eth1 activation scheduled...
Nov 24 10:37:54 p1500 NetworkManager: <info> Activation (eth1) started...
Nov 24 10:37:54 p1500 NetworkManager: <info> Activation (eth1) Stage 1 of 5 (Device Prepare) scheduled...
Nov 24 10:37:54 p1500 NetworkManager: <info> Activation (eth1) Stage 1 of 5 (Device Prepare) started...
Nov 24 10:37:54 p1500 NetworkManager: <info> Activation (eth1) Stage 2 of 5 (Device Configure) scheduled...
Nov 24 10:37:54 p1500 NetworkManager: <info> Activation (eth1) Stage 1 of 5 (Device Prepare) complete.
Nov 24 10:37:54 p1500 NetworkManager: <info> Activation (eth1) Stage 2 of 5 (Device Configure) starting...
Nov 24 10:37:54 p1500 NetworkManager: <info> Activation (eth1/wireless): access point 'bruno' is encrypted, and a key exists. No new key needed.
Nov 24 10:37:55 p1500 NetworkManager: <info> supplicant_interface_init() - connect to global ctrl socket (0/10).
Nov 24 10:37:55 p1500 NetworkManager: <info> supplicant_interface_init() - connect to global ctrl socket (1/10).
Nov 24 10:37:55 p1500 NetworkManager: <info> SUP: sending command 'INTERFACE_ADD eth1^I^Iwext^I/var/run/wpa_supplicant5^I'
Nov 24 10:37:55 p1500 NetworkManager: <info> SUP: response was 'OK'

... and now it just works like normal.

This is on Kubuntu Gutsy (upgraded from Feisty) with an Intel 2915 wireless card.