Sujet : Re: How do I get my Pi4 (Fedora) to use a real and stable MAC address?
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.sys.raspberry-piDate : 16. Sep 2024, 00:53:47
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vc7s2a$2elg0$1@dont-email.me>
References : 1 2 3 4 5 6
User-Agent : Pan/0.160 (Toresk; )
On Sun, 15 Sep 2024 22:08:07 -0000 (UTC), I wrote:
On Sat, 14 Sep 2024 22:31:58 -0000 (UTC), I wrote:
Or, a quick look at the docs
<https://manpages.debian.org/8/ip-link.8.en.html> gives
ip link set «device» address «addr»
Actually, I think it might be
ip link set «device» macaddr ...
No, it is in fact the first form. Note that the link must be down before
you can change its MAC address.
Also if you set this to a non-default value, “ip link show” will show that
default value as the “permaddr”. So you can easily set it back to that.