Fix AirRouter (#687)

This commit is contained in:
Tim Wilkinson 2023-01-30 13:16:35 -08:00 committed by GitHub
parent edda18da98
commit 0b4373204e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -7,3 +7,15 @@
CONFIG_NET_DEVLINK=y
CONFIG_NET_DSA=y
CONFIG_NET_DSA_MV88E6060=y
--- a/target/linux/ath79/tiny/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/tiny/base-files/etc/board.d/02_network
@@ -108,7 +108,8 @@
ubnt,airrouter)
ucidef_set_interface_wan "eth1"
ucidef_add_switch "switch0" \
- "0@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"
+ "0@eth0" "1t:dummy" "1t:dtdlink" "4:lan" "3:lan" "2:lan"
+ ucidef_set_interface "wifi" device "wlan0" "protocol" "static"
;;
ubnt,nanostation-m)
ucidef_set_interface_lan "eth0 eth1"