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
Question marked as Top-ranking reply

Oct 21, 2019 4:41 AM in response to surfraz

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.

Nov 19, 2019 5:59 AM in response to surfraz

I experienced the same issue just after upgrading to macOS Catalina 10.15.1. Login pop-ups stopped appearing for captive networks.


I've tried running the Captive Network Assistant application manually as described here (which is located on /System/Library/CoreServices/Captive Network Assistant.app) but unfortunately, it didn't help either.


After following several other troubleshooting steps with no luck, and opening a case to Apple (with no feedback so far), I was able to resolve it by turning off Wi-Fi, removing the files below and restarting;


  • /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist
  • /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
  • /Library/Preferences/SystemConfiguration/preferences.plist

Nov 19, 2019 6:16 AM in response to surfraz

I experienced the same issue just after upgrading to macOS Catalina 10.15.1. Login pop-ups stopped appearing for captive networks.


Things I've tried to resolve;


  • Manually opening the URLs of the login pages
  • Trying out different captive networks
  • Removing custom DNS entries
  • Checking IP configuration and DHCP assignment
  • Creating a new network location
  • Pinging the gateway
  • Switching to a different browser
  • Rebooting
  • Opening a case to Apple (has been escalated but no feedback yet)
  • Running the Captive Network Assistant application manually as described here (which is located on /System/Library/CoreServices/Captive Network Assistant.app)


...and unfortunately, none of them worked.


After following several other troubleshooting steps with no luck, I was able to resolve it by turning off Wi-Fi, removing the files below and restarting;


  • /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist
  • /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
  • /Library/Preferences/SystemConfiguration/preferences.plist


Hope it helps!

Oct 21, 2019 5:01 AM in response to surfraz

There's a bug in macOS Catalina that in some cases seems to prevents that the WiFi login webpage (captive portal) never appears.


Workaround:

1.) connect to the WiFi

2.) open this app: /System/Library/CoreServices/Captive Network Assistant.app


the WiFi login page should now appear (if not, disable and re-enable WiFi and try again).


Also see here for a fix how to bring back the WiFi login window automatically:

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

Oct 15, 2019 10:00 AM in response to surfraz

This sounds to me like there is something third-party (e.g., automatic VPN protection, some kind of third-party firewall, over-zealous AV) that is getting in the way. I’ve had issues with VPN in the past, and found that temporarily disabling it (until I get through the captive portal) solved it for me — and is a heck of a lot easier than rebooting into Safe Mode!

Oct 15, 2019 9:51 AM in response to surfraz

I had the same problem and I asked the same question: Wifi does not recognise captive portal af… - Apple Community.


On that discussion, somebody posted some threads from the Sophos forum and somebody else suggested I remove the AV software I had installed (Avast), which I did and then rebooted. So far it has fixed it, although it might have been just the reboot, I suppose.


Anyway, if you have this problem and you have anti-virus software installed, I suggest you see if uninstalling the AV fixes the issue.

Dec 19, 2019 3:36 AM in response to surfraz

Had the same issue since Catalina update and have tried all the suggested fixes on here with varying degrees of partial success(es) - the deletion of the /Library/LaunchDaemons and LaunchAgents worked briefly and also prompted me to delete a number of unused Apps but then reverted to the same problem after a few connections to various guest wifi networks.


However today after the OS 10.15.2 update it has completely fixed the problem, so it would appear t be an OS issue all along.



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.