Jump to content

SecureW2 JoinNow: Difference between revisions

From Official NixOS Wiki
Vater (talk | contribs)
No edit summary
Tags: Mobile edit Mobile web edit
m 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.
 
(2 intermediate revisions by 2 users not shown)
Line 20: Line 20:
       libx11 # for GUI
       libx11 # for GUI
       openssl # Required during Python import
       openssl # Required during Python import
       simpleTpmPk11 # Unknown use
       simple-tpm-pk11 # Unknown use
       which # Used by shell script to find programs
       which # Used by shell script to find programs
       xdg-utils # Used by Python script to open links
       xdg-utils # Used by Python script to open links
Line 28: Line 28:
}).env
}).env
</syntaxhighlight>
</syntaxhighlight>
Additionally, you may need to set <code>networking.wireless.enableHardening = false</code> in your configuration.
== References ==
<references />
[[Category:Networking]]

Latest revision as of 18:21, 4 November 2026

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