Skip to content

Instantly share code, notes, and snippets.

@razhangwei
Last active May 25, 2022 14:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save razhangwei/0e28ccbee5be977c82f675bb390de1c8 to your computer and use it in GitHub Desktop.
Save razhangwei/0e28ccbee5be977c82f675bb390de1c8 to your computer and use it in GitHub Desktop.
Disable captive network support in #MacOS (useful for wifi connection in public places like Starbucks)

To disable it, set this preference

sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.captive.control Active -boolean false

Then, as @Leon mentions, use the regular web browser to login. Or if you are on a network where that somehow does not work then you can still try and open the app manually (located at /System/Library/CoreServices/Captive Network Assistant.app )

In case, you would ever want to remove this setting, you can do:

sudo defaults delete /Library/Preferences/SystemConfiguration/com.apple.captive.control Active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment