summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-04-05 15:36:26 +0200
committerThomas Haller <thaller@redhat.com>2019-04-05 16:13:32 +0200
commit78d9bd62ff152523489226b0bc7fd4f2b8ddc80d (patch)
tree10424a579725b1693db64629191f99711f20cde5
parentab65c085af25876aeefa6a56e8d2f761759b0f35 (diff)
downloadNetworkManager-78d9bd62ff152523489226b0bc7fd4f2b8ddc80d.tar.gz
examples: blacklist drivers "wl" and "8188eu" in "31-mac-addr-change.conf" for "wifi.scan-rand-mac-address"
These drivers work bad with changing the MAC address. See [1], [2], [3] for reports about failures with "wl" driver. [3] also blacklists driver "8188eu". While we already blacklist "r8188eu", it seems that some installations use the alternative name "8188eu" [4]. "wpasupplicant" package on Ubuntu 18.04 (bionic) provides the file "/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf", which blacklists the same drivers. See also bug [3] which added the file. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1695696 [2] https://bugzilla.gnome.org/show_bug.cgi?id=777523#c27 [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833507 [4] https://github.com/lwfinger/rtl8188eu/blob/9a56f32c2a46be5b81f0eedf49ad44ea8f10bfae/dkms.conf
-rw-r--r--examples/nm-conf.d/31-mac-addr-change.conf12
1 files changed, 8 insertions, 4 deletions
diff --git a/examples/nm-conf.d/31-mac-addr-change.conf b/examples/nm-conf.d/31-mac-addr-change.conf
index 554b698fbd..0f3c72b1ab 100644
--- a/examples/nm-conf.d/31-mac-addr-change.conf
+++ b/examples/nm-conf.d/31-mac-addr-change.conf
@@ -5,12 +5,16 @@
#
# https://bugzilla.gnome.org/show_bug.cgi?id=777523
[device-31-mac-addr-change]
-match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:eagle_sdio
+match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:8188eu,driver:eagle_sdio,driver:wl
wifi.scan-rand-mac-address=no
[connection-31-mac-addr-change]
-match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:eagle_sdio
-# these are per-profile properties. Here we overwrite the default
-# value, but explicitly configuring it in the profile takes precedence.
+# These are per-profile properties. Here we set the default value
+# for the profiles. Note that the default value already should be
+# "preserve", so this has no actual effect.
+#
+# Also note that this is only the default. Per-profile settings
+# still take precedence.
+match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:8188eu,driver:eagle_sdio,driver:wl
wifi.cloned-mac-address=preserve
ethernet.cloned-mac-address=preserve