Welcome! Log In Create A New Profile

Advanced

2016.05 U-Boot Kirkwood - Can't set ethaddr

Posted by vaidyasr 
2016.05 U-Boot Kirkwood - Can't set ethaddr
December 07, 2016 11:27AM
Hi,
I can't change my ethernet address using

root@debian:/share# fw_setenv ethaddr "XX:XX:XX:XX:XX:XX"
Can't overwrite "ethaddr"

I tried even after reboot



Edited 1 time(s). Last edit at 12/07/2016 04:30PM by bodhi.
Re: 2016.05 U-Boot Kirkwood - Can't set ethaddr
December 07, 2016 04:31PM
Re: 2016.05 U-Boot Kirkwood - Can't set ethaddr
December 07, 2016 09:21PM
It is pogoplug v4 and I have only netconsole settings. Everything is working fine, but can't change the MAC to original
Re: 2016.05 U-Boot Kirkwood - Can't set ethaddr
December 08, 2016 12:06AM
vaidyasr Wrote:
-------------------------------------------------------
> It is pogoplug v4 and I have only netconsole
> settings. Everything is working fine, but can't
> change the MAC to original

When did you try to set this? was it during installation of u-boot and u-boot envs image? or did you wait until after rebooting back into Debian?

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: 2016.05 U-Boot Kirkwood - Can't set ethaddr
December 08, 2016 12:37AM
During installation of u-boot, I have tried. It gave the same error. Then I searched this forum and someone has same issue and you have replied that the MAC address is random and it can be changed after reboot. So, I have rebooted and tried and still same error.

By the way, leaving the new MAC will make any problems?
Re: 2016.05 U-Boot Kirkwood - Can't set ethaddr
December 08, 2016 12:48AM
vaidyasr,

>
> By the way, leaving the new MAC will make any
> problems?

It will not. It is a local MAC address, so it can only be reached within your network. But if you have multiple Pogo running, this might interfer with certain low level network stuff you might use (normally, the IP address is all you ever have to worry about).

I'll take a look later to see if that was set to be prohibited inside the code. I might have missed setting an option to allow that in Pogo V4. Usually u-boot does not allow users to change it, unless the developer changed this option in the code.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
kuku
Re: 2016.05 U-Boot Kirkwood - Can't set ethaddr
January 15, 2017 02:47PM
fw_setenv you use in linux , in uboot console use
setenv ethaddr......
saveenv
Re: 2016.05 U-Boot Kirkwood - Can't set ethaddr
January 18, 2017 11:20AM
Another way: download a different version of fw_setenv and it might work. At least it worked for me. :P
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: