After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 684953 - captive portal detection for network
captive portal detection for network
Status: RESOLVED DUPLICATE of bug 723570
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on: 699509
Blocks:
 
 
Reported: 2012-09-27 13:55 UTC by William Jon McCann
Modified: 2014-02-17 19:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
network-no-route: focus the metaphor to the primary use case (53.47 KB, patch)
2013-11-15 13:17 UTC, Jakub Steiner
none Details | Review

Description William Jon McCann 2012-09-27 13:55:32 UTC
If we connect to a captive portal or any other not-really-connected-to-the-internet type of connection. We should do a couple of things differently. First, we should differentiate this state with a different icon in the top bar. Secondly, we should not remember the connection in a way that tries to autoconnect to it later.

If the connection later gets changed to be routable to the internet then we should change the icon and remember the connection.

The primary use case for this is a so-called captive portal at a cafe, airport, etc.

We'll need to design a new icon for this.

Apparently there is already support in NM for this:
http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=267bc993a710ec3923b6f243cb6a4b047fa49ec4
Comment 1 William Jon McCann 2012-09-27 13:58:43 UTC
To handle intranet type connections that are valid and never get routed outside we could have an option in the network settings for that connection to consider them fully connected.
Comment 2 Lapo Calamandrei 2012-09-27 14:01:44 UTC
We're using a single icon for nm, we can't overlay symbolic icons nicelly, so I guess the only things we could do is forget about connection strenght or provide a set of connection strenght icons + captive portal indication.
If we go the forget about connection strenght route, we need to make sure the user will still recognize such an icon as a network related one, for example if we use some generic warning icon it may not be clear that's the right one to click to act on network settings.
Comment 3 Lapo Calamandrei 2012-09-27 14:13:37 UTC
An easy solution could be to change the symbolic icon color to indicate a warning
Comment 4 William Jon McCann 2012-09-27 15:45:59 UTC
Or perhaps use the "..." state icon and automatically pop up the portal login page. I think this makes sense because we also use ... for "more input needed".
Comment 5 William Jon McCann 2012-10-02 18:41:22 UTC
We'll also need to be able to bring up the login page automatically.
Comment 6 Jasper St. Pierre (not reading bugmail) 2012-10-02 18:45:18 UTC
(In reply to comment #2)
> We're using a single icon for nm, we can't overlay symbolic icons nicelly

It's not too hard. It can be done.
Comment 7 Matthias Clasen 2013-11-15 13:08:51 UTC
It seems we do have a candidate icon for this: network-no-route-symbolic
Comment 8 Jakub Steiner 2013-11-15 13:17:57 UTC
Created attachment 259874 [details] [review]
network-no-route: focus the metaphor to the primary use case

- this situation is most likely to catch for captive
  portals (pun intended)

http://bugzilla.gnome.org/show_bug.cgi?id=684953
Comment 9 Dan Winship 2013-11-15 15:49:33 UTC
(In reply to comment #8)
> Created an attachment (id=259874) [details] [review]
> network-no-route: focus the metaphor to the primary use case

Note that current NM distinguishes NM_CONNECTIVITY_PORTAL ("you're behind a captive portal") from NM_CONNECTIVITY_LIMITED ("you're not behind a portal, but you can't reach the Internet". eg, your wifi network is working, but its connection to your ISP connection is down)
Comment 10 William Jon McCann 2013-11-15 18:36:16 UTC
When the portal is detected and we invoke the authentication agent I think we still want the icon to show the "..." connecting state.

For the new no-route icon, do we want that to be placed next to the wifi signal level icon? As we do with VPN? If we do that then it might work fine for both portal and limited-connectivity.
Comment 11 Matthias Clasen 2013-11-21 15:10:49 UTC
Is ee the dependent bug got closed, and 
http://nmcheck.gnome.org/check_network_status.txt
is supposedly in place (I do get a 403 when trying to access it, though)
Comment 12 Giovanni Campagna 2014-02-17 19:52:37 UTC
Thanks for taking the time to report this bug.
This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade.

(The other bug is not fixed, but the part about connectivity checks landed)

*** This bug has been marked as a duplicate of bug 723570 ***