Skip to content

Instantly share code, notes, and snippets.

@nguyentruongtho
Forked from razhangwei/captive.md
Created May 25, 2022 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nguyentruongtho/90aa36a46f201a69f05a51982bd88e07 to your computer and use it in GitHub Desktop.
Save nguyentruongtho/90aa36a46f201a69f05a51982bd88e07 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