Wpa supplicant: Difference between revisions

imported>Rasmus-kirk
Added info on how to change mac address using macchanger
imported>Rasmus-kirk
m Fixed MAC spelling and added a little info
Line 44: Line 44:
</syntaxHighlight>
</syntaxHighlight>


== Mac spoofing ==
== MAC spoofing ==
Since there is no option to randomize your mac address for wpa supplicant, you can instead create your own service using GNU's macchanger:
Since there is no option to randomize your MAC address for wpa supplicant, you can instead create your own service using GNU's macchanger:
<syntaxHighlight lang=nix>
<syntaxHighlight lang=nix>
systemd.services.macchanger = {
systemd.services.macchanger = {
Line 61: Line 61:
};
};
</syntaxHighlight>
</syntaxHighlight>
This obviously requires you to have the <code>macchanger</code> package installed.
The above snippet fully randomizes your MAC address, for more information you can read macchanger's manpage. This obviously requires you to have the <code>macchanger</code> package installed.


== External links ==
== External links ==


[https://www.stura.htw-dresden.de/stura/ref/hopo/dk/nachrichten/eduroam-meets-nixos (german) article ''eduroam meets NixOS'' (with configuration)] (instance ''University of Applied Sciences Dresden'': The [https://cat.eduroam.org/?idp=5106&profile=5098 eduroam installer for GNU/Linux] works [https://www.htw-dresden.de/en/university/organisation/it-service-centre/services-for-workplace-and-communication/wi-fi-/-wlan/eduroam/linux for example for Ubuntu] but not [[NixOS]])
[https://www.stura.htw-dresden.de/stura/ref/hopo/dk/nachrichten/eduroam-meets-nixos (german) article ''eduroam meets NixOS'' (with configuration)] (instance ''University of Applied Sciences Dresden'': The [https://cat.eduroam.org/?idp=5106&profile=5098 eduroam installer for GNU/Linux] works [https://www.htw-dresden.de/en/university/organisation/it-service-centre/services-for-workplace-and-communication/wi-fi-/-wlan/eduroam/linux for example for Ubuntu] but not [[NixOS]])