Activity log for bug #1867908

Date Who What changed Old value New value Message
2020-03-18 11:07:47 Alkis Georgopoulos bug added bug
2020-03-18 11:07:47 Alkis Georgopoulos attachment added wpasupplicant.patch https://bugs.launchpad.net/bugs/1867908/+attachment/5338339/+files/wpasupplicant.patch
2020-03-18 12:32:56 Ubuntu Foundations Team Bug Bot tags patch
2020-03-24 07:33:04 Launchpad Janitor merge proposal linked https://code.launchpad.net/~alkisg/ubuntu/+source/wpa/+git/wpa/+merge/381089
2020-03-24 07:33:26 Alkis Georgopoulos attachment removed wpasupplicant.patch https://bugs.launchpad.net/ubuntu/+source/wpasupplicant/+bug/1867908/+attachment/5338339/+files/wpasupplicant.patch
2020-03-24 07:37:04 Alkis Georgopoulos description Some Realtek wifi adapters like 88x2bu kept asking for a password when MAC address randomization was enabled. I reported this to Realtek, and they gave me the attached oneliner patch for wpa_supplicant, which fixes the issue. I asked Realtek to report this upstream to wpasupplicant. I don't yet know if they'll do it, but it certainly won't be in time for Focal. So I'm attaching the patch here, in case it makes it for Focal. Some wifi adapters kept asking for a password when MAC address randomization was enabled. I reported this to Realtek, and they gave me a patch for wpa_supplicant, which fixes the issue. I asked Realtek to report this upstream to wpasupplicant, and they did, the commit is: http://w1.fi/cgit/hostap/commit/?id=7546c489a95a033c78331915fcdfa0e6fd74d563 It would be very nice to cherrypick that for Focal. I uploaded it as a merge request below, and I tested that it fixes the issue with adapters based on the following chipsets: ath9k, rtl8812au, rtl88x2bu and rtl8821cu
2020-03-24 07:39:34 Alkis Georgopoulos summary Patch for MAC randomization Fix RTM NEW/DELLINK IFLA_IFNAME copy for maximum ifname length
2020-03-24 07:55:50 Alkis Georgopoulos description Some wifi adapters kept asking for a password when MAC address randomization was enabled. I reported this to Realtek, and they gave me a patch for wpa_supplicant, which fixes the issue. I asked Realtek to report this upstream to wpasupplicant, and they did, the commit is: http://w1.fi/cgit/hostap/commit/?id=7546c489a95a033c78331915fcdfa0e6fd74d563 It would be very nice to cherrypick that for Focal. I uploaded it as a merge request below, and I tested that it fixes the issue with adapters based on the following chipsets: ath9k, rtl8812au, rtl88x2bu and rtl8821cu Some wifi adapters kept asking for a password when MAC address randomization was enabled. I reported this to Realtek, and they gave me a patch for wpa_supplicant, which fixes the issue. I asked Realtek to report this upstream to wpasupplicant, and they did, the commit is: http://w1.fi/cgit/hostap/commit/?id=7546c489a95a033c78331915fcdfa0e6fd74d563 It would be very nice to cherrypick that for Focal. I uploaded it as a merge request below, and I tested that it fixes the issue with adapters based on the following chipsets: ath9k, rtl8812au, rtl88x2bu and rtl8821cu To reproduce this: Ubuntu's network-manager defaults to "MAC randomization disabled", I think as a workaround to this specific issue. This is defined in two places: - wifi.scan-rand-mac-address=no in /etc/NetworkManager/NetworkManager.conf - Some specific drivers in /usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf. With these, the problem happens in around 10% of the cases. To be able to reproduce it in 100% of the cases, it's best to remove these Ubuntu workarounds. So: - Set "wifi.scan-rand-mac-address=yes" in /etc/NetworkManager/NetworkManager.conf - Remove /usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf. - systemctl stop network-manager - killall wpa_supplicant - systemctl start network-manager Then insert a USB wifi adapter that results in a big name with 15 characters like wlx74ee2ae2436a and try to connect to a wifi network. I will keep asking for a password. Then apply the patch, run the 3 commands above to restart network-manager, and verify that it can now connect properly.
2020-03-24 07:56:51 Alkis Georgopoulos description Some wifi adapters kept asking for a password when MAC address randomization was enabled. I reported this to Realtek, and they gave me a patch for wpa_supplicant, which fixes the issue. I asked Realtek to report this upstream to wpasupplicant, and they did, the commit is: http://w1.fi/cgit/hostap/commit/?id=7546c489a95a033c78331915fcdfa0e6fd74d563 It would be very nice to cherrypick that for Focal. I uploaded it as a merge request below, and I tested that it fixes the issue with adapters based on the following chipsets: ath9k, rtl8812au, rtl88x2bu and rtl8821cu To reproduce this: Ubuntu's network-manager defaults to "MAC randomization disabled", I think as a workaround to this specific issue. This is defined in two places: - wifi.scan-rand-mac-address=no in /etc/NetworkManager/NetworkManager.conf - Some specific drivers in /usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf. With these, the problem happens in around 10% of the cases. To be able to reproduce it in 100% of the cases, it's best to remove these Ubuntu workarounds. So: - Set "wifi.scan-rand-mac-address=yes" in /etc/NetworkManager/NetworkManager.conf - Remove /usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf. - systemctl stop network-manager - killall wpa_supplicant - systemctl start network-manager Then insert a USB wifi adapter that results in a big name with 15 characters like wlx74ee2ae2436a and try to connect to a wifi network. I will keep asking for a password. Then apply the patch, run the 3 commands above to restart network-manager, and verify that it can now connect properly. Some wifi adapters kept asking for a password when MAC address randomization was enabled. I reported this to Realtek, and they gave me a patch for wpa_supplicant, which fixes the issue. I asked Realtek to report this upstream to wpasupplicant, and they did, the commit is: http://w1.fi/cgit/hostap/commit/?id=7546c489a95a033c78331915fcdfa0e6fd74d563 It would be very nice to cherrypick that for Focal. I uploaded it as a merge request below, and I tested that it fixes the issue with adapters based on the following chipsets: ath9k, rtl8812au, rtl88x2bu and rtl8821cu To reproduce this: Ubuntu's network-manager defaults to "MAC randomization disabled", I think as a workaround to this specific issue. This is defined in two places: - wifi.scan-rand-mac-address=no in /etc/NetworkManager/NetworkManager.conf - Some specific drivers in /usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf. With these, the problem happens in around 10% of the cases. To be able to reproduce it in 100% of the cases, it's best to remove these Ubuntu workarounds. So: - Set "wifi.scan-rand-mac-address=yes" in /etc/NetworkManager/NetworkManager.conf - Remove /usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf. - systemctl stop network-manager - killall wpa_supplicant - systemctl start network-manager Then insert a USB wifi adapter that results in a big name with 15 characters like wlx74ee2ae2436a and try to connect to a wifi network. It will keep asking for a password. Then apply the patch, run the 3 commands above to restart network-manager, and verify that it can now connect properly.
2020-03-24 10:15:26 Andrej Shadura wpasupplicant (Ubuntu): status New Fix Committed
2020-03-24 10:15:34 Andrej Shadura bug added subscriber Andrej Shadura
2020-03-25 15:14:50 Robie Basak bug added subscriber Ubuntu Sponsors Team
2020-03-25 15:15:24 Robie Basak wpasupplicant (Ubuntu): status Fix Committed Triaged
2020-03-25 15:36:14 Andrej Shadura affects wpasupplicant (Ubuntu) wpa (Ubuntu)
2020-03-25 16:03:10 Christian Ehrhardt  tags patch champagne patch
2020-03-27 05:13:13 Mathew Hodson wpa (Ubuntu): importance Undecided Medium
2020-03-31 14:10:19 Sebastien Bacher nominated for series Ubuntu Focal
2020-03-31 14:10:19 Sebastien Bacher bug task added wpa (Ubuntu Focal)
2020-03-31 14:10:44 Sebastien Bacher tags champagne patch patch
2020-04-15 08:09:53 Sebastien Bacher wpa (Ubuntu Focal): status Triaged Fix Committed
2020-04-16 19:18:38 Launchpad Janitor wpa (Ubuntu Focal): status Fix Committed Fix Released
2020-05-03 13:39:12 Andrej Shadura bug watch added https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954457
2020-05-03 13:39:12 Andrej Shadura bug task added wpa (Debian)
2020-05-03 15:42:57 Bug Watch Updater wpa (Debian): status Unknown New
2020-09-11 20:59:11 Bug Watch Updater wpa (Debian): status New Fix Released