Skip to content

Instantly share code, notes, and snippets.

@wowstrongdrink
wowstrongdrink / mac_rand_mac_addr.rb
Created February 4, 2011 17:48
Set a random mac address on Snow Leopard (only until next reboot)
#!/usr/bin/env ruby
#
# Script to change to a random mac address
# Usage: ruby random_mac_address
#
# Modeled after instructions at:
# http://www.iclarified.com/entry/index.php?enid=7673
#
# Author:: Marc Siegel <wowstrongdrink@yahoo.com>