Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAC address is changing in Raspberry Tareget #1

Open
mennaifer opened this issue Dec 10, 2020 · 3 comments
Open

MAC address is changing in Raspberry Tareget #1

mennaifer opened this issue Dec 10, 2020 · 3 comments

Comments

@mennaifer
Copy link

Hi,
Booting Raspberry Target with U-BOOT without ethernet connection, ethaddr is showing the mac address, this mac address is the same when I reboot.

After Starting Kernel, the command ifconfig is showing another mac address for eth0which changing for each time the Raspberry is rebooted.
Any idea what can be the issue ?
Thanks

@itaysp
Copy link
Collaborator

itaysp commented Dec 10, 2020

Do you use or have 'network-manager' installed?
Random Mac address is a feature of network-manager

@mennaifer
Copy link
Author

'network-manager' is not installed. I checked the boot on the standard system (without U-BOOT) MAC address is not changing.

@itaysp
Copy link
Collaborator

itaysp commented Dec 12, 2020

can you check if your U-BOOT is configured with **CONFIG_NET_RANDOM_ETHADDR ** ?
I've never experienced such an issue, but from U-BOOT documentation I can see that if some conditions are met, it tries to program the address into the hardware.. (I don't know how it's possible)
https://github.com/u-boot/u-boot/blob/master/doc/README.enetaddr#L40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants