mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-12-25 00:01:59 -05:00
MAC address randomization
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
7eeb32b8ce
commit
5a95aa2d44
@ -58,3 +58,15 @@ apt purge -y gnome-calculator
|
||||
|
||||
#Install packages that I use
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user