Hacker News new | ask | show | jobs
by cproctor 2419 days ago
The problem with constantly shuffling MAC addresses is that they are used for device authentication on corporate/school/university networks. Does anyone know of a utility that generates MAC addresses as a hash of the SSID?
2 comments

A bash script?

You can scan for the networks in the area, select the one you want, run the name through, say sha256, select the first 8 characters and reset the mac address to that.

Yeah, not that hard to do manually--I have a nice script for that. But I haven't looked into the logistics of hooking into the wifi connection process and doing this automatically :)
Back in my misspent youth I had a bash script that would connect me to whatever access point I needed.

I can't imagine much has changed since then, just add the logic to change the mac address between entering the SSID and actually connecting.

Won’t that cause problems if 2 people do this in the same session (and generate duplicate MAC addresses)?

I guess you could get around it by hashing the ssid + a personal salt.