wifi not working - captive portal login screen does not appear

On upgrade to Catalina, the captive portal wifi login page no longer appears. Because of this I can no longer connect to public wifi portals.


Steps: Connect to a public wifi


Expected result: Captive network login dialog screen should appear


Actual result: Wifi shows as connected, but no login screen, and no internet access, no DNS resolution, not able to access any IPs on the network

MacBook Pro

Posted on Oct 9, 2019 11:33 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 21, 2019 4:41 AM

This is a bug in macOS Catalina (still present with the latest patchlevel, i.e. 10.15 with the supplemental update from 15th October 2019). For some reason the Captive Portal Assistant (the app that produces the captive portal popup window whenever you connect to a WiFi hotspot) won't start automatically.


There are two workarounds:

option 1: Either you can manually start the Captive Portal Assistant app manually after you have connected to the WiFi network. This will bring up the captive portal popup window and you can unlock Internet access there. (Really no need to boot in recovery mode, etc. !)


option 2: From this blog post: To bring back the captive portal window automatically whenever you connect to a captive portal-protected WiFi network you can create a LaunchDaemon that watches for WiFi changes and automatically opens the Captive Portal Assistant app.


Create a plist file with the service definition somewhere:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" \
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
 <dict>
  <key>Label</key>
  <string>my.shim.catalina.captivenetworkassistant.plist</string>
  <key>LowPriorityIO</key>
  <true/>
  <key>ProgramArguments</key>
  <array>
   <string>open</string>
   <string>/System/Library/CoreServices/Captive Network Assistant.app</string>
  </array>
  <key>WatchPaths</key>
  <array>
   <string>/Library/Preferences/SystemConfiguration</string>
  </array>
  <key>RunAtLoad</key>
  <true/>
 </dict>
</plist>


and apply it:


launchctl load my.shim.catalina.captivenetworkassistant.plist
launchctl start my.shim.catalina.captivenetworkassistant


check https://poweruser.blog/macos-catalina-wifi-issue-captive-portal-broken-45610cc016b5 for more details.

74 replies

Oct 17, 2019 10:41 AM in response to jackvinson

Hello, please see my post here:

https://discussions.apple.com/thread/250713004


Please try to reboot your MacBook into Safe Mode (holding the shift key on boot). If the Captive Portal appears it is likely a 3rd party application that is interfering with the Network Stack.


When you reload you PC back into Normal Mode you should be connected, however that doesn't necessarily mean it is fixed. This is because you have just gone through the captive portal process i.e. Accept T&Cs in Safe Mode for that day. Then after a certain period the Captive Portal may expire your session. you will need to complete the Captive Portal process again and hence it will no longer work.


So the real fix is check for applications installed that could interfere with the Network Stack such as a VPN client i.e. Cisco VPN Client or even possibly an Anti-Virus Scanner.

Oct 18, 2019 4:35 PM in response to surfraz

I have been having a similar issue. One thing works for me.


  • Log out of your user account
  • Log in to Guest Account
  • Connect to the desired Wifi. (captive window still doesn't appear)
  • Open Chrome browser. Try to navigate to a page, ex. apple.com
  • The applicable wifi login page loads, and then allows you to connect however is necessary
  • Log out of Guest Account
  • Log back into your user account
  • Connect to the desired Wifi, and start browsing as normal. You're already "logged in" somehow.


I've tried all kinds of things before stumbling across this. I tried going to captive.apple.com, captive.apple.com/hotspot-detect.html, going to the router ip address, going to any generic ip address, deleting preference files from Library/Preferences/SystemConfiguration, even typing something into the Terminal: sudo killall -HUP mDNSResponder ---None of those things worked. Only logging into the guest account, connecting to the wifi there, and then going back to my user account.


Ps. I've been having a glitch in Catalina with my Guest Account not always allowing me to log in (either not appearing, or requesting a password that doesn't exist). I can fix it by going into System Preferences, deactivating the guest account, then reactivating it again.

Nov 15, 2019 9:46 AM in response to surfraz

It works if you delete every thing in the following 2 folders: /Library/LaunchDaemons and /Library/LaunchAgents

Turn off wifi. Restart computer. Turn on wifi. It should work.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

wifi not working - captive portal login screen does not appear

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.