setting a fixed Mac address on a PineCube

I have got a PineCube running Armbian, and is also using Uboot 2021.07-armbian.

I have found that the mac address keeps changing, and consequently the ip address keeps changing too. This is a real nuiscence.

I have looked for a soltution to this problem, and found some ideas on the One64 forum. Unforutnately the suggestions there didn't work for me on the PineCube.

I have tried adding these to /boot/boot.cmd (no both at once)

setenv bootargs "${bootargs} ethaddr=7e:50:d1:01:57:68"

setenv bootargs "${bootargs} mac_addr=7e:50:d1:01:57:68"

If I do 
Quote:cat /proc/cmdline

I can see that the parameters are passed to the kernel, but are not being acted upon.

I have also tried adding these to /boot/armbianEnv.txt

Again not both at once.

Can someone please tell me what I need to do to get the mac address to remain the same on subsequent boots.

Thanks in advance

Hi Andrew,

I just tried the PineCube for the first time myself, running armbian bullseye.

At first it seemed to have the same issue, but after a system upgrade it now seems to have a persistent MAC address.

Hope it helps,
Hi Leonardo,

Thanks for your reply.

When you say, "system upgrade", what exactly was upgraded? Was it Armbian? Or is there some other firmware that was upgraded?


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can PineCube stream 720p60fps? epoliqui 1 447 08-30-2021, 10:02 AM
Last Post: barray
  Unable to configure mmc2 on pinecube in 4 bit SDIO mode doode 1 774 05-06-2021, 07:17 AM
Last Post: doode
  Existing CAD model for PineCube? symbol_reform 13 5,612 04-19-2021, 06:57 AM
Last Post: BigGremlin777

Forum Jump:

Users browsing this thread: 1 Guest(s)