From eca05bc4ccbba7d6cc718cdb66cba14c93aff663 Mon Sep 17 00:00:00 2001 From: Sven Roederer Date: Mon, 23 Dec 2019 01:42:52 +0100 Subject: [PATCH] ramips: add label MAC address for Mikrotik RB750Gr3 The device label contains: E01: 74:4D:28:xx:xx:30 E05: 74:4D:28:xx:xx:34 The first value corresponds to the address set in hard_config 0x10. That one is taken for the label MAC address. Signed-off-by: Sven Roederer --- target/linux/ramips/mt7621/base-files/etc/board.d/02_network | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network index 5c6b5659cb..a3b9c079a6 100755 --- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network +++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network @@ -230,9 +230,7 @@ ramips_setup_macs() mediatek,ap-mt7621a-v60) wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 0x5)" 1) ;; - mikrotik,rb750gr3) - wan_mac=$(macaddr_add "$(mtd_get_mac_binary hard_config 0x10)" 2) - ;; + mikrotik,rb750gr3|\ mikrotik,rbm33g) wan_mac=$(macaddr_add "$(mtd_get_mac_binary hard_config 0x10)" 2) label_mac=$(mtd_get_mac_binary hard_config 0x10) -- 2.25.1