Quick-Tip: Spoof Your MAC Addresses in Linux & OS X without 3rd Party Apps

This simple miracle doesn’t even require macchanger and can be run as a cron job with a randomized MAC address:

ifconfig en0 | grep ether <shows your  MAC>

sudo ifconfig en0 ether 00:e2:e3:e4:e5:e6
ifconfig en0 | grep ether
airport -z
sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport
sudo ifconfig en0 Wi-Fi aa:bb:cc:dd:ee:ff
sudo ifconfig en0 ether aa:bb:cc:dd:ee:ff