11-19-2021, 04:59 AM
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)
If I do
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
Andrew
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
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