# Revision history [back]

I were able to use side feature of dnssec-trigger, which has also hotspot detection on its own. I were not able to find any place to override default started web browser from gnome.

dnf install dnssec-trigger

Now edit /etc/dnssec-trigger/dnssec-trigger.conf

uncomment login-location. And write your own script Mine is looks like this:

# !/bin/sh

DEVICE=wlp4s0
CONNECTION=$(nmcli -g GENERAL.CONNECTION device show$DEVICE)
DIRECTORY=/etc/dnssec-trigger/hotspots
HOTSPOT="$DIRECTORY/$CONNECTION"

if [ -n "$CONNECTION" -a -x "$HOTSPOT" ]; then
$HOTSPOT [ -z "$@" ] || xdg-open $@ fi  and use it for login-command. Then you can create script in hotspots subdirectory that will log you in. I used it only for conferences where the password were not valuable. So simple wget would do with right parameters. wget --no-hsts --post-data="$DATA" $LOG -S "$URL"

I would expect far easier way to solve this problem, as hotspots are common at conferences. I do not know any better way. Think new bugzilla with feature request should be made instead. It annoys me that gnome opens web page, but without support for any password storage. I have to always retype password that is the same for everyone.

I were able to use side feature of dnssec-trigger, which has also hotspot detection on its own. I were not able to find any place to override default started web browser from gnome.

dnf install dnssec-trigger

Now edit /etc/dnssec-trigger/dnssec-trigger.conf

uncomment login-location. And write your own script Mine is looks like this:

# !/bin/sh

#!/bin/sh
DEVICE=wlp4s0
CONNECTION=$(nmcli -g GENERAL.CONNECTION device show$DEVICE)
DIRECTORY=/etc/dnssec-trigger/hotspots
HOTSPOT="$DIRECTORY/$CONNECTION"

if [ -n "$CONNECTION" -a -x "$HOTSPOT" ]; then
$HOTSPOT [ -z "$@" ] || xdg-open $@ fi  and use it for login-command. login-command. Then you can create script in hotspots subdirectory that will log you in. I named that script after wifi network, so it would be used only on such network. Smarter detection useable also for ethernet would be better. I used it only for conferences where the password were not valuable. So simple wget would do with right parameters. wget --no-hsts --post-data="$DATA" $LOG -S "$URL""\$URL"


I would expect far easier way to solve this problem, as hotspots are common at conferences. I do not know any better way. Think new bugzilla with feature request should be made instead. It annoys me that gnome opens web page, but without support for any password storage. I have to always retype password that is the same for everyone.