Geek Posted November 10, 2010 Posted November 10, 2010 <div class="KonaBody"><p>Do you want to generate a random MAC address? No problem with this neat tip sent in by one of our readers, just paste the following into the command line:</p> <p><code>openssl rand -hex 6 | sed 's/(..)/1:/g; s/.$//'</code></p> <p>The hexadecimal output will be the generated MAC address, and will look something like this: 07:e0:17:8f:11:2f</p> <p>This is pretty helpful if you need to create a new MAC address for something like your router or cable modem. Of course you can also <a href="http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/">spoof your MAC address</a> rather easily in Mac OS X if you want to use one of the generated addresses for that purpose too.</p> <p>This command has been tested to work in Linux and Mac OS X.</p> </div> <p><a href="http://feedads.g.doubleclick.net/~a/VGnsydVxxOL8OZ-0CQnH0I5kM8M/0/da"><img src="http://feedads.g.doubleclick.net/~a/VGnsydVxxOL8OZ-0CQnH0I5kM8M/0/di" border="0" ismap="true"></img></a><br/> <a href="http://feedads.g.doubleclick.net/~a/VGnsydVxxOL8OZ-0CQnH0I5kM8M/1/da"><img src="http://feedads.g.doubleclick.net/~a/VGnsydVxxOL8OZ-0CQnH0I5kM8M/1/di" border="0" ismap="true"></img></a></p><div class="feedflare"> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=-ImkrDlyTVo:paQi4uTUcyQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=-ImkrDlyTVo:paQi4uTUcyQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=-ImkrDlyTVo:paQi4uTUcyQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=-ImkrDlyTVo:paQi4uTUcyQ:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=-ImkrDlyTVo:paQi4uTUcyQ:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=-ImkrDlyTVo:paQi4uTUcyQ:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=-ImkrDlyTVo:paQi4uTUcyQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=qj6IDK7rITs" border="0"></img></a> </div><img src="http://feeds.feedburner.com/~r/osxdaily/~4/-ImkrDlyTVo" height="1" width="1"/> View the full article
Recommended Posts