How to disable captive.apple.com?
There's 3 ways.


sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.captive.control Active -boolean false
Just delete (or rename) /System/Library/CoreServices/Captive Network Assistant.app
Add an entry in /etc/hosts containing 127.0.0.1 captive.apple.com