|
Bugzilla – Full Text Bug Listing |
| Summary: | YaST: cannot configure wireless with wpa-psk and wicked | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Thorsten Kukuk <kukuk> |
| Component: | YaST2 | Assignee: | E-mail List <yast2-maintainers> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Major | ||
| Priority: | P5 - None | CC: | aschnell, jreidinger, mfilka |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | y2log from yast2-network run | ||
Michal? Thanks for report. I think I spot where is problem. At https://github.com/yast/yast-network/blob/master/src/lib/y2network/sysconfig/connection_config_writers/wireless.rb#L54 we use auth_mode to write auth specific info and problem is that mode is wpa-psk and not just psk. So we need to fix it and ideally also add test cases for various combination of auth modes and keys. Now we test it, but we have inconsistent auth_mode ( so test for writting use mode "psk", but widget in UI set "wpa-psk" ). I think I know what is root of issue. There are multiple possible values in ifcfg file according to https://github.com/openSUSE/wicked/blob/b6d960fd8c38d46417adf5f82b7ba70214ced4f0/client/suse/compat-suse.c#L3708 so there are wpa-psk and also just psk psk is available and both means the same. I worry we need to implement it also in yast to understand both aliases. |
Created attachment 826092 [details] y2log from yast2-network run I try to configure a wireless network interface with YaST to use with wicked, not network manager. But YaST seems to ignore the password for wpa-psk: Dez 13 07:06:55 pi3-1 wicked[19879]: ifcfg-wlan0: no WIRELESS_WPA_PSK value specified