Jump to content

SecureW2 JoinNow

From Official NixOS Wiki
Revision as of 18:21, 4 November 2026 by Mk more sex (talk | contribs) (When running this script I was notified that the package had changed names to `simple-tpm-pk11` and the certificates would not work until I added the above to my config.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

JoinNow is an application (product) from the SecureW2 company to join enterprise networks (like eduroam[1]) easily form various operating systems.[2]

SecureW2_JoinNow.run

To run the SecureW2_JoinNow.run script, you require a Shell.nix which uses buildFHSEnv to create an FHS-compliant file system.

Save the following code into a shell.nix file alongside the SecureW2 script and run nix-shell to start the script:

{
  pkgs ? import <nixpkgs> { },
}:
(pkgs.buildFHSEnv {
  name = "securew2-fhsenv";
  targetPkgs =
    pkgs:
    (with pkgs; [
      (python3.withPackages (ps: [ ps.dbus-python ])) # Run embedded Python code
      coreutils # Needs uname to identify architecture
      gnutar # Needed to extract emebedded archive
      libx11 # for GUI
      openssl # Required during Python import
      simple-tpm-pk11 # Unknown use
      which # Used by shell script to find programs
      xdg-utils # Used by Python script to open links
      xwininfo # Unknown use
    ]);
  runScript = ./SecureW2_JoinNow.run;
}).env

Additionally, you may need to set networking.wireless.enableHardening = false in your configuration.

References