setting a fixed Mac address on a PineCube
#1
Hello

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)

Code:
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

Code:
mac_addr=7e:50:d1:01:57:68
ethaddr=7e:50:d1:01:57:68
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

Andrew
  Reply
#2
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,
Leonardo.
  Reply
#3
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?

Andrew
  Reply
#4
(11-26-2021, 09:56 AM)ajellisuk Wrote: 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?

Andrew

Indeed, I just updated Armbian via apt. To be honest I don't know what was changed that fixed it.

Notice that I was on the Bullseye version of Armbian, which is labeled as unstable.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Do you sell a ready-made housing for the PineCube camera? Mikoduso 1 4,612 10-05-2022, 01:44 PM
Last Post: Mikoduso
Video Examples of surveillance video recordings via PineCube? Mikoduso 0 1,115 03-26-2022, 12:21 PM
Last Post: Mikoduso
  What is the operating temperature of the PineCube? Mikoduso 0 1,002 03-26-2022, 12:13 PM
Last Post: Mikoduso
  Can PineCube stream 720p60fps? epoliqui 1 2,415 08-30-2021, 10:02 AM
Last Post: barray
  Unable to configure mmc2 on pinecube in 4 bit SDIO mode doode 1 2,384 05-06-2021, 07:17 AM
Last Post: doode
  Existing CAD model for PineCube? symbol_reform 13 15,010 04-19-2021, 06:57 AM
Last Post: BigGremlin777

Forum Jump:


Users browsing this thread: 1 Guest(s)