mac random config

master
Mi Klo 2021-06-27 09:35:03 +00:00
rodzic 50eff3ef12
commit 5c2c0260e2
1 zmienionych plików z 29 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,29 @@
# /etc/NetworkManager/conf.d/30-randomize-mac-address.conf
# REQUIRES NETWORK MANAGER >= 1.4.1 (Ubuntu Zesty and above)
# Thanks to https://blogs.gnome.org/thaller/2016/08/26/mac-address-spoofing-in-networkmanager-1-4-0/
# This randomize your MAC address for *new* connections
# Be sure to change your existing (saved) connections in
# /etc/NetworkManager/system-connections/*
# NOTE: To support captive-portals that rely on a consistent mac address,
# use `cloned-mac-address=stable` in /etc/NetworkManager/system-connections/[network name]
[device-mac-randomization]
# "yes" is already the default for scanning
wifi.scan-rand-mac-address=yes
[connection-mac-randomization]
ethernet.cloned-mac-address=stable
wifi.cloned-mac-address=random
# The options are:
#
# - permanent: use the hardware MAC
# - preserve: dont change the MAC address of the device upon activation.
# - random: generate a randomized value upon each connect.
# - stable: generate a stable, hashed MAC address.
#