diff options
author | Thomas Haller <thaller@redhat.com> | 2017-03-17 16:18:48 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-03-17 17:40:00 +0100 |
commit | b869d9cc0dda4fe5300f5ec5b5a090199ecd4e3e (patch) | |
tree | 654c693a00aaf40f3293c8b9f452c8622f777138 /examples | |
parent | 4c6edb22b70249c302209dc4af29c5caa88a764d (diff) |
device: add spec "driver:" to match devices
Changing the MAC address of devices is known to fail with
certain drivers. Add a device-spec to allow disabling it
for for such devices.
Related: https://bugzilla.gnome.org/show_bug.cgi?id=777523
Diffstat (limited to 'examples')
-rw-r--r-- | examples/nm-conf.d/31-mac-addr-change.conf | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/nm-conf.d/31-mac-addr-change.conf b/examples/nm-conf.d/31-mac-addr-change.conf new file mode 100644 index 000000000..1ae2e0dc1 --- /dev/null +++ b/examples/nm-conf.d/31-mac-addr-change.conf @@ -0,0 +1,11 @@ +# Certain drivers are known not to support changing the MAC address. +# Disable touching the MAC address on such devices. +# +# See man NetworkManager.conf +# +# https://bugzilla.gnome.org/show_bug.cgi?id=777523 +[device-mac-addr-change-wifi] +match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:eagle_sdio +wifi.scan-rand-mac-address=no +wifi.cloned-mac-address=preserve +ethernet.cloned-mac-address=preserve |