[source] lantiq: add missing default lan interface
LEDE Commits
lede-commits at lists.infradead.org
Wed Oct 25 00:24:00 PDT 2017
mkresin pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/ee6fa8d8396922a3cfda58f5ee56a6efe67ccf80
commit ee6fa8d8396922a3cfda58f5ee56a6efe67ccf80
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Wed Oct 25 08:32:00 2017 +0200
lantiq: add missing default lan interface
With removing the boards from the the default case to fix the xDSL WAN
MAC-Address, the setting for the default LAN interface wasn't added.
Fixes: 92a12c434ca3 ("lantiq: fix avm fritz box mac addresses")
Signed-off-by: Mathias Kresin <dev at kresin.me>
---
target/linux/lantiq/base-files/etc/board.d/02_network | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target/linux/lantiq/base-files/etc/board.d/02_network b/target/linux/lantiq/base-files/etc/board.d/02_network
index 058fbd5..de55be8 100755
--- a/target/linux/lantiq/base-files/etc/board.d/02_network
+++ b/target/linux/lantiq/base-files/etc/board.d/02_network
@@ -95,10 +95,12 @@ EASY80920NAND|EASY80920NOR)
FRITZ3370)
wan_mac=$(macaddr_add "$(mtd_get_mac_binary urlader 2439)" 1)
+ ucidef_set_interface_lan 'eth0'
;;
FRITZ7320)
wan_mac=$(macaddr_add "$(mtd_get_mac_binary urlader 2705)" 1)
+ ucidef_set_interface_lan 'eth0'
;;
FRITZ7360SL)
More information about the lede-commits
mailing list