Skip to content

Instantly share code, notes, and snippets.

Last active Mar 11, 2022
What would you like to do?
When Public WiFi (like Airport) wont re-prompt for login
// Based on answer from Gareth here:
#> ifconfig
// this will give you a list of MAC addresses
// or
#> sudo ifconfig en0
// will give you a specific MAC address (you will be prompted for your system's admin password
/* For example:
ether 22:41:41:5a:a1:10 // <!-- !! This is the number you want
inet6 fe80::10eb:cb59:bf46:9978%en0 prefixlen 64 secured scopeid 0x8
inet netmask 0xffffc000 broadcast
nd6 options=201<PERFORMNUD,DAD>
media: autoselect
status: active
// Then change your MAC address so it forces a re-login when you open the browser
// Here I changed the ...:10 to ...:11
#> sudo ifconfig en0 lladdr 22:41:41:5a:a1:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment