Recently, after I ran apt-get upgrade
, my Pi 3 running Raspbian Jessie started using a random MAC address on eth0
after every reboot. I'm pretty sure this has something to do with the upgrade since I haven't messed with my network config in a long time.
My current /etc/network/interfaces
file is as follows:
auto lo
iface lo inet loopback
iface eth0 inet auto
I tried appending the following line to it but to no avail:
hwaddress ether xx:xx:xx:xx:xx:xx
As some people suggested in this thread I checked the serial no. in /proc/cpuinfo
and it matches the static MAC address the Pi previously used.
Is there any way I could go back to having a static MAC address on my Pi?
uname -a
output? – HeatfanJohn Jun 15 '17 at 17:10wlan0
as opposed toeth0
, see here. – cyqsimon Jun 04 '21 at 17:48