Comment 50 for bug 446394

Psy[H[] (vovik-wfa) wrote :

With latest updates from NM trunk ppa I was not able to connect to WPA protected network

I've created the network on first computer with "WPA & WPA2 Personal" password. Creation was successful. But when I tried to connect to it from another computer, I could not enter the password (see screenshot).

Then I tried to create a profile for the network on second computer. It gave the ability to set WPA password. But connection attempts were futile:
Jan 6 17:59:21 mindflash2 NetworkManager: <info> (wlan0): bringing up device.
Jan 6 17:59:21 mindflash2 kernel: [ 869.308340] Registered led device: iwl-phy0::radio
Jan 6 17:59:21 mindflash2 kernel: [ 869.308381] Registered led device: iwl-phy0::assoc
Jan 6 17:59:21 mindflash2 kernel: [ 869.308416] Registered led device: iwl-phy0::RX
Jan 6 17:59:21 mindflash2 kernel: [ 869.308448] Registered led device: iwl-phy0::TX
Jan 6 17:59:21 mindflash2 kernel: [ 869.349037] wlan0: Trigger new scan to find an IBSS to join
Jan 6 17:59:21 mindflash2 kernel: [ 869.498386] Registered led device: iwl-phy0::radio
Jan 6 17:59:21 mindflash2 kernel: [ 869.498478] Registered led device: iwl-phy0::assoc
Jan 6 17:59:21 mindflash2 kernel: [ 869.498503] Registered led device: iwl-phy0::RX
Jan 6 17:59:21 mindflash2 kernel: [ 869.498526] Registered led device: iwl-phy0::TX
Jan 6 17:59:21 mindflash2 kernel: [ 869.542113] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Jan 6 17:59:21 mindflash2 NetworkManager: <info> (wlan0): supplicant interface state: starting -> ready
Jan 6 17:59:21 mindflash2 NetworkManager: <info> (wlan0): device state change: 2 -> 3 (reason 42)
Jan 6 17:59:21 mindflash2 wpa_supplicant[1193]: CTRL-EVENT-SCAN-RESULTS
Jan 6 17:59:21 mindflash2 wpa_supplicant[1193]: WPS-AP-AVAILABLE
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Activation (wlan0) starting connection 'Auto wtc1'
Jan 6 17:59:24 mindflash2 NetworkManager: <info> (wlan0): device state change: 3 -> 4 (reason 0)
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Jan 6 17:59:24 mindflash2 NetworkManager: <info> (wlan0): device state change: 4 -> 5 (reason 0)
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Activation (wlan0/wireless): connection 'Auto wtc1' has security, and secrets exist. No new secrets needed.
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Config: added 'ssid' value 'wtc1'
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Config: added 'mode' value '1'
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Config: added 'key_mgmt' value 'WPA-NONE'
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Config: added 'psk' value '<omitted>'
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Config: added 'proto' value 'WPA'
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Config: added 'pairwise' value 'NONE'
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Config: added 'group' value 'TKIP'
Jan 6 17:59:24 mindflash2 NetworkManager: nm_setting_802_1x_get_pkcs11_engine_path: assertion `NM_IS_SETTING_802_1X (setting)' failed
Jan 6 17:59:24 mindflash2 NetworkManager: nm_setting_802_1x_get_pkcs11_module_path: assertion `NM_IS_SETTING_802_1X (setting)' failed
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Config: set interface ap_scan to 2
Jan 6 17:59:24 mindflash2 NetworkManager: <info> (wlan0): supplicant connection state: scanning -> disconnected
Jan 6 17:59:24 mindflash2 wpa_supplicant[1193]: CTRL-EVENT-SCAN-RESULTS
Jan 6 17:59:24 mindflash2 wpa_supplicant[1193]: Trying to associate with SSID 'wtc1'
Jan 6 17:59:24 mindflash2 NetworkManager: <info> (wlan0): supplicant connection state: disconnected -> scanning
Jan 6 17:59:24 mindflash2 kernel: [ 872.308299] Registered led device: iwl-phy0::radio
Jan 6 17:59:24 mindflash2 kernel: [ 872.308366] Registered led device: iwl-phy0::assoc
Jan 6 17:59:24 mindflash2 kernel: [ 872.308390] Registered led device: iwl-phy0::RX
Jan 6 17:59:24 mindflash2 kernel: [ 872.308413] Registered led device: iwl-phy0::TX
Jan 6 17:59:24 mindflash2 NetworkManager: <info> (wlan0): supplicant connection state: scanning -> associating
Jan 6 17:59:24 mindflash2 wpa_supplicant[1193]: Association request to the driver failed
Jan 6 17:59:24 mindflash2 kernel: [ 872.345207] wlan0: Selected IBSS BSSID 2a:32:73:0f:6f:d7 based on configured SSID
Jan 6 17:59:24 mindflash2 wpa_supplicant[1193]: CTRL-EVENT-CONNECTED - Connection to 00:00:00:00:00:00 completed (auth) [id=-1 id_str=]
Jan 6 17:59:24 mindflash2 NetworkManager: <info> (wlan0): supplicant connection state: associating -> completed
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Activation (wlan0/wireless) Stage 2 of 5 (Device Configure) successful. Connected to wireless network 'wtc1'.
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) scheduled.
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) started...
Jan 6 17:59:24 mindflash2 NetworkManager: <info> (wlan0): device state change: 5 -> 7 (reason 0)
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Activation (wlan0) Beginning DHCP transaction (timeout in 45 seconds)
Jan 6 17:59:24 mindflash2 NetworkManager: <info> dhclient started with pid 4798
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Activation (wlan0) Stage 4 of 5 (IP6 Configure Get) scheduled...
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) complete.
Jan 6 17:59:24 mindflash2 dhclient: Internet Systems Consortium DHCP Client V3.1.2
Jan 6 17:59:24 mindflash2 dhclient: Copyright 2004-2008 Internet Systems Consortium.
Jan 6 17:59:24 mindflash2 dhclient: All rights reserved.
Jan 6 17:59:24 mindflash2 dhclient: For info, please visit http://www.isc.org/sw/dhcp/
Jan 6 17:59:24 mindflash2 dhclient:
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Activation (wlan0) Stage 4 of 5 (IP6 Configure Get) started...
Jan 6 17:59:24 mindflash2 NetworkManager: <info> Activation (wlan0) Stage 4 of 5 (IP6 Configure Get) complete.
Jan 6 17:59:24 mindflash2 NetworkManager: <info> DHCP: device wlan0 state changed normal exit -> preinit
Jan 6 17:59:24 mindflash2 wpa_supplicant[1193]: Associated with 2a:32:73:0f:6f:d7
Jan 6 17:59:24 mindflash2 wpa_supplicant[1193]: CTRL-EVENT-CONNECTED - Connection to 2a:32:73:0f:6f:d7 completed (reauth) [id=0 id_str=]
Jan 6 17:59:24 mindflash2 dhclient: Listening on LPF/wlan0/00:1b:77:bb:24:52
Jan 6 17:59:24 mindflash2 dhclient: Sending on LPF/wlan0/00:1b:77:bb:24:52
Jan 6 17:59:24 mindflash2 dhclient: Sending on Socket/fallback
Jan 6 17:59:24 mindflash2 NetworkManager: <info> (wlan0): supplicant connection state: completed -> associated
Jan 6 17:59:24 mindflash2 NetworkManager: <info> (wlan0): supplicant connection state: associated -> completed
Jan 6 17:59:25 mindflash2 avahi-daemon[1102]: Registering new address record for fe80::21b:77ff:febb:2452 on wlan0.*.
Jan 6 17:59:27 mindflash2 dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
Jan 6 17:59:32 mindflash2 dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
Jan 6 17:59:34 mindflash2 kernel: [ 882.596195] wlan0: no IPv6 routers present
Jan 6 17:59:37 mindflash2 dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
Jan 6 17:59:45 mindflash2 dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
Jan 6 17:59:52 mindflash2 dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
Jan 6 18:00:02 mindflash2 dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 17
Jan 6 18:00:09 mindflash2 NetworkManager: <info> (wlan0): DHCP transaction took too long, stopping it.
Jan 6 18:00:09 mindflash2 NetworkManager: <info> (wlan0): canceled DHCP transaction, dhcp client pid 4798
Jan 6 18:00:09 mindflash2 NetworkManager: <info> Activation (wlan0) Stage 4 of 5 (IP4 Configure Timeout) scheduled...
Jan 6 18:00:09 mindflash2 NetworkManager: <info> Activation (wlan0) Stage 4 of 5 (IP4 Configure Timeout) started...
Jan 6 18:00:09 mindflash2 NetworkManager: <info> Activation (wlan0/wireless): could not get IP configuration for connection 'Auto wtc1'.
Jan 6 18:00:09 mindflash2 NetworkManager: <info> (wlan0): device state change: 7 -> 6 (reason 0)
Jan 6 18:00:09 mindflash2 NetworkManager: <info> Activation (wlan0/wireless): asking for new secrets
Jan 6 18:00:09 mindflash2 NetworkManager: <info> Activation (wlan0) Stage 4 of 5 (IP4 Configure Timeout) complete.

It failed to connect and showed the same password prompt without wpa option.