When connecting to WiFi networks that require browser log in, Gnome does not prompt for captive portal. Firefox is smart to show a prompt, but since I have switched to Brave, which does not show a prompt, it is tedious to go into my WiFi settings to copy and paste the gateway address.
I see some references on the internet, mostly posts about how to DISABLE Gnome’s captive portal prompt. But on NixOS, I have never seen such a thing. Is there a way to enable this functionality?
Hey, so I see you’re looking for an integrated captive portal for your desktop, but check this out for a quick workaround:
xdg-open http://$(ip --oneline route get 1.1.1.1 | awk '{print $3}')
This command pops open your default browser and directs it to the IP address of your default gateway. If there’s a captive portal, it’ll trigger it. Super handy in a tight spot!