1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-11-09 11:41:33 -05:00

MAC address randomization

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2023-06-05 23:06:15 -07:00 committed by GitHub
parent 7eeb32b8ce
commit 5a95aa2d44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,3 +58,15 @@ apt purge -y gnome-calculator
#Install packages that I use #Install packages that I use
apt install -y gnome-console apt install -y gnome-console
#Randomize MAC address
sudo bash -c 'cat > /etc/NetworkManager/conf.d/00-macrandomize.conf' <<-'EOF'
[device]
wifi.scan-rand-mac-address=yes
[connection]
wifi.cloned-mac-address=random
ethernet.cloned-mac-address=random
connection.stable-id=${CONNECTION}/${BOOT}
EOF
sudo systemctl restart NetworkManager