#!/bin/sh

local mac=$(openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//')
sudo ifconfig en0 ether $mac
sudo ifconfig en0 down
sudo ifconfig en0 up
echo "Your new physical address is $mac"

Add a script to generate a new mac address. Useful for airport wifi
Add a script to generate a new mac address. Useful for airport wifi
