Skip to content

Commit 56fa2cd

Browse files
authored
RDKBACCL-863 : brlan0 interface MAC ID is changing upon every device reboot
brlan0 interface MAC ID is changing upon every device reboot , added changes in the init filogic code to update the brlan0 mac address from the text file generate, based upon the serial number which is unique same as for other interfaces like wifi0 etc
1 parent 559d426 commit 56fa2cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

meta-rdk-mtk-bpir4/recipes-devtools/init-filogic/init-filogic.bbappend

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ if [ $? -eq 0 ];then \
1616
ifconfig lan${i} hw ether $LAN_MAC \
1717
fi \
1818
done \
19+
BRLAN_MAC=`cat /nvram/mac_addresses.txt | grep -a brlan0 | cut -d " " -f 2` \
20+
ifconfig brlan0 hw ether $BRLAN_MAC \
1921
fi' ${D}${sbindir}/init-bridge.sh
2022
}
2123

0 commit comments

Comments
 (0)