Fix RTM NEW/DELLINK IFLA_IFNAME copy for maximum ifname length
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wpa (Debian) |
Fix Released
|
Unknown
|
|||
wpa (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Unassigned |
Bug 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://
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-
- Some specific drivers in /usr/lib/
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-
- Remove /usr/lib/
- 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.
Related branches
- Andrej Shadura (community): Disapprove
- git-ubuntu developers: Pending requested
-
Diff: 74 lines (+52/-0)3 files modifieddebian/changelog (+6/-0)
debian/patches/lp1867908.patch (+45/-0)
debian/patches/series (+1/-0)
tags: | added: patch |
description: | updated |
description: | updated |
Changed in wpasupplicant (Ubuntu): | |
status: | New → Fix Committed |
tags: | added: champagne |
Changed in wpa (Ubuntu): | |
importance: | Undecided → Medium |
tags: | removed: champagne |
Changed in wpa (Ubuntu Focal): | |
status: | Triaged → Fix Committed |
Changed in wpa (Debian): | |
status: | Unknown → New |
Changed in wpa (Debian): | |
status: | New → Fix Released |
The patch was merged upstream: w1.fi/cgit/ hostap/ commit/ ?id=7546c489a95 a033c78331915fc dfa0e6fd74d563
http://
Could someone please cherrypick it to Focal? It's rather significant...
Will it help if I send a debdiff?