diff options
author | DENG Qingfang <dengqf6@mail2.sysu.edu.cn> | 2020-04-28 11:38:51 +0800 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-04-28 10:57:17 +0200 |
commit | a10537f67400e910da153ebf3b478d931dd557f2 (patch) | |
tree | a748256c5e36fd1d48be834020e458eda5e11e96 /target/linux/ramips/mt7621 | |
parent | a882bfce052e78bd344dcbd36efb32acf1340d7a (diff) | |
download | upstream-a10537f67400e910da153ebf3b478d931dd557f2.tar.gz upstream-a10537f67400e910da153ebf3b478d931dd557f2.tar.bz2 upstream-a10537f67400e910da153ebf3b478d931dd557f2.zip |
ramips: fix MikroTik 750Gr3 ports MAC addresses
According to a user in OpenWrt forum, on RouterOS the MAC addresses are
ether1(WAN) = MAC
ether2(LAN2) = MAC+1
ether3(LAN3) = MAC+2
etc.
Fix the MAC addresses in OpenWrt.
Ref: https://forum.openwrt.org/t/few-dumb-question-about-mt7530-rb750gr3-dsa/61608
Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
[remove label_mac in 02_network]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/mt7621')
-rwxr-xr-x | target/linux/ramips/mt7621/base-files/etc/board.d/02_network | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network index 952146478c..43db9c6f64 100755 --- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network +++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network @@ -91,7 +91,6 @@ ramips_setup_macs() wan_mac=$(mtd_get_mac_ascii u-boot-env wanaddr) label_mac=$wan_mac ;; - mikrotik,routerboard-750gr3|\ mikrotik,routerboard-m11g|\ mikrotik,routerboard-m33g) label_mac=$(mtd_get_mac_binary hard_config 0x10) |