[Desktop-packages] [Bug 997200] Re: Test for captive portal before putting applications in online mode
I hope it was ok for me to take over this bug. I think apt is smarter these days and doesn't corrupt its cache when it gets invalid data. I think we should split off changes to ubiquity, update-manager, etc. to separate bugs. ** Description changed: - When in a hotel there is a often a T&Cs page that is delivered when - connecting to the network. Some combination of network manager and - update manager (or something else entirely) doesn't seem to be able to - handle this, and update are left in a non-working state after not being - able to read package headers file. + Feature + === + A separate network-manager-config-connectivity package that contains the 3-line config snippet to enable NetworkManager's connectivity check. This is the same approach taken by Fedora since 2014 (their package is named config-connectivity-fedora). + + jbicha would like to have ubuntu-gnome-desktop recommend this package for zesty. With this config, GNOME Shell will popup a browser page when a captive portal is detected. The browser page is powered by webkit2gtk. + https://help.gnome.org/misc/release-notes/3.14/#captive-portals + + By making it a separate package, it is very easy for Ubuntu flavors to + opt in to installing it by default if they choose. And it's very easy + for users to opt in or out without needing to mess around with system + configuration files. + + This new feature (and how to opt out) will be mentioned in Ubuntu + GNOME's Release Notes. + + Enabling the connectivity check by default for all of Ubuntu was discussed almost 5 years ago: + https://lists.ubuntu.com/archives/ubuntu-devel/2012-July/035490.html + + Git merge proposal attached. + + Original Bug Report + == + When in a hotel there is a often a T&Cs page that is delivered when connecting to the network. Some combination of network manager and update manager (or something else entirely) doesn't seem to be able to handle this, and update are left in a non-working state after not being able to read package headers file. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: network-manager 0.9.4.0-0ubuntu3 ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14 Uname: Linux 3.2.0-24-generic x86_64 ApportVersion: 2.0.1-0ubuntu7 Architecture: amd64 Date: Wed May 9 17:27:02 2012 InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007) IpRoute: - default via 10.155.32.1 dev wlan0 proto static - 10.155.32.0/19 dev wlan0 proto kernel scope link src 10.155.38.82 metric 2 - 169.254.0.0/16 dev wlan0 scope link metric 1000 + default via 10.155.32.1 dev wlan0 proto static + 10.155.32.0/19 dev wlan0 proto kernel scope link src 10.155.38.82 metric 2 + 169.254.0.0/16 dev wlan0 scope link metric 1000 NetworkManager.state: - [main] - NetworkingEnabled=true - WirelessEnabled=true - WWANEnabled=true + [main] + NetworkingEnabled=true + WirelessEnabled=true + WWANEnabled=true ProcEnviron: - TERM=xterm - PATH=(custom, no user) - LANG=en_GB.UTF-8 - SHELL=/bin/bash + TERM=xterm + PATH=(custom, no user) + LANG=en_GB.UTF-8 + SHELL=/bin/bash SourcePackage: network-manager UpgradeStatus: Upgraded to precise on 2012-03-07 (63 days ago) nmcli-dev: - DEVICE TYPE STATE DBUS-PATH - wlan0 802-11-wireless connected /org/freedesktop/NetworkManager/Devices/1 - eth0 802-3-ethernetunavailable /org/freedesktop/NetworkManager/Devices/0 + DEVICE TYPE STATE DBUS-PATH + wlan0 802-11-wireless connected /org/freedesktop/NetworkManager/Devices/1 + eth0 802-3-ethernetunavailable /org/freedesktop/NetworkManager/Devices/0 nmcli-nm: - RUNNING VERSIONSTATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN - running 0.9.4.0connected enabled enabled enabledenabled disabled + RUNNING VERSIONSTATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN + running 0.9.4.0connected enabled enabled enabledenabled disabled ** Summary changed: - Test for captive portal before putting applications in online mode + [FFe] Add NetworkManager connectivity config package -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/997200 Title: [FFe] Add NetworkManager connectivity config package Status in NetworkManager: Confirmed Status in network-manager package in Ubuntu: Triaged Status in update-manager package in Ubuntu: Confirmed Status in network-manager source package in Precise: Won't Fix Status in update-manager source package in Precise: Won't Fix Status in network-manager source package in Quantal: Won't Fix Status in update-manager source package
[Desktop-packages] [Bug 997200] Re: Test for captive portal before putting applications in online mode
** Merge proposal linked: https://code.launchpad.net/~jbicha/network-manager/+git/network-manager/+merge/318031 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/997200 Title: [FFe] Add NetworkManager connectivity config package Status in NetworkManager: Confirmed Status in network-manager package in Ubuntu: Triaged Status in update-manager package in Ubuntu: Confirmed Status in network-manager source package in Precise: Won't Fix Status in update-manager source package in Precise: Won't Fix Status in network-manager source package in Quantal: Won't Fix Status in update-manager source package in Quantal: Won't Fix Status in network-manager source package in Raring: Won't Fix Status in update-manager source package in Raring: Won't Fix Bug description: Feature === A separate network-manager-config-connectivity package that contains the 3-line config snippet to enable NetworkManager's connectivity check. This is the same approach taken by Fedora since 2014 (their package is named config-connectivity-fedora). jbicha would like to have ubuntu-gnome-desktop recommend this package for zesty. With this config, GNOME Shell will popup a browser page when a captive portal is detected. The browser page is powered by webkit2gtk. https://help.gnome.org/misc/release-notes/3.14/#captive-portals By making it a separate package, it is very easy for Ubuntu flavors to opt in to installing it by default if they choose. And it's very easy for users to opt in or out without needing to mess around with system configuration files. This new feature (and how to opt out) will be mentioned in Ubuntu GNOME's Release Notes. Enabling the connectivity check by default for all of Ubuntu was discussed almost 5 years ago: https://lists.ubuntu.com/archives/ubuntu-devel/2012-July/035490.html Git merge proposal attached. Original Bug Report == When in a hotel there is a often a T&Cs page that is delivered when connecting to the network. Some combination of network manager and update manager (or something else entirely) doesn't seem to be able to handle this, and update are left in a non-working state after not being able to read package headers file. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: network-manager 0.9.4.0-0ubuntu3 ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14 Uname: Linux 3.2.0-24-generic x86_64 ApportVersion: 2.0.1-0ubuntu7 Architecture: amd64 Date: Wed May 9 17:27:02 2012 InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007) IpRoute: default via 10.155.32.1 dev wlan0 proto static 10.155.32.0/19 dev wlan0 proto kernel scope link src 10.155.38.82 metric 2 169.254.0.0/16 dev wlan0 scope link metric 1000 NetworkManager.state: [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: network-manager UpgradeStatus: Upgraded to precise on 2012-03-07 (63 days ago) nmcli-dev: DEVICE TYPE STATE DBUS-PATH wlan0 802-11-wireless connected /org/freedesktop/NetworkManager/Devices/1 eth0 802-3-ethernetunavailable /org/freedesktop/NetworkManager/Devices/0 nmcli-nm: RUNNING VERSIONSTATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN running 0.9.4.0connected enabled enabled enabledenabled disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/997200/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 997200] Re: Test for captive portal before putting applications in online mode
I talked to mbiebl about this today in #debian-gnome. He does not intend to enable it by default on Debian because their users are more sensitive to services that "phone home". I don't think that's as big of a concern for Ubuntu since we enable unattended-upgrades and whoopsie (and probably more) by default. He said he would probably include a config file for it in /usr/share/doc /network-manager/examples/ with a note in README.Debian. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/997200 Title: Test for captive portal before putting applications in online mode Status in NetworkManager: Confirmed Status in network-manager package in Ubuntu: Triaged Status in update-manager package in Ubuntu: Confirmed Status in network-manager source package in Precise: Won't Fix Status in update-manager source package in Precise: Won't Fix Status in network-manager source package in Quantal: Won't Fix Status in update-manager source package in Quantal: Won't Fix Status in network-manager source package in Raring: Won't Fix Status in update-manager source package in Raring: Won't Fix Bug description: When in a hotel there is a often a T&Cs page that is delivered when connecting to the network. Some combination of network manager and update manager (or something else entirely) doesn't seem to be able to handle this, and update are left in a non-working state after not being able to read package headers file. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: network-manager 0.9.4.0-0ubuntu3 ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14 Uname: Linux 3.2.0-24-generic x86_64 ApportVersion: 2.0.1-0ubuntu7 Architecture: amd64 Date: Wed May 9 17:27:02 2012 InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007) IpRoute: default via 10.155.32.1 dev wlan0 proto static 10.155.32.0/19 dev wlan0 proto kernel scope link src 10.155.38.82 metric 2 169.254.0.0/16 dev wlan0 scope link metric 1000 NetworkManager.state: [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: network-manager UpgradeStatus: Upgraded to precise on 2012-03-07 (63 days ago) nmcli-dev: DEVICE TYPE STATE DBUS-PATH wlan0 802-11-wireless connected /org/freedesktop/NetworkManager/Devices/1 eth0 802-3-ethernetunavailable /org/freedesktop/NetworkManager/Devices/0 nmcli-nm: RUNNING VERSIONSTATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN running 0.9.4.0connected enabled enabled enabledenabled disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/997200/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 997200] Re: Test for captive portal before putting applications in online mode
Aron, let me know if I should open a new bug report instead. I haven't tested this yet but I could. I just had someone ask me why Ubuntu GNOME doesn't support this if GNOME has for 2 years. https://www.lguruprasad.in/blog/2015/07/21/enabling-captive-portal- detection-in-gnome-3-14-on-debian-jessie/ https://labs.riseup.net/code/issues/10526 See also bug 914507 bug 1072675 Since all that is apparently needed is an /etc file, I guess this could be enabled selectively by gnome-shell if it doesn't work on Unity but I'm curious if there was a reason this isn't enabled in Debian or Ubuntu. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/997200 Title: Test for captive portal before putting applications in online mode Status in NetworkManager: Confirmed Status in network-manager package in Ubuntu: Triaged Status in update-manager package in Ubuntu: Confirmed Status in network-manager source package in Precise: Won't Fix Status in update-manager source package in Precise: Won't Fix Status in network-manager source package in Quantal: Won't Fix Status in update-manager source package in Quantal: Won't Fix Status in network-manager source package in Raring: Won't Fix Status in update-manager source package in Raring: Won't Fix Bug description: When in a hotel there is a often a T&Cs page that is delivered when connecting to the network. Some combination of network manager and update manager (or something else entirely) doesn't seem to be able to handle this, and update are left in a non-working state after not being able to read package headers file. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: network-manager 0.9.4.0-0ubuntu3 ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14 Uname: Linux 3.2.0-24-generic x86_64 ApportVersion: 2.0.1-0ubuntu7 Architecture: amd64 Date: Wed May 9 17:27:02 2012 InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007) IpRoute: default via 10.155.32.1 dev wlan0 proto static 10.155.32.0/19 dev wlan0 proto kernel scope link src 10.155.38.82 metric 2 169.254.0.0/16 dev wlan0 scope link metric 1000 NetworkManager.state: [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: network-manager UpgradeStatus: Upgraded to precise on 2012-03-07 (63 days ago) nmcli-dev: DEVICE TYPE STATE DBUS-PATH wlan0 802-11-wireless connected /org/freedesktop/NetworkManager/Devices/1 eth0 802-3-ethernetunavailable /org/freedesktop/NetworkManager/Devices/0 nmcli-nm: RUNNING VERSIONSTATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN running 0.9.4.0connected enabled enabled enabledenabled disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/997200/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 997200] Re: Test for captive portal before putting applications in online mode
Just did some testing with up-to-date 16.04 LTS: 1. Initial state: Wi-Fi enabled, but not connected to any network; ethernet is unplugged. $ nmcli general STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN disconnected none enabled enabled enabled enabled 2. Connect to a SSID that has captive portal: $ nmcli general STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN connected full enabled enabled enabled enabled This means network-manager has put the state to connected and emits a signal of full connectivity, which makes other applications "think" the device is online with full access to the Internet. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/997200 Title: Test for captive portal before putting applications in online mode Status in NetworkManager: Confirmed Status in network-manager package in Ubuntu: Triaged Status in update-manager package in Ubuntu: Confirmed Status in network-manager source package in Precise: Won't Fix Status in update-manager source package in Precise: Won't Fix Status in network-manager source package in Quantal: Won't Fix Status in update-manager source package in Quantal: Won't Fix Status in network-manager source package in Raring: Won't Fix Status in update-manager source package in Raring: Won't Fix Bug description: When in a hotel there is a often a T&Cs page that is delivered when connecting to the network. Some combination of network manager and update manager (or something else entirely) doesn't seem to be able to handle this, and update are left in a non-working state after not being able to read package headers file. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: network-manager 0.9.4.0-0ubuntu3 ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14 Uname: Linux 3.2.0-24-generic x86_64 ApportVersion: 2.0.1-0ubuntu7 Architecture: amd64 Date: Wed May 9 17:27:02 2012 InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007) IpRoute: default via 10.155.32.1 dev wlan0 proto static 10.155.32.0/19 dev wlan0 proto kernel scope link src 10.155.38.82 metric 2 169.254.0.0/16 dev wlan0 scope link metric 1000 NetworkManager.state: [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: network-manager UpgradeStatus: Upgraded to precise on 2012-03-07 (63 days ago) nmcli-dev: DEVICE TYPE STATE DBUS-PATH wlan0 802-11-wireless connected /org/freedesktop/NetworkManager/Devices/1 eth0 802-3-ethernetunavailable /org/freedesktop/NetworkManager/Devices/0 nmcli-nm: RUNNING VERSIONSTATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN running 0.9.4.0connected enabled enabled enabledenabled disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/997200/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 997200] Re: Test for captive portal before putting applications in online mode
** Tags removed: nm-features ** Tags added: nm-improvements -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/997200 Title: Test for captive portal before putting applications in online mode Status in NetworkManager: Confirmed Status in network-manager package in Ubuntu: Triaged Status in update-manager package in Ubuntu: Confirmed Status in network-manager source package in Precise: Won't Fix Status in update-manager source package in Precise: Won't Fix Status in network-manager source package in Quantal: Won't Fix Status in update-manager source package in Quantal: Won't Fix Status in network-manager source package in Raring: Won't Fix Status in update-manager source package in Raring: Won't Fix Bug description: When in a hotel there is a often a T&Cs page that is delivered when connecting to the network. Some combination of network manager and update manager (or something else entirely) doesn't seem to be able to handle this, and update are left in a non-working state after not being able to read package headers file. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: network-manager 0.9.4.0-0ubuntu3 ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14 Uname: Linux 3.2.0-24-generic x86_64 ApportVersion: 2.0.1-0ubuntu7 Architecture: amd64 Date: Wed May 9 17:27:02 2012 InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007) IpRoute: default via 10.155.32.1 dev wlan0 proto static 10.155.32.0/19 dev wlan0 proto kernel scope link src 10.155.38.82 metric 2 169.254.0.0/16 dev wlan0 scope link metric 1000 NetworkManager.state: [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: network-manager UpgradeStatus: Upgraded to precise on 2012-03-07 (63 days ago) nmcli-dev: DEVICE TYPE STATE DBUS-PATH wlan0 802-11-wireless connected /org/freedesktop/NetworkManager/Devices/1 eth0 802-3-ethernetunavailable /org/freedesktop/NetworkManager/Devices/0 nmcli-nm: RUNNING VERSIONSTATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN running 0.9.4.0connected enabled enabled enabledenabled disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/997200/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 997200] Re: Test for captive portal before putting applications in online mode
** Summary changed: - update-manager can't handle hotel web access pages + Test for captive portal before putting applications in online mode ** Changed in: network-manager (Ubuntu Raring) Assignee: Mathieu Trudel-Lapierre (cyphermox) => (unassigned) ** Tags removed: amd64 apport-bug precise ** Tags added: nm-features -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/997200 Title: Test for captive portal before putting applications in online mode Status in NetworkManager: Confirmed Status in network-manager package in Ubuntu: Triaged Status in update-manager package in Ubuntu: Confirmed Status in network-manager source package in Precise: Won't Fix Status in update-manager source package in Precise: Won't Fix Status in network-manager source package in Quantal: Won't Fix Status in update-manager source package in Quantal: Won't Fix Status in network-manager source package in Raring: Won't Fix Status in update-manager source package in Raring: Won't Fix Bug description: When in a hotel there is a often a T&Cs page that is delivered when connecting to the network. Some combination of network manager and update manager (or something else entirely) doesn't seem to be able to handle this, and update are left in a non-working state after not being able to read package headers file. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: network-manager 0.9.4.0-0ubuntu3 ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14 Uname: Linux 3.2.0-24-generic x86_64 ApportVersion: 2.0.1-0ubuntu7 Architecture: amd64 Date: Wed May 9 17:27:02 2012 InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007) IpRoute: default via 10.155.32.1 dev wlan0 proto static 10.155.32.0/19 dev wlan0 proto kernel scope link src 10.155.38.82 metric 2 169.254.0.0/16 dev wlan0 scope link metric 1000 NetworkManager.state: [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: network-manager UpgradeStatus: Upgraded to precise on 2012-03-07 (63 days ago) nmcli-dev: DEVICE TYPE STATE DBUS-PATH wlan0 802-11-wireless connected /org/freedesktop/NetworkManager/Devices/1 eth0 802-3-ethernetunavailable /org/freedesktop/NetworkManager/Devices/0 nmcli-nm: RUNNING VERSIONSTATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN running 0.9.4.0connected enabled enabled enabledenabled disabled To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/997200/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp