Bug 1155639 - 'yast2 lan' tool does not store WIRELESS_WPA_PSK credentials in the WLAN wireless configuration file
'yast2 lan' tool does not store WIRELESS_WPA_PSK credentials in the WLAN wire...
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: YaST2
Current
x86-64 Linux
: P5 - None : Major with 1 vote (vote)
: ---
Assigned To: Knut Alejandro Anderssen González
Jiri Srain
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-11-01 10:34 UTC by Sebastian Makowiecki
Modified: 2023-01-24 16:02 UTC (History)
5 users (show)

See Also:
Found By: Community User
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
y2log (1.08 MB, application/x-xz)
2019-11-05 07:55 UTC, Sebastian Makowiecki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Makowiecki 2019-11-01 10:34:09 UTC
Fresh Tumbleweed install, when trying to establish connection to a WPA-PSK protected WLAN network the 'yast2 lan' tool exits silently, the wireless interface stays down with no apparent effect. The only symptom/indication (besides the lack of connection) of the things not going right is the error of the wicked systemd service in the form of ’WIRELESS_WPA_PSK value not specified'.

The solution/workaround is to manually add the WIRELESS_WPA_PSK='passphrase' line to the wireless interface wicked configuration file at '/etc/sysconfig/network/ifcfg-wlp4s0' followed by the restart of thw wicked systemd service. If at any time after that the 'yast2 lan' tool is used again the line disappears from the file and the procedure need to be repeated.

This issue was briefly discussed in the forum at:

https://forums.opensuse.org/showthread.php/538061-Wicked-can-t-connect-WLAN-WIRELESS_WPA_PSK-value-not-specified-systemd-wicked-unit-error?p=2918607
Comment 1 Josef Reidinger 2019-11-04 11:03:49 UTC
(In reply to Sebastian Makowiecki from comment #0)
> Fresh Tumbleweed install, when trying to establish connection to a WPA-PSK
> protected WLAN network the 'yast2 lan' tool exits silently, the wireless
> interface stays down with no apparent effect. The only symptom/indication
> (besides the lack of connection) of the things not going right is the error
> of the wicked systemd service in the form of ’WIRELESS_WPA_PSK value not
> specified'.
> 
> The solution/workaround is to manually add the WIRELESS_WPA_PSK='passphrase'
> line to the wireless interface wicked configuration file at
> '/etc/sysconfig/network/ifcfg-wlp4s0' followed by the restart of thw wicked
> systemd service. If at any time after that the 'yast2 lan' tool is used
> again the line disappears from the file and the procedure need to be
> repeated.
> 
> This issue was briefly discussed in the forum at:
> 
> https://forums.opensuse.org/showthread.php/538061-Wicked-can-t-connect-WLAN-
> WIRELESS_WPA_PSK-value-not-specified-systemd-wicked-unit-error?p=2918607

Thanks for report. Can you please attach your yast logs? (output of save_y2logs )
It will help us to point to specific part of code responsible for it.

Thanks
Comment 2 Sebastian Makowiecki 2019-11-05 07:55:18 UTC
Created attachment 823324 [details]
y2log

y2log, as requested.
Comment 3 Knut Alejandro Anderssen González 2019-11-11 09:41:17 UTC
Should be fixed in yast2-network-4.2.26:

https://github.com/yast/yast-network/pull/1001