From 3e12ca2355529e51d50038d06dbac79315470b3d Mon Sep 17 00:00:00 2001 From: "Leon M. George" Date: Fri, 9 Jun 2017 18:30:47 +0200 Subject: [PATCH] ar71xx: wpj344: set MAC on wan Signed-off-by: Leon M. George --- target/linux/ar71xx/base-files/etc/board.d/02_network | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index 9ff6dddd32..709030ceb3 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -532,6 +532,9 @@ ar71xx_setup_macs() mynet-n750) wan_mac=$(mtd_get_mac_ascii devdata "wanmac") ;; + wpj344) + wan_mac=$(mtd_get_mac_binary u-boot 0x2e018) + ;; esac [ -n "$lan_mac" ] && ucidef_set_interface_macaddr "lan" $lan_mac -- 2.30.2