https://bugs.kde.org/show_bug.cgi?id=414469

--- Comment #5 from Daniel <daniel-other+kde...@dadosch.de> ---
(In reply to Postix from comment #4)
> 
> It seems at least under Manjaro and Debian there's no captive portal check
> configured or enabled by default.

I would like to disagree. For Arch, networkmanager is built with the captive
portal check-url configured by
https://github.com/archlinux/svntogit-packages/blob/6d9a73b44b749ef95c9befe8696b742d0bdbd5a9/trunk/PKGBUILD#L115.
And thus enabled, as seen in
https://jlk.fjfi.cvut.cz/arch/manpages/man/NetworkManager.conf.5#CONNECTIVITY_SECTION
:

> Whether connectivity check is enabled. Note that to enable connectivity 
> check, a valid uri must also be configured. The value defaults to true, but 
> since the uri is unset by default, connectivity check may be disabled. 

Also for Manjaro, a url is configured by default:
https://gitlab.manjaro.org/packages/extra/networkmanager/-/blob/master/PKGBUILD#L101
and thus connectivity check is enabled.

Also for Debian, a url is configured by default:
https://salsa.debian.org/utopia-team/network-manager/-/blob/debian/master/debian/20-connectivity-debian.conf#L2
and so connectivity check is enabled.


> If not configured, is the hardcoded http://networkcheck.kde.org/ used as a
> fallback for probing/opening the captive portal?

No, as far as I understand and have observed, plasma-nm gets a signal from
NetworkManager that there is a captive portal (by checking its configured url).
The user then is shown an popup by plasma-nm about limited connectivity. If the
user clicks the button there, the url http://networkcheck.kde.org/ gets opened
in the browser. So this is a fully different url than the one NetworkManager
used to check the connectivity.


> If it applies, as long as the URL is not changeable, can the captive portal
> check be disabled completely?
It can be disabled withing NetworkManager by choosing the options linked at the
beginning. The url http://networkcheck.kde.org/ is not contacted (at least as I
have observed) until the user clicks that button in the plasma-nm popup.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to