Message ID | 20190403170913.34395-1-freifunk@adrianschmutzler.de |
---|---|
State | Not Applicable |
Headers | show |
Series | [OpenWrt-Devel,1/2] ar71xx: Correct MAC address for WAN interface of Archer C7 v5 | expand |
> -----Original Message----- > From: openwrt-devel [mailto:openwrt-devel-bounces@lists.openwrt.org] > On Behalf Of Adrian Schmutzler > Sent: Mittwoch, 3. April 2019 19:09 > To: openwrt-devel@lists.openwrt.org > Subject: [OpenWrt-Devel] [PATCH 1/2] ar71xx: Correct MAC address for > WAN interface of Archer C7 v5 > > This devices shares the network config with v4, thus the WAN MAC also > needs to be fixed the same way. > > Based on: https://github.com/openwrt/openwrt/pull/1726 > > Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> > --- > target/linux/ar71xx/base-files/etc/board.d/02_network | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network > b/target/linux/ar71xx/base-files/etc/board.d/02_network > index a7b97bb3dd..22ac992fd1 100755 > --- a/target/linux/ar71xx/base-files/etc/board.d/02_network > +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network > @@ -600,7 +600,8 @@ ar71xx_setup_macs() > local wan_mac="" > > case $board in > - archer-c7-v4) > + archer-c7-v4|\ > + archer-c7-v5) > base_mac=$(mtd_get_mac_binary config 8) > wan_mac=$(macaddr_add "$base_mac" 1) > ;; > -- > 2.11.0 > > > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel This patch and the subsequent one are wrong, since the partition names have changed from C7v4 to C7v5. Sorry for the inconvenience, I will take care and resend correct ones. Best Adrian
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index a7b97bb3dd..22ac992fd1 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -600,7 +600,8 @@ ar71xx_setup_macs() local wan_mac="" case $board in - archer-c7-v4) + archer-c7-v4|\ + archer-c7-v5) base_mac=$(mtd_get_mac_binary config 8) wan_mac=$(macaddr_add "$base_mac" 1) ;;
This devices shares the network config with v4, thus the WAN MAC also needs to be fixed the same way. Based on: https://github.com/openwrt/openwrt/pull/1726 Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> --- target/linux/ar71xx/base-files/etc/board.d/02_network | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)