I’m not sure if this is just macOS Mojave being flaky or some interaction with the security malware installed on my work laptop, but it refuses to connect to some captive portals.

The problem is that it refuses to render the captive portal login page, so you can’t agree to their TOS, and don’t get a DHCP address.

WIFI Fail

There’s a workaround, you can open Apple’s hotspot detection page with Safari directly by running

open -a "Safari" "http://captive.apple.com/hotspot-detect.html"

in a terminal window.

That’s annoying to remember (and honestly, most of the time I don’t have Safari running) so I’ve added it to my tumult zsh plugin for macOS here.