Bug 31936 - Mageia 9: net_applet does not succeed to configure more than one encrypted Wifi
Summary: Mageia 9: net_applet does not succeed to configure more than one encrypted Wifi
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-18 09:25 CEST by Elmar Stellnberger
Modified: 2023-10-21 22:11 CEST (History)
3 users (show)

See Also:
Source RPM: drakx-net-2.56-1.mga9.src.rpm
CVE:
Status comment:


Attachments
/etc/wpa_supplicant.conf without password (82.87 KB, text/x-matlab)
2023-05-18 09:30 CEST, Elmar Stellnberger
Details
wpa_supplicant.conf that wroks created by net_applet (82.96 KB, text/x-matlab)
2023-05-18 11:29 CEST, Elmar Stellnberger
Details

Description Elmar Stellnberger 2023-05-18 09:25:58 CEST
When I had tested Mageia´s net_applet at home everything worked fine. Here in Altanea, Italy, I wanted to connect to another Wifi yesterday, but it said the password would be wrong. Killing the wpa_supplicant launched by net_applet and connecting manually with wpa_supplicant did work without any problems. See wpa_pareus1.conf from 2023, Bug 30857. Copying and analysing the /etc/wpa_supplicant.conf that net_applet tried to use I found only the configuration of the Wifi at home (including password in plain text), but not the Wifi I had tried to connect to.
> ps ax | grep wpa_suppl
 1096 ?        Ss     0:01 /usr/sbin/wpa_supplicant -B -i wlp2s0 -c /etc/wpa_supplicant.conf -D wext
Comment 1 Elmar Stellnberger 2023-05-18 09:30:08 CEST
Created attachment 13851 [details]
/etc/wpa_supplicant.conf without password
Comment 2 Elmar Stellnberger 2023-05-18 09:34:21 CEST
May also test with NetworkManager and Connman in the time yet to come.
Comment 3 Elmar Stellnberger 2023-05-18 11:29:25 CEST
Created attachment 13852 [details]
wpa_supplicant.conf that wroks created by net_applet

  Further testing revealed that net_applet can configure a new password for a new connection correctly, if you open up the settings window and select one of the available Wifis from there. At the initial test I simply had selected the respective Wifi-network from the popup menu in the status tray, which then did only bring up a password box for the Wifi but no full configuration dialogue chain.
  I had discovered this by first selecting an unencrypted Wifi and then again the encrypted Wifi, which was no more possible via the popup menu at this time: It only showed one entry, namely that of the currently activated Wifi at that time. Directly selecting a Wifi via the popup menu would be a plus, at least for Wifis that you have already configured once, and if so there should be a label 'list all Wifis' to indicate if there are any further opportunities for a connect. This time tested with drakx-net-applet-2.56-1.mga9.
Comment 4 Lewis Smith 2023-05-19 21:33:12 CEST
It is normal to have to configure a newly found WiFi network via the Network Centre; raised just by clicking the Systray network icon.
Would this not have worked in the case you describe?

CC: (none) => lewyssmith

Comment 5 Elmar Stellnberger 2023-05-20 11:46:04 CEST
Well, I consent. The usual way to set up a new network shall be via the wizard. However, what if the password of a known network has changed? Then the sole password entry dialogue has to do the right thing. In my case it did not have any effect at all on the wpa.conf indicating the password would be wrong when it were not, instead.
Comment 6 Lewis Smith 2023-05-21 21:13:37 CEST
I am away now, so CC'ing Frank to take over this. He knows better anyway.

CC: lewyssmith => sturm-fr

Comment 7 Lewis Smith 2023-05-30 21:27:39 CEST
(In reply to Elmar Stellnberger from comment #5)
> Well, I consent. The usual way to set up a new network shall be via the
> wizard. However, what if the password of a known network has changed? Then
> the sole password entry dialogue has to do the right thing.
Do not see the problem. Surely every WiFi network has its own password. If one gets changed, you change its corresponding definition.

CC: (none) => lewyssmith

Comment 8 Marja Van Waes 2023-10-21 22:11:53 CEST
drakx-net needs a lot of love. 

It wouldn't suprise me if your report is a duplicate of an already existing one, but a quick search didn't make me find it. The issues sound familiar, though.

Assignee: bugsquad => mageiatools
CC: (none) => marja11


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