Sujet : Re: How do I get my Pi4 (Fedora) to use a real and stable MAC address?
De : tnp (at) *nospam* invalid.invalid (The Natural Philosopher)
Groupes : comp.sys.raspberry-piDate : 17. Sep 2024, 10:44:35
Autres entêtes
Organisation : A little, after lunch
Message-ID : <vcbj23$3evhe$2@dont-email.me>
References : 1 2 3 4 5 6 7 8
User-Agent : Mozilla Thunderbird
On 16/09/2024 23:30, Lars Poulsen wrote:
On 9/15/2024 9:36 PM, The Natural Philosopher wrote:
Unfortunately you are probably the only one here that is using RedHat on a Pi.
You may well be right about that.
AFAIK, ethernet defaults to 'one permanent MAC address' - its only wifi that tends to switch around for security in public wifi spaces.
>
Have you actually checked to see if you are getting ethernet randomisation?
ifconfig -a will display it
Thank you for an actually useful suggestion. I had forgotten to check that and just assumed that was the cause of a change in IP address.
Hang on a minute.... IP address or MAC address?
IP address may change any time you connect to the DHCP server (if you are using DHCP).
ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
*inet 192.168.0.101* netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::9a2:3187:4600:cfc1 prefixlen 64 scopeid 0x20<link>
*ether d8:3a:dd:85:22:b1* txqueuelen 1000 (Ethernet)
RX packets 335547 bytes 39007037 (37.2 MiB)
RX errors 0 dropped 158 overruns 0 frame 0
TX packets 348598 bytes 256465720 (244.5 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
This is a statically configured *IP address* on a Pi 4B
I assume the Ethernet *MAC* address is always the same.
Looking up the MAC address online:
Result:
MAC Address Prefix Manufacturer
D83ADD Raspberry Pi Trading Ltd
-- The lifetime of any political organisation is about three years before its been subverted by the people it tried to warn you about.Anon.