After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 780119 - Many usb wifi dongles fail to connect
Many usb wifi dongles fail to connect
Status: RESOLVED DUPLICATE of bug 777523
Product: NetworkManager
Classification: Platform
Component: Wi-Fi
1.6.x
Other Linux
: Normal critical
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-03-16 02:51 UTC by An Yang
Modified: 2017-03-17 14:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description An Yang 2017-03-16 02:51:28 UTC
Hi,

I have tested many usb wifi dongles with NetworkManager 1.4.x and 1.6.x in linux kernel 4.9.x, include ath9k, rt2x00usb, rtl8xxxu, rtl8188, mt7601u, none of them could work without the following option:

[device]
wifi.scan-rand-mac-address=0

Could you disable this function by default?

If you think some thing is wrong in these drivers, could you give me more information how to fix in these wifi drivers?
Comment 1 An Yang 2017-03-17 08:15:59 UTC
very simple change:

in src/devices/wifi/nm-device-wifi.c line 1125
randomize = nm_config_data_get_device_config_boolean (NM_CONFIG_GET_DATA,
                                                              "wifi.scan-rand-mac-address",
                                                              device,
                                                              FALSE, TRUE);
Comment 2 An Yang 2017-03-17 10:20:03 UTC
I have tested in Fedora 25, Ubunut 17.04, Debian9 testing, all these distro with NetworkManager above 1.4.x have the same problem.
Comment 3 Thomas Haller 2017-03-17 14:05:20 UTC
this is a duplicate. See https://bugzilla.gnome.org/show_bug.cgi?id=777523#c5

*** This bug has been marked as a duplicate of bug 777523 ***