aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7620/base-files/etc
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-05-18 21:26:20 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-05-18 21:51:06 +0200
commit0b34a36da92dd1f60722555afa90142aff884432 (patch)
tree5f68fa340b0e914d7d78316976a0bd46495b9c17 /target/linux/ramips/mt7620/base-files/etc
parent33b207852809b68e68c4ec2430d0379518314957 (diff)
downloadupstream-0b34a36da92dd1f60722555afa90142aff884432.tar.gz
upstream-0b34a36da92dd1f60722555afa90142aff884432.tar.bz2
upstream-0b34a36da92dd1f60722555afa90142aff884432.zip
ramips: fix MAC address assignment for ASUS RT-AC51U
The current MAC address assignment for the ASUS RT-AC51U is "wrong", it actually should be the same as for the RT-AC54U. Fix it. MAC assignment based on vendor firmware: 2g 0x4 label 5g 0x8004 label +4 lan 0x22 label +4 wan 0x28 label Thanks to Davide Fioravanti for checking this on his device. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/mt7620/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/mt7620/base-files/etc/board.d/02_network2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
index c1dbf8d71d..417d3d0271 100755
--- a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
@@ -236,7 +236,6 @@ ramips_setup_macs()
case $board in
aigale,ai-br100|\
- asus,rt-ac51u|\
asus,rt-n12p|\
asus,rt-n14u|\
bdcom,wap2100-sk|\
@@ -272,6 +271,7 @@ ramips_setup_macs()
wan_mac=$(mtd_get_mac_binary factory 0x2e)
label_mac=$(mtd_get_mac_binary factory 0x4)
;;
+ asus,rt-ac51u|\
asus,rt-ac54u)
wan_mac=$(mtd_get_mac_binary factory 0x28)
label_mac=$wan_mac