If the system detects that there is no wifi access point stored, it puts the wifi into accesspoint mode and a phone or PC can connect and complete a form for the setup of the wifi network.
How can I prompt the user for this, the way networks in cafe’s and airports do it?
I have the AccessPointClientConnectionChange firing when the network is connected and has an IP which is static of course.
Apparently this is called a Captive Portal but I can’t see how to set this up in SITCore.
Triggering a redirect to a captive portal means you have to act as a man-in-the-middle and intercept DNS and http(s) traffic. That means that your AP has to offer a DHCP address to the peer (client) machine and then no matter what web site they request, you redirect it to your own http endpoint where they can complete whatever setup process you construct there.
Captive portal is mostly useful for public spaces where users aren’t focused on configuring the device as their current task. It’s for when you want to get in their way and force a logon.
In my own experience I find it better to just tell them a) connect to the AP, and b) go to some web addr on your machine (e.g., 192.168.99.1). Using a captive portal to force that web access is extra work and not worth it because your user isn’t trying to get to facebook.com - they’re already engaged in configuring your device as their current workflow.
2 Likes