aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network5
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh1
2 files changed, 6 insertions, 0 deletions
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 32bfa77f70..e9df34524b 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -72,6 +72,7 @@ ramips_setup_interfaces()
dir-615-h1|\
firewrt|\
hlk-rm04|\
+ mac1200rv2|\
miwifi-mini|\
miwifi-nano|\
mt7621|\
@@ -313,6 +314,10 @@ ramips_setup_macs()
wan_mac=$(mtd_get_mac_binary factory 4)
lan_mac=$(mtd_get_mac_binary factory 46)
;;
+ mac1200rv2)
+ lan_mac=$(mtd_get_mac_binary factory_info 13)
+ wan_mac=$(macaddr_add "$lan_mac" 1)
+ ;;
m3|\
m4|\
x5|\
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 5693f6307e..969594d8a6 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -65,6 +65,7 @@ get_status_led() {
dir-620-d1|\
hpm|\
hw550-3g|\
+ mac1200rv2|\
miniembwifi|\
mofi3500-3gn|\
rut5xx|\