MAC-Address of eth0 changes on every boot.


Recommended Posts

Hi All,
I''m using a BPI M2 Zero, where a 100 MBit ethernet Interface is implemented on the board. Since I'm using DHCP for this interface, I found that the MAC Address of this eth0 interface changes on every boot. The MAC Address of the wlan0 interface is permanent and don't changes during boots.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Di 30. Jun xx:xx:xx  CEST 2020
Debian GNU/Linux 10 (buster)
5.4.45-sunxi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 17:42:11 up 25 min,  2 users,  load average: 0,00, 0,00, 0,05
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 8a:aa:ea:69:67:50  txqueuelen 1000  (Ethernet)
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether cc:b8:a8:a9:bc:8e  txqueuelen 1000  (Ethernet)
 

 17:46:04 up 0 min,  2 users,  load average: 2,48, 0,70, 0,24
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 5e:af:c0:93:75:72  txqueuelen 1000  (Ethernet)
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether cc:b8:a8:a9:bc:8e  txqueuelen 1000  (Ethernet)

 

 17:47:07 up 0 min,  2 users,  load average: 1,92, 0,44, 0,14
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 56:e7:62:af:35:55  txqueuelen 1000  (Ethernet)
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether cc:b8:a8:a9:bc:8e  txqueuelen 1000  (Ethernet)

 

 17:48:23 up 0 min,  2 users,  load average: 1,69, 0,39, 0,13
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 96:57:7c:ed:85:e0  txqueuelen 1000  (Ethernet)
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether cc:b8:a8:a9:bc:8e  txqueuelen 1000  (Ethernet)

 

 

Is there a way to set the MAC address of the eth0 interface to a fix value ?

Regards
WolliK

Link to post
Share on other sites
Donate and support the project!

Hi @MariuszJo, and welcome to the forums.

 

On 11/21/2020 at 11:42 PM, MariuszJo said:

I've seen that pull request for this in ticket AR-352. However, I am still experiencing change of the MAC address on every reboot Nano Pi NEO with "Armbian 20.08.1 Bionic with Linux 5.8.5-sunxi". Is this a known problem?

 

Is this a fresh flash or upgrade from previous version?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...