2016-07-03 18:37:25 +00:00
|
|
|
From: Matthias Schiffer <mschiffer@universe-factory.net>
|
|
|
|
Date: Thu, 30 Jun 2016 16:16:30 +0200
|
|
|
|
Subject: ramips: set correct LAN/WAN MAC addresses on DIR-860L B1
|
|
|
|
|
|
|
|
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
|
|
|
|
|
|
|
|
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
|
2016-12-20 00:09:53 +00:00
|
|
|
index a78912dbc9b5ecdc8a9fb0c583c1e47fdb579015..4e6e507625adf8c706e2311ee121769cadb2aeaf 100755
|
2016-07-03 18:37:25 +00:00
|
|
|
--- a/target/linux/ramips/base-files/etc/board.d/02_network
|
|
|
|
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
|
|
|
|
@@ -346,6 +346,11 @@ ramips_setup_macs()
|
|
|
|
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)
|
|
|
|
;;
|