Project

General

Profile

tickets #9450

New static served website - for NetworkManager 'online check' (captive portal detection)

Added by dimstar about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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

History

#1 Updated by dimstar about 7 years ago

  • Private changed from Yes to No

#2 Updated by tampakrap over 6 years ago

  • Status changed from New to Closed

done

Also available in: Atom PDF