Two ethernets get the same mac address on coreboot PC, how to set a mac address?

I know changing mac addresses are supposed to be easy. But, even I've tried some AI's but even their advices don't work. Help! I have coreboot BIOS.
 
I don't know the details of coreboot but the MAC address of a NIC typically isn't set by the BIOS. And I very much doubt it sets the same MAC address on different interfaces.

ifconfig myint0 ether de:ad:be:ef:f0:0d
 
I don't know the details of coreboot but the MAC address of a NIC typically isn't set by the BIOS. And I very much doubt it sets the same MAC address on different interfaces.

ifconfig myint0 ether de:ad:be:ef:f0:0d
These don't work. They seem to change ether parameter, but I still can't connect to the internet. I up and down the interfaces, even then it doesn't work.
Actually onboard ethernet card mac addresses is usually taken from the bios.

The ethernet card gets a normal IP address on another normal PC. It's not broken either way, I was using that on the same motherboard before coreboot just fine. I also plugged in Linux SSD on the coreboot motherboard, it then gave the ethernet card a random mac address like 00:00:00:00:06
 
My guess is this is a faulty build of coreboot. Probably the wrong board profile.

The MAC address is stored in eeprom.

So either coreboot is interpreting MAC wrong or the coreboot board profile is for single ethernet interface and replicating itself.

What does Linux show for interfaces and MAC?
 
The ethernet card gets a normal IP address on another normal PC. It's not broken either way
Ahha so it is a stand alone card. I assumed LOM. So on the other computer do the MAC addresses look correct?
random mac address like 00:00:00:00:06
Address like this are not correct.
The first group of digits in MAC denote Manufacturer. 00 is not a valid manufacturer.
So for some reason the MAC addresses are not found in eeprom. Why. Maybe they were blanked when coreboot was intalled I dunno.

I know just setting MAC in the OS does not stick. You have to use tools like flashrom to program MAC addresses (excluding u-boot).

I also plugged in Linux SSD on the coreboot motherboard, it then gave the ethernet card a random mac address like 00:00:00:00:06
If the OS has to assign a MAC address to an interface there is a problem. MAC address should reside in eeprom. Why is OS not seeing them correctly?

Intel cards use a utility called nvmutils to flash addresses. Intel LOM does not use eeprom for MAC address storage but a protected section of main system rom.

What brand card are you dealing with? Details.

LOM = LAN on motherboard.
 
Ahha so it is a stand alone card. I assumed LOM. So on the other computer do the MAC addresses look correct?

Address like this are not correct.
The first group of digits in MAC denote Manufacturer. 00 is not a valid manufacturer.
So for some reason the MAC addresses are not found in eeprom. Why. Maybe they were blanked when coreboot was intalled I dunno.

I know just setting MAC in the OS does not stick. You have to use tools like flashrom to program MAC addresses (excluding u-boot).


If the OS has to assign a MAC address to an interface there is a problem. MAC address should reside in eeprom. Why is OS not seeing them correctly?

Intel cards use a utility called nvmutils to flash addresses. Intel LOM does not use eeprom for MAC address storage but a protected section of main system rom.

What brand card are you dealing with? Details.

LOM = LAN on motherboard.
I use an ASUS P8H61-M LX R2.0 actually. Normally only LX versions are supported, not R2.0 So I almost fixed this, there is a mac address line for r8169 driver in coreboot configs. I've written the original mac address of the board. Now it gets the true mac address. But when I add the ethernet PCI card, still they get the same mac. On Linux it doesn't do that.
 
Back
Top