How to change MAC address - permanently

(Ilmars Marcins) #1

Looks like all Banana Pi BPI-M64 devices have same wired Ethernet MAC addresses - 36:c9:e3:f1:b8:05. Problem is that I have two devices, and when ever they both are connected to network - there is problem with TCP/IP packet delivery. I need some way to permanently change MAC address to resolve this conflict.

I can change address from terminal ifconfig eth0 hw ether 36:c9:e3:f1:b8:06, but it will not stick after device reboot. So I need permanent solution. Is there some?