Bug 16719 - plasma-applet-nm asks for wireless password every boot
Summary: plasma-applet-nm asks for wireless password every boot
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-08 09:39 CEST by Angelo Naselli
Modified: 2018-04-27 16:28 CEST (History)
3 users (show)

See Also:
Source RPM: plasma-applet-nm
CVE:
Status comment:


Attachments

Description Angelo Naselli 2015-09-08 09:39:07 CEST
It correctly store the password into kwallet, but with a different name, so 
the result is that every boot, it asks the password again.

I looked for other distros and they seem to suggest to set the connection available for every users. But that imo is not the right solution.
Since the pc/laptop is just belonging one person is not a real problem,
ofcourse, but that is a bug imo. 


Reproducible: 

Steps to Reproduce:
Samuel Verschelde 2015-09-08 16:26:47 CEST

Assignee: bugsquad => mageia

Comment 1 Angelo Naselli 2015-09-15 10:34:49 CEST
I found that a file ifcfg-$SSID is saved into /etc/sysconfig/network-script
with a UUID. Now every boot and after a new connection, a new ifcfg-$SSID-n
where n increases by one every boot, and the UUID changes.
Comment 2 Florian Hubold 2016-01-17 15:19:28 CET
Cannot reproduce. Only one /etc/sysconfig/network-scripts/ifcfg-$SSID exists, with the same UUID as in kwallet. Connection is not configured to let all users connect, but automatic connection is enabled.

Apart from that, topic mentions knetworkmanager - we don't have that in our repos. Are you referring to plasma-applet-nm, the plasmoid for networkmanager?

CC: (none) => doktor5000

Comment 3 Angelo Naselli 2016-01-17 15:40:58 CET
yes the plasma-applet-nm
Comment 4 Rémi Verschelde 2016-01-19 09:39:56 CET
So I guess a prerequisite for trying to reproduce this issue is to use NM instead of net_applet?

Source RPM: knetworkmanager => plasma-applet-nm

Comment 5 Angelo Naselli 2016-01-19 10:30:20 CET
I have another laptop at home i'll try to reproduce there too
Rémi Verschelde 2016-01-19 10:31:05 CET

Summary: knetworkmanager asks for wireless password every boot => plasma-applet-nm asks for wireless password every boot

Comment 6 Florian Hubold 2016-01-21 17:56:04 CET
(In reply to Rémi Verschelde from comment #4)
> So I guess a prerequisite for trying to reproduce this issue is to use NM
> instead of net_applet?

Yep. See https://forums.mageia.org/en/viewtopic.php?f=25&t=5782 on how to basically switch between net_applet and networkmanager.
Comment 7 Angelo Naselli 2016-01-25 08:57:22 CET
I followed last comment by doktor5000:

echo "AUTOSTART=FALSE" > ~/.net_applet
killall net_applet

sudo urpmi networkmanager-applet plasma-applet-nm
sudo systemctl start NetworkManager.service; sudo systemctl enable NetworkManager.service
systemctl disable NetworkManager-wait-online.service
sudo systemctl status NetworkManager.service

sudo apart :) But it seems not to work for me :(
Comment 8 Jüri Ivask 2016-01-25 09:23:05 CET
I usually switch completely to using NetworkManager.
For that I have to edit the file: /etc/Networkmanager/Networkmanager.conf leaving there only "keyfile":

[main]
plugins=keyfile

Then I switch to using NetworkManager:

systemctl disable network.service
systemctl disable network-up.service
systemctl enable NetworkManager.service
systemctl enable NetworkManager-wait-online.service
systemctl enable ModemManager.service*
reboot

* Modemmanager is needed if you have mobile broadband hardware.

CC: (none) => jyri2000

Comment 9 Florian Hubold 2016-01-25 11:15:39 CET
(In reply to Angelo Naselli from comment #7)
> sudo apart :) But it seems not to work for me :(

Does not work means what exactly?
Comment 10 Angelo Naselli 2016-01-25 11:26:52 CET
I mean that the behavior is still the same i need to add the password any time i connect to the same wifi
Comment 11 Florian Hubold 2016-01-25 11:38:56 CET
Did you consider wiping your kwallet config and keys and let them be recreated fresh? That would be

~/.kde4/share/config/kwallet*
~/.kde4/share/apps/kwallet/kdewallet.*

You may need to logout afterwards to properly restard kwalletd and to restart it like in a regularly started session.
Comment 12 Angelo Naselli 2016-01-25 13:07:52 CET
Mayve this evening before going home i'll do some tests on that. But i cannot
understand why the problem should be due to kwallet, as far as i can say a new connection with a new UUID is created every time
Comment 13 Angelo Naselli 2016-01-26 17:54:08 CET
on comment #11, nope that does not change anything... but now i have lost all
the password saved (as i expected) :)
Samuel Verschelde 2016-08-25 16:25:18 CEST

Assignee: mageia => kde

Comment 14 Marja Van Waes 2018-04-27 16:28:54 CEST
Hi Angelo,

Thank you for having taken the needed time to report this issue!

We regret if this issue didn't get fixed.

Closing as OLD, because Mageia 5 has officially reached its End of Life on December 31st, 2017 https://blog.mageia.org/en/2017/11/07/mageia-5-eol-postponed/
It only continued to get important security updates since then, but non-security bugs have no chance of still getting fixed.

Marja

Resolution: (none) => OLD
CC: (none) => marja11
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.