A command-line utility called mac changer allows you to change MAC addresses from the known vendor list.

To install mac changer on Debian, Ubuntu or Linux Mint:


$ sudo apt-get install macchanger



How to Spoof a MAC Address Permanently

Create a custom startup script in /etc/network/if-up.d/ as follows.

$ sudo vi /etc/network/if-up.d/changemac

#!/bin/sh
 if [ "$IFACE" = eth0 ]; then
  ip link set dev "$IFACE" address 00:00:00:00:00:01
fi

$ sudo chmod 755 /etc/network/if-up.d/changemac

Post a Comment

Previous Post Next Post