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 10: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 03:30PM by bodhi.
Re: 2016.05 U-Boot Kirkwood - Can't set ethaddr
December 07, 2016 03:31PM
Which box? do you have serial console?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: 2016.05 U-Boot Kirkwood - Can't set ethaddr
December 07, 2016 08: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 07, 2016 11:06PM
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
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: 2016.05 U-Boot Kirkwood - Can't set ethaddr
December 07, 2016 11:37PM
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 07, 2016 11:48PM
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
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
kuku
Re: 2016.05 U-Boot Kirkwood - Can't set ethaddr
January 15, 2017 01: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 10: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: