plasma-widget-networkmanagement doesn't remember passwords

Bug #879828 reported by Gunter Ohrner
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
KDE Network
Won't Fix
Medium
networkmanagement (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Apparently this is a bug in the packaged plasma-widget-networkmanagement version which has been fixed upstream:

https://bugs.kde.org/show_bug.cgi?id=284155

Please update plasma-widget-networkmanagement to a fixed stable release.

Description:

I use Kubuntu 11.10's plasma-widget-networkmanagement package, Kubuntu version
number 1:0.9~svngit.nm09.20110610.0c83d8-0ubuntu5.

Is configured to use "secure storage" for managing passwords, and I actively
use kwallet for all other KDE applications supporting it. Yet the network
management system / plasmoid does not remember my WIFI password (WPA-PSK),
everytime I try to connect a dialog with a single password entry text field
(below a WIFI protection method drop down) pops up.

Additionally, changing the "Store connection secrets" dropdown box in the
settings does not enable the "apply"-button - maybe that's related? The setting
I chose is remembered if I click "ok" and reopen the settings dialog, however.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: plasma-widget-networkmanagement 0.9~svngit.nm09.20110610.0c83d8-0ubuntu5
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Sat Oct 22 11:17:29 2011
ProcEnviron:
 LANGUAGE=
 LANG=de_DE@euro
 SHELL=/bin/bash
SourcePackage: networkmanagement
UpgradeStatus: Upgraded to oneiric on 2011-10-17 (5 days ago)

Revision history for this message
In , Tommy_CZ (t-kijas) wrote :

Version: unspecified (using KDE 4.7.2)
OS: Linux

Hi, I use networkmanagement in latest Kubuntu (11.10 64bit) and every time I want to save password (and connect automaticaly) to wireless network, it asks me for a password. If I have enabled encrypted storage for passwords, it asks for the password to KWallet and then, if it is correct, it asks me for the password to the network.
If I use UNencrypted storage for passwords, it just asks me for the password to the network.

Reproducible: Always

Steps to Reproduce:
Use networkmanagement, connect to some protected wireless networks, save it (set it to connect automatically).

Actual Results:
Doesn't remember those passwords, no difference they are in encrypted (kwallet) or unencrypted (file) storage.

Expected Results:
To remember passwords to networks.

Thank you

Revision history for this message
In , Lamarque (lamarque) wrote :

Which Plasma NM and NetworkManager versions do you use? There is a bug in NM < 0.9.0 that prevents Plasma NM to save passwords.

I have just tested here and for me it saves passwords and connects without problems.

Revision history for this message
In , Lamarque (lamarque) wrote :

*** Bug 284670 has been marked as a duplicate of this bug. ***

Revision history for this message
Gunter Ohrner (gohrner) wrote :
Revision history for this message
nakerlund (nakerlund) wrote :

I'm not sure how bug reporting works or if this is helpful but I have this issue on a laptop and a netbook (on two different wifi networks) since the Oneiric upgrade. Once the password is entered, they both connect without issues. KWallet (with an empty master password) seems fine on both computers as well.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in networkmanagement (Ubuntu):
status: New → Confirmed
Revision history for this message
In , Lamarque (lamarque) wrote :

There is this bug in Ubuntu's launchpad: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/879836

It is about NetworkManager-0.9.1.90-0ubuntu4, is that the version you use? Can you ask in that bug entry if the guy who reported the bug is using nm-applet or Plasma NM?

Revision history for this message
In , Kdebugs-f (kdebugs-f) wrote :

I use:
network-manager 0.9.1.90-0ubuntu4
plasma-widget-networkmanagement 0.9~svngit.nm09.20110610.0c83d8-0ubuntu5

I also just asked the Ubuntu-reporter.

Additionally, I had already reported this to launchpad myself, but no real reaction so far: https://bugs.launchpad.net/ubuntu/+source/networkmanagement/+bug/879828

Revision history for this message
In , Lamarque (lamarque) wrote :

According to this https://forum.sabayon.org/viewtopic.php?f=52&t=25537 NM-0.9.1.90 really has this problem when using ifnet plugin to store settings. Can you try disabling this plugin, restarting NM and see if it solves your problem?

You can disabled using these instructions:

https://forum.sabayon.org/viewtopic.php?f=52&t=25537&start=10#p142139

Revision history for this message
In , Kdebugs-f (kdebugs-f) wrote :

Mh, I do not seem to be using the plugin you mentioned.

I don't have a /etc/NetworkManager/nm-system-settings.conf but /etc/NetworkManager/NetworkManager.conf probably comes close. It just contains the following, so no "ifnet"...

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

Revision history for this message
In , Lamarque (lamarque) wrote :

The plasma NM version used by Ubuntu is too old, there have been a lot of changes in password handling since June. Since I cannot reproduce this bug in it also happens with nm-applet it is very unlikely this is a Plasma NM bug. I am very tempted to close this as upstream if nobody reproduces this bug in Plasma NM 0.8.90:

http://lamarque-lvs.blogspot.com/2011/10/new-version-after-first-release-plasma.html

Revision history for this message
In , Kdebugs-f (kdebugs-f) wrote :

I also fear it's just a bug in the Plasma NM snapshot used by Ubuntu. :-(

I hope they'll release a fixed / updated version soon, otherwise I'll have to rebuild the package with an updated source tar, something I'd rather like to avoid if possible...

Changed in kdenetwork:
importance: Unknown → Medium
status: Unknown → New
Changed in kdenetwork:
status: New → Won't Fix
Revision history for this message
Gunter Ohrner (gohrner) wrote :

Sorry, why has this bug been auto-closed as WONTFIX? This bug makes Plasma NM in Kubuntu barely usable, if usable at all...

Does this mean Kubuntu 11.10 will never get a network manager applet with a working password store?

Revision history for this message
In , Lamarque (lamarque) wrote :

*** Bug 286289 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Germano Massullo (germano.massullo) wrote :

I tried to look for the plugin Lamarque wrote about.
My /etc/NetworkManager/NetworkManager.conf was;
[main]
plugins=ifcfg-rh

To try I created an ad-hoc wifi network with my Android device and I told the computer to connect to it. It worked.
Then I added
[ifnet]
managed=false
auto_refresh=false
to that file and rebooted the system.

The computer connected once again without problems and without asking me again for the password.
So I resumed the old NetworkManager.conf and tried again. Identical situation, I was not asked for wifi password.
I noticed that it does it only on certain wifis.

Now I see you marked this bug report as UPSTREAM.
As I can read there https://bugs.kde.org/page.cgi?id=fields.html#resolution
it means:
"The problem described is a bug which cannot be fixed by the application team for the product due to the bug existing in a dependency of the product. The best example of this in KDE is a bug that is in Qt or X.org that would need to be fixed by those developers and should be filed in their issue tracking system."

So where should we open this bugreport?

Revision history for this message
In , Lamarque (lamarque) wrote :

http://bugs.gnome.org, against the product NetworkManager.

Revision history for this message
In , Germano Massullo (germano.massullo) wrote :

Plase follow the bug evolving on https://bugzilla.gnome.org/show_bug.cgi?id=666465
This is the most annoying bug I have ever had on many computers

Revision history for this message
In , Andre Klapper (a9016009) wrote :

(In reply to comment #7)
> The plasma NM version used by Ubuntu is too old, there have been a lot of
> changes in password handling since June.

Ubuntu 11.10 seems to ship
network-manager-kde (1:0.9~svngit.nm09.20110610.0c83d8-0ubuntu5) and
plasma-widget-networkmanagement (0.9~svngit.nm09.20110610.0c83d8-0ubuntu5).

So was this actually tested with a ***recent*** Plasma NM version 0.8.90 or newer and reproduced with such a version? If not then my guess is that it's an Ubuntu downstream issue (as they ship an ancient version), and not actually an issue to be considered UPSTREAM (yet) in GNOME Bugzilla where this was just filed.

Revision history for this message
In , Lamarque (lamarque) wrote :

According to the links above this problem als happens with nm-applet in Ubuntu and Sabyon, so it is not restricted to Ubuntu or Plasma NM. It is very likely the problem is in NetworkManager itself, that is why I marked it as upstream.

Revision history for this message
In , Andre Klapper (a9016009) wrote :

Ah, thanks for explaining!

Revision history for this message
In , Kdebugs-f (kdebugs-f) wrote :

Network manager works fine using the following packages in Kubuntu.
The NM Plasma Applet remembers my password since I upgraded KDE to Kubuntu's semi-official KDE 4.8.x-packages from their PPA.

ii network-manager 0.9.1.90-0ubuntu5.1 network management framework (daemon and userspace tools)
ii plasma-widget-networkmanagement 0.9.0~rc4-0ubuntu2~oneiric1~ppa1 Network Management widget for KDE Plasma workspaces

Revision history for this message
Maarten Bezemer (veger) wrote :

http://bugs.kde.org/show_bug.cgi?id=284155#c16 says it is working with KDE 4.8.x. So if you feel adventurous/desperate enough you could try it yourself. The PPA page is: https://launchpad.net/~kubuntu-ppa/+archive/backports/+packages

If you do, please report back how it went and whether it solved your problems or not.

Revision history for this message
Gunter Ohrner (gohrner) wrote :

Thanks for the notification - my fault, that exact upstream comment was actually written by myself, I just forgot to follow up on this bug report as well.

The problem is solved for me using the latest versions from the Kubuntu PPA.

It's probably not yet fixed in plain Kubuntu 11.10, though.

Revision history for this message
Maarten Bezemer (veger) wrote :

I did not see that it was you :)
It is indeed not fixed in plain oneiric(-updates), by default these kind of changes are not incorporated in existing releases to prevent breakage of them.

I am closing it because the bug has been fixed in the latest development version of Ubuntu - Precise Pangolin (at least I would expect it will make it in there).

If you still need it to be fixed in in a previous version of Ubuntu, please follow the instructions for "How to request new packages" at https://help.ubuntu.com/community/UbuntuBackports#Requesting_New_Backports

Changed in networkmanagement (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
In , Thomasdn (thomasdn) wrote :

I experience this in Ubuntu 13.10

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.