Quick and simple MAC address generator:
dd if=/dev/urandom bs=1 count=3 2>/dev/null | od -tx1 | head -1 \ | cut -d' ' -f2- | awk '{ print "00:50:19:"$1":"$2":"$3 }'
I normally have this set up as an alias in my profile under ‘mac’.
Quick and simple MAC address generator:
dd if=/dev/urandom bs=1 count=3 2>/dev/null | od -tx1 | head -1 \ | cut -d' ' -f2- | awk '{ print "00:50:19:"$1":"$2":"$3 }'
I normally have this set up as an alias in my profile under ‘mac’.