Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 199374

Summary: net-misc/networkmanager big endian WPA problems
Product: Gentoo Linux Reporter: Christian Schmitt <chrschmitt>
Component: New packagesAssignee: Steev Klimaszewski (RETIRED) <steev>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: metalgod, pacho, rbu, stolz, will
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
URL: https://bugs.launchpad.net/fedora/+source/network-manager/+bug/101857
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: 24pp_svn2754-lp101857-endianess.patch
version 0.2.2 of knetworkmanager

Description Christian Schmitt 2007-11-16 15:44:38 UTC
According to the above URL there is a problem on bigendian machines connecting to a WPA network with networkmanager-0.6.5. There is a patch available, which should be added to the Gentoo ebuild.
Comment 1 Christian Schmitt 2007-11-16 20:27:25 UTC
I tested it but I can't say if it helps. The problem ist that knetworkmanager seems to have problems, too. Anybody could check this?
Comment 2 Christian Schmitt 2007-12-01 23:55:19 UTC
I added the patch to the ebuild. but it changes nothing. I still can not connect to wifi networks. I always get messages like this in the logs:

Dec  2 00:42:29 [NetworkManager] <info>  Activation (wlan0) New wireless user key requested for network 'xxxx'._
Dec  2 00:42:29 [NetworkManager] <info>  Activation (wlan0) Stage 2 of 5 (Device Configure) complete._
Dec  2 00:42:29 [NetworkManager] <info>  Activation (wlan0) New wireless user key for network 'xxxx' received._
Dec  2 00:42:29 [NetworkManager] <info>  Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled..._
Dec  2 00:42:29 [NetworkManager] <info>  Activation (wlan0) Stage 1 of 5 (Device Prepare) started..._
Dec  2 00:42:29 [NetworkManager] <info>  Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled..._
Dec  2 00:42:29 [NetworkManager] <info>  Activation (wlan0) Stage 1 of 5 (Device Prepare) complete._
Dec  2 00:42:29 [NetworkManager] <info>  Activation (wlan0) Stage 2 of 5 (Device Configure) starting..._
Dec  2 00:42:29 [NetworkManager] <info>  Activation (wlan0/wireless): access point 'xxxx' is encrypted, but NO valid key exists.  New key needed._
Dec  2 00:42:29 [NetworkManager] <info>  Activation (wlan0) New wireless user key requested for network 'xxxx'._
Comment 3 will 2007-12-08 18:12:53 UTC
Created attachment 138049 [details, diff]
24pp_svn2754-lp101857-endianess.patch

I tested this patch from the ubuntu gutsy network-manager package source. It fixed all of my wpa problems. I have a ppc ibook.
Comment 4 Christian Schmitt 2007-12-08 18:24:20 UTC
I applied the same patch, but I still get no connection. See comment #2. Might be another problem.
Comment 5 Steev Klimaszewski (RETIRED) gentoo-dev 2008-02-19 17:15:47 UTC
Do you still see these issues with networkmanager 0.6.5.98?  You may have to keyword it, unfortunately, my EFIKA has stopped working, so unfortunately, I have no more PPC access.
Comment 6 Christian Schmitt 2008-04-13 21:41:23 UTC
Sorry for the late reply. I tested it again with the latest networkmanager available and knetworkmanager. The connection worked now, but I had to configure it manually. If I selected a network from the list of available networks, it tried to connect, but failed and did not ask me for a password.
Comment 7 Christian Schmitt 2008-04-14 19:18:48 UTC
Allright, I don't know what exactly changed, but I just installed the new 0.2.2 version of knetworkmanager and now everything works as expected. Even the automatic configuration.
Comment 8 Christian Schmitt 2008-04-14 19:22:59 UTC
Created attachment 149730 [details]
version 0.2.2 of knetworkmanager

ebuild for the new version
Comment 9 Christian Schmitt 2008-04-15 13:15:56 UTC
Sorry, I need to correct myself once more. The problem with automatic connection is still there. My wifi network here is WPA encrypted and if I select it on the list of available networks, I am not asked for the passphrase. Instead I get this in my logs:

Apr 15 15:02:11 [NetworkManager] <info>  Activation (wlan0) Stage 1 of 5 (Device Prepare) started..._
Apr 15 15:02:11 [NetworkManager] <info>  Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled..._
Apr 15 15:02:11 [NetworkManager] <info>  Activation (wlan0) Stage 1 of 5 (Device Prepare) complete._
Apr 15 15:02:11 [NetworkManager] <info>  Activation (wlan0) Stage 2 of 5 (Device Configure) starting..._
Apr 15 15:02:11 [NetworkManager] <info>  Activation (wlan0/wireless): access point 'wlan' is encrypted, but NO valid key exists.  New key needed._
Apr 15 15:02:11 [NetworkManager] <info>  Activation (wlan0) New wireless user key requested for network 'wlan'._
Apr 15 15:02:11 [NetworkManager] <info>  Activation (wlan0) Stage 2 of 5 (Device Configure) complete._
Apr 15 15:02:11 [NetworkManager] <info>  Activation (wlan0) New wireless user key for network 'wlan' received._
Apr 15 15:02:11 [NetworkManager] <info>  Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled..._
Apr 15 15:02:11 [NetworkManager] <info>  Activation (wlan0) Stage 1 of 5 (Device Prepare) started..._

To make it work I have to select "Connect to other wireless network" and enter the information there. After that the connection is established and works. However, I need to repeat this step everytime I restart. It looks like no passwords and other information is stored. I don't use kwallet right now. Maybe I will try it.
Comment 10 Axel 2008-04-30 05:47:36 UTC
Just note to previous comment. I used kwallet and knetworkmanager still don't ask passwords. knetworkmanager 0.2.1, networkmanager 0.6.6, kde 3.5.9, x86_64
Comment 11 Axel 2008-04-30 18:07:37 UTC
I tried to run knetworkmanager through kdesu with root privileges. It worked such way - knetworkmanager asked for password and save it in kdewallet. But only mess thing - knetworkmanager creates new wallet under ~root/.kde directory.

Comment 12 Robert Buchholz (RETIRED) gentoo-dev 2008-06-24 17:40:18 UTC
Axel, you should not run knetworkmanager as root.

The 24pp_svn2754-lp101857-endianess.patch is shipped in at least the 0.6.6 release of networkmanager. This should allow the actual connection to a WPA encrypted network, which was the initial bug report.

The knetworkmanager not asking for a password seems to be an unrelated problem, please test whether it still occurs in latest knetworkmanager-0.2.2_p20080528. If it does, leave a comment here. Otherwise I'll close it since the initial report is dealt with.