You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
701 B
701 B
spoof MAC address with NetworkManager
we will be using the nmcli
utility to set the spoofed MAC address, which is the same configuration that the Ubuntu settings UI uses.
first, list the available connections:
nmcli connection show
choose the connection you want to manage and enter the interactive editing prompt with:
sudo nmcli connection edit ${connection:?}
nmcli interactive prompt
To set the the spoofed MAC address, enter:
set 802-3-ethernet.cloned-mac-address ${spoofed_mac:?}
If you no longer wish to be spoofing a MAC address, enter:
remove 802-3-ethernet.cloned-mac-address
Once you are finished, save the settings and exit:
save
quit