User Tools

Site Tools


addressrandomization

This is an old revision of the document!


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):

# main.conf
[General]
AddressRandomization=network

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

addressrandomization.1585325488.txt.gz · Last modified: 2020/03/27 16:11 by James Prestwood