Skip to content

Instantly share code, notes, and snippets.

@jellea
Created May 14, 2012 15:32
Show Gist options
  • Save jellea/2694597 to your computer and use it in GitHub Desktop.
Save jellea/2694597 to your computer and use it in GitHub Desktop.
Mac address trolling
#include <SPI.h>
#include <Ethernet.h>
int min = 0;
int max = 255;
void setup(){
}
void loop(){
byte mac[] = {random(min, max), random(min, max), random(min, max), random(min, max), random(min, max), random(min, max) };
Ethernet.begin(mac);
delay(2000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment