From 0a0caa2656c8db73518a1783743ede772e3ac40f Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 30 Jun 2016 16:16:30 +0200 Subject: [PATCH] ramips: set correct LAN/WAN MAC addresses on DIR-860L B1 Signed-off-by: Matthias Schiffer Reviewed-by: Jo-Philipp Wich --- target/linux/ramips/base-files/etc/board.d/02_network | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index dbb5fb43e0..6157d87763 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -286,6 +286,10 @@ ramips_setup_macs() lan_mac=$(mtd_get_mac_ascii nvram lanmac) wan_mac=$(mtd_get_mac_ascii nvram wanmac) ;; + dir-860l-b1) + lan_mac=$(mtd_get_mac_ascii factory lanmac) + wan_mac=$(mtd_get_mac_ascii factory wanmac) + ;; e1700) wan_mac=$(mtd_get_mac_ascii config WAN_MAC_ADDR) ;; -- 2.25.1