AnsweredAssumed Answered

ls1012ardb ethernat interfaces mac not set

Question asked by Angeliki Leonida on Oct 11, 2018

Hi, 

 

I am booting ls1012ardb with dflexbuild and ubuntu userland with Layerscape SDK usign a prebuild uboot image firmware_ls1012ardb_uboot_qspiboot.img

 

The problems is that eth0 and eth1 are set with MAC address 00:00:00:00:00:00 and do not take any ip. I set the ethaddr env variable at u-boot promt for eth0 and now eth0 is functional.

 

My question what is the proper way to automatically  set MAC address for pfe interfaces eth0 and eth1.  

During boot there is a pfe warning e.g.

Warning: pfe_eth1 (eth1) using random MAC address - 6e:75:fe:c4:4c:1c

 

and network manager cannot assign any ip 

Oct 11 10:26:11 localhost systemd-networkd[2561]: eth1: Could not bring up interface: Cannot assign requested address

 

ifconfig -a

eth1: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 00:00:00:00:00:00 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

 

 

BR , Angeliki

Outcomes