No description
Find a file
2025-03-12 11:03:44 +01:00
config.yaml.dist add config file 2025-03-11 18:53:48 +01:00
eintopf-radar-sync.py add config file 2025-03-11 18:53:48 +01:00
flake.lock add config file 2025-03-11 18:53:48 +01:00
flake.nix add config file 2025-03-11 18:53:48 +01:00
module.nix add settings option 2025-03-12 11:02:42 +01:00
README.md add readme template 2025-03-12 11:03:44 +01:00
vm-eintopf.nix add test virtual machine 2025-03-11 17:50:50 +01:00

eintopf-radar-sync

Small script to autologin to public wifis or test hotspots!

Do not use this in production or against real public access points, since automatically logging in will violate most of the terms of use. The useage of this software is for development or research purpose only.

Installation

NixOS

Add the module to your flake.nix:

{
  inputs = {
    iwd-autocaptiveauth.url = "git+https://git.project-insanity.org/onny/py-iwd-autocaptiveauth.git";
    [...]
  };

  outputs = {self, nixpkgs, ...}@inputs: {

    nixosConfigurations.tuxzentrale = inputs.nixpkgs.lib.nixosSystem {
      system = "x86_64-linux";
      specialArgs.inputs = inputs;
      modules = [
        inputs.iwd-autocaptiveauth.nixosModule

        ({ pkgs, ... }:{

          nixpkgs.overlays = [
            inputs.iwd-autocaptiveauth.overlay
          ];

        })

        ./configuration.nix

      ];
    };
  };
}

Add this to your configuration.nix file

services.iwd-autocaptiveauth.enable = true;

From source

This script requires the program hyperpotamus as a dependency. As network manager, only iwd is supported. Further you might need to install the Python modules python-dbus and gobject.

Just run python iwd-autocaptiveauth.py.

Configuration

The profiles directory contains small scripts which will perform the http authentication process using hyperpotamus. The filename should match the ESSID of the wifi network.

Feel free to submit your profiles to this Gitlab repository!