Created
June 2, 2012 19:12
-
-
Save tapajos/2859621 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ifconfig en1 ether `openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'` |
basicamente é gerar um hexa e usar o sed para por um : a cada dois digitos.
show! Logo mais vou usar em Dallas!
Eu e minha esposa mandamos um beijo pra você, tapajos, por nos facilitar a vida com esses pontos de acesso semi-gratuitos por aí. abraço.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
já está melhor que aqui no Brasil! curti o openssl + regex gist muito útil !