[Bug 1157394] New: Configuring wifi interface via yast2 not working
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394 Bug ID: 1157394 Summary: Configuring wifi interface via yast2 not working Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: hpcoder@hpcoders.com.au QA Contact: jsrain@suse.com Found By: --- Blocker: --- Going into the network configuration panel, and selecting wicked as the network manager, and clicking edit on a wifi interface, it correctly scans and finds the SSIDs available. When selecting an SSID, the form indicates that the access point is "ad hoc" and unencrypted. I set the encryption to WPA2-PSK, and no matter whether I set the mode to ad hoc or managed, when I click next, yast2 immediately returns its starting panel (normally it would spend a while thinking while it configures the network), and networking is not configured. Wicked appears to be working correctly - I had saved some wicked configuration files, and I can load these and they work. But given wicked's XML configuration format doesn't appear to be documented, it has limited my ability to connect to new wifi connections that don't use the same encryption scheme. Normally, I do a zypper dup every week, so I always running close the the latest Tumbleweed distro. I first noticed this problem on 30th October, when I upgraded my network equipment at home, and attempted to connect to the new Wifi 4 AP (aka 802.11ac). I can also confirm that it did work on October 15th, so the problem could not have arisen much before that date. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394#c2
--- Comment #2 from Russell Sandish
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394
David Diaz
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394#c3
Knut Alejandro Anderssen González
Going into the network configuration panel, and selecting wicked as the network manager, and clicking edit on a wifi interface, it correctly scans and finds the SSIDs available. When selecting an SSID, the form indicates that the access point is "ad hoc" and unencrypted. I set the encryption to WPA2-PSK, and no matter whether I set the mode to ad hoc or managed, when I click next, yast2 immediately returns its starting panel (normally it would spend a while thinking while it configures the network), and networking is not configured.
The changes you have notice are mainly because we have done some re-factorization in yast2-network module. https://lizards.opensuse.org/2019/08/30/yast-sprint-83/
Wicked appears to be working correctly - I had saved some wicked configuration files, and I can load these and they work. But given wicked's XML configuration format doesn't appear to be documented, it has limited my ability to connect to new wifi connections that don't use the same encryption scheme.
YaST do not use wicked XML configuration directly, but still writes down the ifcfg files which wicked reads for declaring it internal state. That is something we have been discussing and maybe something yast-network will do in the future. We have being modeling it in order to support multiple backends like NM, wicked or even systemd-network but as said it is something we still do not support.
Normally, I do a zypper dup every week, so I always running close the the latest Tumbleweed distro.
I first noticed this problem on 30th October, when I upgraded my network equipment at home, and attempted to connect to the new Wifi 4 AP (aka 802.11ac). I can also confirm that it did work on October 15th, so the problem could not have arisen much before that date.
I already fixed a bug (https://bugzilla.suse.com/show_bug.cgi?id=1155639) related to WPA2-PSK configuration that will be available in yast2-network-4.2.26, so it could be already fixed. See https://github.com/yast/yast-network/pull/1001 But would be nice to have some feedback, so, once you get the new version, could you verify if you are still experimenting some problem related to WPA2-PSK configuration? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394#c4
--- Comment #4 from Russell Sandish
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394#c5
--- Comment #5 from Russell Sandish
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394#c6
--- Comment #6 from David Diaz
Just did a zypper dup, but the issue is still there. yast2-network exits
Did you check if yast2-network version was >= 4.2.26? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394#c7
--- Comment #7 from Knut Alejandro Anderssen González
Going into the network configuration panel, and selecting wicked as the network manager, and clicking edit on a wifi interface, it correctly scans and finds the SSIDs available. When selecting an SSID, the form indicates that the access point is "ad hoc" and unencrypted. I set the encryption to WPA2-PSK, and no matter whether I set the mode to ad hoc or managed, when I click next, yast2 immediately returns its starting panel (normally it would spend a while thinking while it configures the network), and networking is not configured.
About returning directly to the interfaces list dialog, it is the expected behavior. That is, before 'network-ng' there were a sequence which first configured the interface address, hardware and general config, and then specific wireless configuration. Now, there is not an extra step for the specific wireless settings but it is in its own tab. Apart of that, when choosing a different auth method the dialog is changed dynamically showing fields or buttons depending on chosen option.
Wicked appears to be working correctly - I had saved some wicked configuration files, and I can load these and they work. But given wicked's XML configuration format doesn't appear to be documented, it has limited my ability to connect to new wifi connections that don't use the same encryption scheme.
Normally, I do a zypper dup every week, so I always running close the the latest Tumbleweed distro.
I first noticed this problem on 30th October, when I upgraded my network equipment at home, and attempted to connect to the new Wifi 4 AP (aka 802.11ac). I can also confirm that it did work on October 15th, so the problem could not have arisen much before that date.
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394#c8
--- Comment #8 from Knut Alejandro Anderssen González
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394#c9
--- Comment #9 from Russell Sandish
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394#c10
David Diaz
@David Diaz, the version of yast2-network on bopth the zypper dupped machine, and the freshly installed machine was 4.2.28:
Information for package yast2-network: -------------------------------------- Repository : Main Repository (OSS) Name : yast2-network Version : 4.2.28-1.1 Arch : noarch Vendor : openSUSE Installed Size : 1010.9 KiB Installed : Yes Status : up-to-date Source package : yast2-network-4.2.28-1.1.src Summary : YaST2 - Network Configuration Description : This package contains the YaST2 component for network configuration.
Thanks Russell. It seems that @Knut already test it and found what is working as expected and what is wrong. See comment #8. And he is already working on it, see https://github.com/yast/yast-network/pull/1007 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394
Manu Maier
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394#c14
--- Comment #14 from Russell Sandish
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394#c15
--- Comment #15 from Russell Sandish
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394#c16
--- Comment #16 from Knut Alejandro Anderssen González
Just tried a zypper dup. Machine is now running Tumbleweed 20191128. Yast2-network is 4.2.28. The problem is still outstanding, I cannot configure the network through Yast. The file /etc/sysconfig/network/ifcfg-wlp2s0 appears to be being updated correctly by yast2. Configuring using wicked using a previously saved wicked configuration no longer works - the network interface is just left in a down state. Since the wicked configuration file format is undocumented AFAICT, it is possible that the configuration format changed, and that my saved version is no longer recognisable by wicked.
As commented in #13, the problem is that TW ships with wpa_supplicant 2.9, and wicked has to cope with the new API, but it is still not ready for that. I have assigned the bug to them because of that.
The only thing I can do is continue to use NetworkManager, which does work, however I have problems setting a static IP number using that technique, which I'd much rather do.
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394#c17
--- Comment #17 from Russell Sandish
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394#c18
--- Comment #18 from Russell Sandish
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394#c19
--- Comment #19 from Russell Sandish
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394#c20
--- Comment #20 from Russell Sandish
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394
http://bugzilla.opensuse.org/show_bug.cgi?id=1157394#c21
Rubén Torrero Marijnissen
participants (1)
-
bugzilla_noreply@novell.com