You are not logged in.
Often, when I connect to a WiFi network, it has some page that I need to agree to terms and conditions before having internet access. On KDE Plasma, there is a notification in the bottom right that says the WiFi network needs to be logged into, and a button labeled "Log In". When I click this, it opens Firefox to https://ping.archlinux.org/nm-check.txt. However, that domain has HSTS enabled, so it doesn't take me to the login page. What I end up having to do is go to my own website, which does not have this, which then allows me to see the login page. I understand that HSTS is meant to prevent man-in-the-middle attacks, though its use on this domain in particular seems rather counter-intuitive, as WiFi login pages are essentially just a (usually) not-so-malicious man-in-the-middle attack. There doesn't seem to be any option to ignore it in Firefox that I've found, so I'm thinking I would need to edit some file to make it appear to Firefox that I've never visited ping.archlinux.org, then make a cron job that makes that edit every 5 minutes or so. What would the best way of getting around this be?
Offline
Edit the [connectivity] block in /etc/NetworkManager/NetworkManager.conf to use a different Target like http://nmcheck.gnome.org/ or https://nmcheck.gnome.org/ or setup your own on a webserver. Everything is described here: https://networkmanager.pages.freedeskto … .conf.html
Offline
Offline