Jump to content

MAC Address with compiled image


Recommended Posts

Hi,

 

I've built my own Ubuntu Armbian image for the NanoPi Duo so I could use Ubuntu Snaps without classic confinement (The pre-built images don't seem to have SquashFS Compiled in the kernel).

 

The image seems to be working perfect. However I've noticed one thing which I'm not sure if it's the image or a generic armbian issue but I've noticed that every time I reboot it the mac address updates. I'm using it for a server so having it generate a new IP each time I need to reboot it for development is a bit of an issue.

 

Is there a recommended way to set a static one or such?

Link to comment
Share on other sites

Not too sure. I forgot to keep checking. I've actually had to change to compiling with debian stretch (while I wanted a snap a couple of libraries are the wrong version under ubuntu 16.04) and from what I can tell debian keeps the same mac each boot.

Link to comment
Share on other sites

The fix that I mentioned seems to keep a stable MAC address on the NEO across reboots, but not across power cycles. Is debian keeping MAC across power cycles and reboots?
 

I'm keen to find the problem on Ubuntu for the NEO, regardless, and perhaps that'll shed some more light on this Duo problem.

 

Can anyone comment on whether a changing MAC when power cycling sounds is generally a uboot problem rather than a device tree problem?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines