ryanteck Posted April 13, 2018 Share Posted April 13, 2018 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 More sharing options...
Edwin Posted April 18, 2018 Share Posted April 18, 2018 I had a similar issue with the next branch for a NanoPi NEO. There was a missing device tree entry which was fixed in https://github.com/armbian/build/commit/f6c6e05b8e09c843f9389a176d819349db0de389 Perhaps it's a similar issue? Link to comment Share on other sites More sharing options...
ryanteck Posted April 20, 2018 Author Share Posted April 20, 2018 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 More sharing options...
Edwin Posted May 9, 2018 Share Posted May 9, 2018 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 More sharing options...
Recommended Posts