Skip to content

Commit

Permalink
ipq40xx: add Linksys MR8300 WAN port
Browse files Browse the repository at this point in the history
This makes the WAN interface and port appear in
LuCi -> Network -> Switch on Linksys MR8300.
This allows to configure a VLAN on WAN.

Fixes: FS#4227

Signed-off-by: Julien Cassette <julien.cassette@gmail.com>
  • Loading branch information
jcassette authored and chunkeey committed Feb 4, 2022
1 parent a91ab8b commit 2c1f8a6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions target/linux/ipq40xx/base-files/etc/board.d/02_network
Expand Up @@ -67,12 +67,16 @@ ipq40xx_setup_interfaces()
;;
avm,fritzbox-4040|\
linksys,ea6350v3|\
linksys,ea8300|\
linksys,mr8300)
linksys,ea8300)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" \
"0u@eth0" "1:lan" "2:lan" "3:lan" "4:lan"
;;
linksys,mr8300)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" \
"0u@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "0u@eth1" "5:wan"
;;
avm,fritzbox-7530)
ucidef_add_switch "switch0" \
"0u@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"
Expand Down

0 comments on commit 2c1f8a6

Please sign in to comment.