I am trying to use a public WiFi network that uses a captive portal. When I start the computer and connect to the WiFi network, I see a message asking me to log in. When I click on it, Chrome (which is my default browser) is launched and goes to networkcheck.kde.org at which point it just stops. I get the following message:
This site can't be reached
networkcheck.kde.org unexpectedly closed the connection
This command essentially looks up your routers ip adress and runs xdg-open with that ip.
Yup, I figured as much.
But the question remains… why did I have to do that? Why did networkcheck.kde.org (or detectportal.firefox.com or even Apple’s captive portal detecting URL that I used) not able to figure that out on their own? Where is the system failing and how can I figure that out? Right now, it’s just a complaint that the feature is not working as advertised. If I could be a bit more constructive and provide details about where things are failing (they might very well be something on my end) there may be a path forward to a resolution.
I am not sure how to check that. This is not my router. It is at the place I work and I have no control over most of the stuff.
I tried almost everything in that thread. Really, the only thing that worked for me in the end was what I have posted. Admittedly, I (still) do not know entirely what I was doing other than just trying things out.
I am currently not connected to my work WiFi, in case that matters. I can check the contents of this file again when I am at work to see if something has changed.
Getting the same issue with KDE Plasma on Arch Linux running NetworkManager, systemd-resolv and iwd backend for wifi. When I click on “log In” button on the Network applet , it opens networkcheck.kde.org but its fails to open the captive portal with the following error:
But http://nmcheck.gnome.org/check_network_status.txt and other URLs work fine. I tried changing config files in /etc/NetworkManager/conf.d/, /etc/NetworkManager/conf.d. But still it opens networkcheck.kde.org and fails.
I even tried making changes /usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/main.qml but still clicking the button opens networkcheck.kde.org.