Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sudo ifconfig en1 ether `openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'`
@rodrigopinto

This comment has been minimized.

Copy link

@rodrigopinto rodrigopinto commented Jun 2, 2012

👍 fiz isso esses dias... ps: só camuflando o address

@tapajos

This comment has been minimized.

Copy link
Owner Author

@tapajos tapajos commented Jun 2, 2012

Aqui no aeroporto de Houston a internet free é só por 45 min.

@rodrigopinto

This comment has been minimized.

Copy link

@rodrigopinto rodrigopinto commented Jun 2, 2012

já está melhor que aqui no Brasil! curti o openssl + regex gist muito útil !

@tapajos

This comment has been minimized.

Copy link
Owner Author

@tapajos tapajos commented Jun 2, 2012

basicamente é gerar um hexa e usar o sed para por um : a cada dois digitos.

@klebervirgilio

This comment has been minimized.

Copy link

@klebervirgilio klebervirgilio commented Dec 31, 2012

show! Logo mais vou usar em Dallas!

@formigarafa

This comment has been minimized.

Copy link

@formigarafa formigarafa commented Jul 14, 2013

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