Jump to content

MAC address changes every time I reboot the system.


antoni

Recommended Posts

Good evening,

 

I have got Orange pi 5 board. MAC address of this board network interface `end1` changes every time I reboot the system. I tried adding entry in /boot/armbianEnv.txt, I tried specifying hwaddress in /etc/network/interfaces. Neither of those two options worked.

Link to comment
Share on other sites

This is the fix I'm using, this bug should've been addressed but nobody seems to be talking about it.

 

Remember to change the mac address.

 

sudo nano /etc/network/if-pre-up.d/macchanger

#!/bin/sh

/sbin/ifconfig eth0 hw ether aa:aa:aa:aa:aa:aa

 

sudo chmod +x /etc/network/if-pre-up.d/macchanger

 

Surely there's a better solution.

 

 

Edited by Turbine
Link to comment
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...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines