0bmxa / why-no-network

WHY NO NETWORK
0 stars 0 forks source link

Networks that time box access by MAC Address #3

Open zconnelly opened 6 years ago

zconnelly commented 6 years ago

There are wifis like at Spreegold https://goo.gl/maps/8ZzsX2C8nuJ2 that restrict internet access to 1 hour -- but they use your MAC address to track you.

This is approximately how you can generate a random one and set it

# generate a random mac address
openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'

# set mac address
sudo ifconfig en0 ether xx:xx:xx:xx:xx:xx

Could be interesting to be able to detect this and/or just provide this as an option