tickets #9450
closedNew static served website - for NetworkManager 'online check' (captive portal detection)
0%
Description
Dear Admins,
NetworkManager has a feature to detect captive portals and ask the user
to login to it if needed.
This is done in a similar fashion as Android/Apple/Microsoft does it:
- NetworkManager tries to reach a pre-configured server (this is what I want to set up with you)
- If the server is reachable, it should return an EMPTY page, with http status code 204 and the extra header X-NetworkManager-Status=online
NetworkManager will try to reach this server in a (pre-configured) 3o0s
interval.
Can we setup a host at http://conncheck.opensuse.org that serves as
described above (can also be any other address, the NM config still
needs to be written)
If serving HTTP/204 with an extra header sounds too complicated, we can
also do a 'regular static page' served as HTTP/200 with a pre-defined
(short) content (this is what Fedora does at http://fedoraproject.org/s
tatic/hotspot.txt ); in this case, the returned string needs to be
entered in the NM configuration for detection.
Please let me know if you need any further information or if anything
is unclear. I will gladly try to explain further.
NM allows to disable the feature by updating the NetworkManager.conf
file - so users are in control if that feature is on or off for them.
Best regards,
Dominique