Subj : Re: How do I get my Pi4 (Fedora) to use a real and stable MAC address? To : Lars Poulsen From : Pancho Date : Mon Sep 16 2024 08:12:58 On 9/13/24 16:25, Lars Poulsen wrote: > The current fad is to use random MAC addresses. I want anything that is > "infrastructure" to have unique and stable MAC addresses, so that DHCP > can give them stable IP addresses. My Pi4 runs Fedora (which is very > stable on it except for the GUI), but it seems to always come up with > randomized MAC addresses. Does it not HAVE a hardware MAC address? > > And if it has one, where do I tell Fedora to use it? This what I use, when NIC MAC is changed by a new install. #!/bin/sh UUID=$(nmcli -t con show | grep Wired | cut -d: -f2) nmcli connection down $UUID nmcli connection modify $UUID ethernet.cloned-mac-address "xx:xx:xx:xx:xx:xx" #put here your preferred MAC address nmcli connection modify $UUID -ethernet.mac-address "" nmcli connection up $UUID --- SoupGate-Win32 v1.05 * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3) .