This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
addressrandomization [2020/03/27 15:54] Denis Kenzior created |
addressrandomization [2020/03/27 16:13] James Prestwood |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | empty | + | ====== MAC Address Randomization ====== |
+ | |||
+ | IWD has supported randomizing the adapters MAC address on startup for quite some time, but this only randomizes the address once for the lifetime of IWD. In the 1.6 release address randomization on a per-network basis was added. Enabling this can be done inside IWD's main config file (default ''/etc/iwd/main.conf''): | ||
+ | |||
+ | <code> | ||
+ | # main.conf | ||
+ | [General] | ||
+ | AddressRandomization=network | ||
+ | </code> | ||
+ | |||
+ | This option was added to ''AddressRandomization'' but truthfully this is not random. The MAC address is generated using a SHA256 digest from the permanent adapters address and the SSID being connected to. This is a deterministic operation which will allow the same MAC to be used on every connection to a given SSID. Generally this is the behavior the average user wants. For fully randomized MAC addresses see ''AlwaysRandomizeAddress'' | ||
+ | |||
+ | ===== AlwaysRandomizeAddress ===== | ||
+ | This option was added to network provisioning files |