How To Spoof The MAC address On A Raspberry Pi
==================================================
Here are the commands to do the following:
sudo apt update
sudo apt upgrade
sudo reboot
==============================================
sudo apt install macchanger “Check YES OR NO”
==============================================
ifconfig “Take not of the MAC address”
sudo ifconfig wlan1 down “Remember to change the wlan1 if needed”
sudo macchanger -r wlan1 “-r is to pick a random MAC address”
sudo macchanger -m 11:22:33:44:55:66 wlan1 “-m is to setup a manual MAC address”
sudo macchanger -r wlan1 “Will show the different MAC’s”
=================================================
sudo nano /etc/network/if-up.d/macchange
“This will allow the different MAC address to change on boot”
Add the following below and save the file.
================================================
#!/bin/sh
if [ “$IFACE” = lo ]; then
exit 0
fi
/usr/bin/macchanger -m 02:c9:91:54:f6:06 wlan1
“Make sure to update the MAC and wlan1 to your setup”
sudo reboot
================================================
macchanger wlan1 “this will show your current MAC address””
===================================================
Visit my website at http://fuzzthepiguy.tech
mac address