We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12b03cd commit 6874d7eCopy full SHA for 6874d7e
random-mac.sh
@@ -1,4 +1,5 @@
1
#!/bin/sh
2
#MAC ADDRESS RANDOMIZER
3
+#http://www.commandlinefu.com/commands/view/8471/generat-a-random-mac-address
4
-2>/dev/null dd if=/dev/urandom bs=1 count=6 | od -t x1 | sed '2d;s/^0\+ //;s/ /:/g'
5
+(date; cat /proc/interrupts) | md5sum | sed -r 's/^(.{10}).*$/\1/; s/([0-9a-f]{2})/\1:/g; s/:$//;'
0 commit comments