Mailinglist Archive: opensuse-bugs (6552 mails)

< Previous Next >
[Bug 525980] knm4 fails to connect to wpa-psk network
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 5 Aug 2009 08:22:02 -0600
  • Message-id: <20090805142202.89192245513@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=525980

User sven.burmeister@xxxxxxx added comment
http://bugzilla.novell.com/show_bug.cgi?id=525980#c17





--- Comment #17 from Sven Burmeister <sven.burmeister@xxxxxxx> 2009-08-05
08:22:01 MDT ---
Although it does not make sense I encountered that the packed version does not
work while my svn compile did.

packages are:
rpm -qa | grep NetworkManager
NetworkManager-kde4-0.9.svn1007025-83.1
NetworkManager-kde4-lang-0.9.svn1007025-83.1
NetworkManager-devel-0.7.1-2.1
NetworkManager-gnome-0.7.1-1.5
NetworkManager-glib-0.7.1-2.1
NetworkManager-0.7.1-2.1
NetworkManager-kde4-libs-0.9.svn1007025-83.1

The first attempt is via the packaged version and fails, i.e. prompts for the
secret again and again, the last attempt is my self-compiled knm.

Aug 5 16:01:28 linux-x1io NetworkManager: <info> (wlan0): device state
change: 8 -> 3
Aug 5 16:01:28 linux-x1io NetworkManager: <info> (wlan0): deactivating device
(reason: 38).
Aug 5 16:01:29 linux-x1io NetworkManager: <info> wlan0: canceled DHCP
transaction, dhcp client pid 4248
Aug 5 16:01:29 linux-x1io NetworkManager: <debug> [1249480889.145853]
run_netconfig(): Spawning '/sbin/netconfig modify --service NetworkManager'
Aug 5 16:01:29 linux-x1io NetworkManager: <info> Clearing nscd hosts cache.
Aug 5 16:01:29 linux-x1io NetworkManager: <WARN> check_one_route(): (wlan0)
error -34 returned from rtnl_route_del(): Sucess
Aug 5 16:01:37 linux-x1io NetworkManager: <WARN> nm_signal_handler(): Caught
signal 15, shutting down normally.
Aug 5 16:01:37 linux-x1io NetworkManager: <info> (eth0): now unmanaged
Aug 5 16:01:37 linux-x1io NetworkManager: <info> (eth0): device state change:
2 -> 1
Aug 5 16:01:37 linux-x1io NetworkManager: <info> (eth0): cleaning up...
Aug 5 16:01:37 linux-x1io NetworkManager: <info> (eth0): taking down device.
Aug 5 16:01:37 linux-x1io NetworkManager: <info> (wlan0): now unmanaged
Aug 5 16:01:37 linux-x1io NetworkManager: <info> (wlan0): device state
change: 3 -> 1
Aug 5 16:01:37 linux-x1io NetworkManager: <info> (wlan0): cleaning up...
Aug 5 16:01:37 linux-x1io NetworkManager: <info> (wlan0): taking down device.
Aug 5 16:01:37 linux-x1io NetworkManager: <info> exiting (success)
Aug 5 16:02:24 linux-x1io NetworkManager: <info> starting...
Aug 5 16:02:24 linux-x1io NetworkManager: <info> Trying to start the
modem-manager...
Aug 5 16:02:24 linux-x1io NetworkManager: <WARN>
nm_generic_enable_loopback(): error -17 returned from rtnl_addr_add(): Sucess
Aug 5 16:02:24 linux-x1io NetworkManager: <info> Found new Ethernet device
'eth0' (driver: 'r8169').
Aug 5 16:02:24 linux-x1io NetworkManager: <info> (eth0): exported as
/org/freedesktop/Hal/devices/net_00_21_85_4e_ca_c5
Aug 5 16:02:24 linux-x1io NetworkManager: <info> (wlan0): driver does not
support SSID scans (scan_capa 0x00).
Aug 5 16:02:24 linux-x1io NetworkManager: <info> Found new 802.11 WiFi device
'wlan0' (driver: 'r8180').
Aug 5 16:02:24 linux-x1io NetworkManager: <info> (wlan0): exported as
/org/freedesktop/Hal/devices/net_00_21_85_79_4b_80
Aug 5 16:02:24 linux-x1io NetworkManager: <info> Trying to start the
supplicant...
Aug 5 16:02:24 linux-x1io NetworkManager: <info> Trying to start the system
settings daemon...
Aug 5 16:02:24 linux-x1io NetworkManager: <info> modem manager appeared
Aug 5 16:02:24 linux-x1io NetworkManager: <info> (wlan0): supplicant manager
state: down -> idle
Aug 5 16:02:29 linux-x1io NetworkManager: <info> (eth0): device state change:
1 -> 2
Aug 5 16:02:29 linux-x1io NetworkManager: <info> (eth0): bringing up device.
Aug 5 16:02:29 linux-x1io NetworkManager: <info> (eth0): preparing device.
Aug 5 16:02:29 linux-x1io NetworkManager: <info> (eth0): deactivating device
(reason: 2).
Aug 5 16:02:29 linux-x1io NetworkManager: <info> (wlan0): device state
change: 1 -> 2
Aug 5 16:02:29 linux-x1io NetworkManager: <info> (wlan0): bringing up device.
Aug 5 16:02:29 linux-x1io NetworkManager: <info> (wlan0): preparing device.
Aug 5 16:02:29 linux-x1io NetworkManager: <info> (wlan0): deactivating device
(reason: 2).
Aug 5 16:02:30 linux-x1io NetworkManager: <info> (wlan0): device state
change: 2 -> 3
Aug 5 16:02:30 linux-x1io NetworkManager: <info> (wlan0): supplicant
interface state: starting -> ready
Aug 5 16:03:15 linux-x1io NetworkManager: <info> Activation (wlan0) starting
connection 'raschid'
Aug 5 16:03:15 linux-x1io NetworkManager: <info> (wlan0): device state
change: 3 -> 4
Aug 5 16:03:15 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 1
of 5 (Device Prepare) scheduled...
Aug 5 16:03:15 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 1
of 5 (Device Prepare) started...
Aug 5 16:03:15 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 2
of 5 (Device Configure) scheduled...
Aug 5 16:03:15 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 1
of 5 (Device Prepare) complete.
Aug 5 16:03:15 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 2
of 5 (Device Configure) starting...
Aug 5 16:03:15 linux-x1io NetworkManager: <info> (wlan0): device state
change: 4 -> 5
Aug 5 16:03:15 linux-x1io NetworkManager: <info> Activation (wlan0/wireless):
access point 'raschid' has security, but secrets are required.
Aug 5 16:03:15 linux-x1io NetworkManager: <info> (wlan0): device state
change: 5 -> 6
Aug 5 16:03:15 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 2
of 5 (Device Configure) complete.
Aug 5 16:03:19 linux-x1io NetworkManager: <WARN> update_one_setting(): Failed
to update connection secrets: 1 ipv4
Aug 5 16:03:19 linux-x1io NetworkManager: <WARN> update_one_setting(): Failed
to update connection secrets: 1 802-1x
Aug 5 16:03:19 linux-x1io NetworkManager: <WARN>
real_connection_secrets_updated(): Ignoring updated secrets for setting 'ipv4'.
Aug 5 16:03:19 linux-x1io NetworkManager: <WARN>
real_connection_secrets_updated(): Ignoring updated secrets for setting
'802-11-wireless'.
Aug 5 16:03:19 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 1
of 5 (Device Prepare) scheduled...
Aug 5 16:03:19 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 1
of 5 (Device Prepare) started...
Aug 5 16:03:19 linux-x1io NetworkManager: <info> (wlan0): device state
change: 6 -> 4
Aug 5 16:03:19 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 2
of 5 (Device Configure) scheduled...
Aug 5 16:03:19 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 1
of 5 (Device Prepare) complete.
Aug 5 16:03:19 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 2
of 5 (Device Configure) starting...
Aug 5 16:03:19 linux-x1io NetworkManager: <info> (wlan0): device state
change: 4 -> 5
Aug 5 16:03:19 linux-x1io NetworkManager: <info> Activation (wlan0/wireless):
connection 'raschid' has security, and secrets exist. No new secrets needed.
Aug 5 16:03:19 linux-x1io NetworkManager: <info> Config: added 'ssid' value
'raschid'
Aug 5 16:03:19 linux-x1io NetworkManager: <info> Config: added 'scan_ssid'
value '1'
Aug 5 16:03:19 linux-x1io NetworkManager: <info> Config: added 'key_mgmt'
value 'WPA-PSK'
Aug 5 16:03:19 linux-x1io NetworkManager: <info> Config: added 'psk' value
'<omitted>'
Aug 5 16:03:19 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 2
of 5 (Device Configure) complete.
Aug 5 16:03:19 linux-x1io NetworkManager: <info> Config: set interface
ap_scan to 1
Aug 5 16:03:19 linux-x1io NetworkManager: <info> (wlan0): supplicant
connection state: inactive -> scanning
Aug 5 16:03:27 linux-x1io NetworkManager: <info> (wlan0): supplicant
connection state: scanning -> associating
Aug 5 16:03:27 linux-x1io NetworkManager: <info> (wlan0): supplicant
connection state: associating -> disconnected
Aug 5 16:03:27 linux-x1io NetworkManager: <info> (wlan0): supplicant
connection state: disconnected -> 4-way handshake
Aug 5 16:03:27 linux-x1io NetworkManager: <info> (wlan0): supplicant
connection state: 4-way handshake -> associated
Aug 5 16:03:28 linux-x1io NetworkManager: <info> (wlan0): supplicant
connection state: associated -> 4-way handshake
Aug 5 16:03:31 linux-x1io NetworkManager: <info> (wlan0): supplicant
connection state: 4-way handshake -> associated
Aug 5 16:03:32 linux-x1io NetworkManager: <info> (wlan0): supplicant
connection state: associated -> 4-way handshake
Aug 5 16:03:35 linux-x1io NetworkManager: <info> (wlan0): supplicant
connection state: 4-way handshake -> associated
Aug 5 16:03:36 linux-x1io NetworkManager: <info> (wlan0): supplicant
connection state: associated -> 4-way handshake
Aug 5 16:03:39 linux-x1io NetworkManager: <info> (wlan0): supplicant
connection state: 4-way handshake -> associated
Aug 5 16:03:40 linux-x1io NetworkManager: <info> (wlan0): supplicant
connection state: associated -> 4-way handshake
Aug 5 16:03:43 linux-x1io NetworkManager: <info> wlan0: link timed out.
Aug 5 16:03:43 linux-x1io NetworkManager: <info> (wlan0): supplicant
connection state: 4-way handshake -> associated
Aug 5 16:03:44 linux-x1io NetworkManager: <info> (wlan0): supplicant
connection state: associated -> 4-way handshake
Aug 5 16:03:44 linux-x1io NetworkManager: <info> Activation (wlan0/wireless):
association took too long.
Aug 5 16:03:44 linux-x1io NetworkManager: <info> (wlan0): device state
change: 5 -> 6
Aug 5 16:03:45 linux-x1io NetworkManager: <info> Activation (wlan0/wireless):
asking for new secrets
Aug 5 16:03:45 linux-x1io NetworkManager: <info> (wlan0): supplicant
connection state: 4-way handshake -> disconnected
Aug 5 16:03:47 linux-x1io NetworkManager: <WARN> get_secrets_cb(): Couldn't
get connection secrets: User refused to supply secrets.
Aug 5 16:03:47 linux-x1io NetworkManager: <info> (wlan0): device state
change: 6 -> 9
Aug 5 16:03:47 linux-x1io NetworkManager: <info> Activation (wlan0) failed
for access point (raschid)
Aug 5 16:03:47 linux-x1io NetworkManager: <info> Marking connection 'raschid'
invalid.
Aug 5 16:03:47 linux-x1io NetworkManager: <info> Activation (wlan0) failed.
Aug 5 16:03:47 linux-x1io NetworkManager: <info> (wlan0): device state
change: 9 -> 3
Aug 5 16:03:47 linux-x1io NetworkManager: <info> (wlan0): deactivating device
(reason: 0).
Aug 5 16:05:04 linux-x1io NetworkManager: <info> Activation (wlan0) starting
connection 'raschid'
Aug 5 16:05:04 linux-x1io NetworkManager: <info> (wlan0): device state
change: 3 -> 4
Aug 5 16:05:04 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 1
of 5 (Device Prepare) scheduled...
Aug 5 16:05:04 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 1
of 5 (Device Prepare) started...
Aug 5 16:05:04 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 2
of 5 (Device Configure) scheduled...
Aug 5 16:05:04 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 1
of 5 (Device Prepare) complete.
Aug 5 16:05:04 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 2
of 5 (Device Configure) starting...
Aug 5 16:05:04 linux-x1io NetworkManager: <info> (wlan0): device state
change: 4 -> 5
Aug 5 16:05:04 linux-x1io NetworkManager: <info> Activation (wlan0/wireless):
access point 'raschid' has security, but secrets are required.
Aug 5 16:05:04 linux-x1io NetworkManager: <info> (wlan0): device state
change: 5 -> 6
Aug 5 16:05:04 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 2
of 5 (Device Configure) complete.
Aug 5 16:05:06 linux-x1io NetworkManager: <WARN> update_one_setting(): Failed
to update connection secrets: 1 ipv4
Aug 5 16:05:06 linux-x1io NetworkManager: <WARN> update_one_setting(): Failed
to update connection secrets: 1 802-1x
Aug 5 16:05:06 linux-x1io NetworkManager: <WARN>
real_connection_secrets_updated(): Ignoring updated secrets for setting 'ipv4'.
Aug 5 16:05:06 linux-x1io NetworkManager: <WARN>
real_connection_secrets_updated(): Ignoring updated secrets for setting
'802-11-wireless'.
Aug 5 16:05:06 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 1
of 5 (Device Prepare) scheduled...
Aug 5 16:05:06 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 1
of 5 (Device Prepare) started...
Aug 5 16:05:06 linux-x1io NetworkManager: <info> (wlan0): device state
change: 6 -> 4
Aug 5 16:05:06 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 2
of 5 (Device Configure) scheduled...
Aug 5 16:05:06 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 1
of 5 (Device Prepare) complete.
Aug 5 16:05:06 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 2
of 5 (Device Configure) starting...
Aug 5 16:05:06 linux-x1io NetworkManager: <info> (wlan0): device state
change: 4 -> 5
Aug 5 16:05:06 linux-x1io NetworkManager: <info> Activation (wlan0/wireless):
connection 'raschid' has security, and secrets exist. No new secrets needed.
Aug 5 16:05:06 linux-x1io NetworkManager: <info> Config: added 'ssid' value
'raschid'
Aug 5 16:05:06 linux-x1io NetworkManager: <info> Config: added 'scan_ssid'
value '1'
Aug 5 16:05:06 linux-x1io NetworkManager: <info> Config: added 'key_mgmt'
value 'WPA-PSK'
Aug 5 16:05:06 linux-x1io NetworkManager: <info> Config: added 'psk' value
'<omitted>'
Aug 5 16:05:06 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 2
of 5 (Device Configure) complete.
Aug 5 16:05:06 linux-x1io NetworkManager: <info> Config: set interface
ap_scan to 1
Aug 5 16:05:06 linux-x1io NetworkManager: <info> (wlan0): supplicant
connection state: scanning -> disconnected
Aug 5 16:05:06 linux-x1io NetworkManager: <info> (wlan0): supplicant
connection state: disconnected -> scanning
Aug 5 16:05:13 linux-x1io NetworkManager: <info> (wlan0): supplicant
connection state: scanning -> associating
Aug 5 16:05:13 linux-x1io NetworkManager: <info> (wlan0): supplicant
connection state: associating -> disconnected
Aug 5 16:05:13 linux-x1io NetworkManager: <info> (wlan0): supplicant
connection state: disconnected -> associated
Aug 5 16:05:13 linux-x1io NetworkManager: <info> (wlan0): supplicant
connection state: associated -> 4-way handshake
Aug 5 16:05:13 linux-x1io NetworkManager: <info> (wlan0): supplicant
connection state: 4-way handshake -> group handshake
Aug 5 16:05:14 linux-x1io NetworkManager: <info> (wlan0): supplicant
connection state: group handshake -> completed
Aug 5 16:05:14 linux-x1io NetworkManager: <info> Activation (wlan0/wireless)
Stage 2 of 5 (Device Configure) successful. Connected to wireless network
'raschid'.
Aug 5 16:05:14 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 3
of 5 (IP Configure Start) scheduled.
Aug 5 16:05:14 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 3
of 5 (IP Configure Start) started...
Aug 5 16:05:14 linux-x1io NetworkManager: <info> (wlan0): device state
change: 5 -> 7
Aug 5 16:05:14 linux-x1io NetworkManager: <info> Activation (wlan0) Beginning
DHCP transaction.
Aug 5 16:05:14 linux-x1io NetworkManager: <info> dhclient started with pid
2291
Aug 5 16:05:14 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 3
of 5 (IP Configure Start) complete.
Aug 5 16:05:14 linux-x1io NetworkManager: <info> DHCP: device wlan0 state
changed (null) -> preinit
Aug 5 16:05:23 linux-x1io NetworkManager: <info> DHCP: device wlan0 state
changed preinit -> bound
Aug 5 16:05:23 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 4
of 5 (IP Configure Get) scheduled...
Aug 5 16:05:23 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 4
of 5 (IP Configure Get) started...
Aug 5 16:05:23 linux-x1io NetworkManager: <info> address 192.168.1.79
Aug 5 16:05:23 linux-x1io NetworkManager: <info> prefix 24 (255.255.255.0)
Aug 5 16:05:23 linux-x1io NetworkManager: <info> gateway 192.168.1.16
Aug 5 16:05:23 linux-x1io NetworkManager: <info> nameserver '192.168.1.16'
Aug 5 16:05:23 linux-x1io NetworkManager: <info> domain name 'wgnet'
Aug 5 16:05:23 linux-x1io NetworkManager: <info> wins '192.168.1.16'
Aug 5 16:05:23 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 5
of 5 (IP Configure Commit) scheduled...
Aug 5 16:05:23 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 4
of 5 (IP Configure Get) complete.
Aug 5 16:05:23 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 5
of 5 (IP Configure Commit) started...
Aug 5 16:05:24 linux-x1io NetworkManager: <info> (wlan0): device state
change: 7 -> 8
Aug 5 16:05:24 linux-x1io NetworkManager: <debug> [1249481124.069032]
run_netconfig(): Spawning '/sbin/netconfig modify --service NetworkManager'
Aug 5 16:05:24 linux-x1io NetworkManager: <debug> [1249481124.113333]
write_to_netconfig(): Writing to netconfig: DNSSEARCH='wgnet wgnet'
Aug 5 16:05:24 linux-x1io NetworkManager: <debug> [1249481124.113448]
write_to_netconfig(): Writing to netconfig: DNSSERVERS='192.168.1.16'
Aug 5 16:05:24 linux-x1io NetworkManager: <info> Clearing nscd hosts cache.
Aug 5 16:05:24 linux-x1io NetworkManager: <info> Policy set 'raschid' (wlan0)
as default for routing and DNS.
Aug 5 16:05:24 linux-x1io NetworkManager: <info> Activation (wlan0)
successful, device activated.
Aug 5 16:05:24 linux-x1io NetworkManager: <info> Activation (wlan0) Stage 5
of 5 (IP Configure Commit) complete.

Working:
qdbus --system --literal org.freedesktop.NetworkManagerUserSettings
/org/freedesktop/NetworkManagerSettings/0
org.freedesktop.NetworkManagerSettings.Connection.GetSettings
[Argument: a{sa{sv}} {"802-11-wireless" = [Argument: a{sv} {"mode" =
[Variant(QString): "infrastructure"], "security" = [Variant(QString):
"802-11-wireless-security"], "seen-bssids" = [Variant(QStringList):
{"00:1D:60:AD:74:45"}], "ssid" = [Variant(QByteArray): {114, 97, 115, 99, 104,
105, 100}]}], "802-11-wireless-security" = [Argument: a{sv} {"key-mgmt" =
[Variant(QString): "wpa-psk"]}], "connection" = [Argument: a{sv} {"autoconnect"
= [Variant(bool): true], "id" = [Variant(QString): "raschid"], "timestamp" =
[Variant(uint): 1249481124], "type" = [Variant(QString): "802-11-wireless"],
"uuid" = [Variant(QString): "{8bee07ac-2e80-4900-beee-f88d72a3f893}"]}]}]

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >