Very unusual request here, I know you aren't normally meant to change your MAC address since it's burned into the interface you are using, but I am networking 2 raspberry Pi zeros together, each with a USB to ethernet attachment where the manufacturer used the EXACT SAME mac address for both modules. So now I need to manually change one.
I've read a lot of instruction saying to do that through /etc/network/interfaces
but I've also read that using that file is now totally outdated so there ought to be a more correct way of making this change. Would that be through /etc/dhcpcd.conf
- and if so what is the command to be written?
eth0
is static in my case. But the usb to ethernet module has alsoeth1
andeth2
. I don't know how this could work if I won't find out howeth1
andeth2
changes. In other words: I can not useeth0
. And I can only replace (MATCH and LINK) if I will know the original MAC ofeth1
oreth2
. – Micha93 Jul 05 '21 at 09:4010-eth1.link
and00-eth2.link
– Jaromanda X Jul 05 '21 at 22:52