11-26-2023, 06:19 PM
(11-23-2023, 11:21 PM)Kevin Kofler Wrote: Check your NetworkManager MAC address randomization settings:
https://wiki.archlinux.org/title/Network...domization
If randomization is disabled, but you still get everchanging MAC addresses, most likely the hardware does not store a fixed MAC address, or U-Boot fails to read it, so the kernel (or the hardware itself) ends up generating a random one at every boot. (The PinePhone had the same issue in early U-Boot versions, until they fixed U-Boot.) As a workaround, try configuring the NetworkManager MAC address randomization mode (see the link above) to "stable" instead of entirely disabled. Then NetworkManager will ignore the broken hardware MAC address and generate one per connection as a hash of the connection name and/or metadata instead.
Alternatively, you can also hardcode a specific MAC address to use in the NetworkManager configuration.
Hi again Kevin.
Unfortunately mac address randomization settings didnt helped at all.
i tried setting this into /etc/NetworkManager/conf.d/wifi_rand_mac.conf:
Code:
[device-mac-randomization]
# "yes" is already the default for scanning
wifi.scan-rand-mac-address=no
[connection-mac-randomization]
# Randomize MAC for every ethernet connection
ethernet.cloned-mac-address=permanent
# Generate a random MAC for each WiFi and associate the two permanently.
wifi.cloned-mac-address=permanent
Code:
wifi.cloned-mac-address=stable
What a mess...