;;
3g-6200n | \
- argus-atp52b | \
b2c | \
nw718 | \
psr-680w | \
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
;;
- asl26555)
- ucidef_set_interface_lan "eth0.1"
+ br-6475nd)
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
- ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 6t"
+ ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 9t"
+ ucidef_add_switch_vlan "switch0" "2" "0 9t"
;;
- dir-645)
- ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+ asl26555)
+ ucidef_set_interface_lan "eth0.1"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 6t"
- ucidef_add_switch_vlan "switch0" "2" "0 6t"
;;
dir-610-a1 | \
dir-300-b7 | \
dir-320-b1 | \
dir-615-h1 | \
+ hlk-rm04 | \
mzk-w300nh2)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "2" "4 6t"
;;
+ argus-atp52b | \
+ dir-645 | \
f5d8235-v1 | \
f5d8235-v2 | \
hg255d | \
+ rt-n14u | \
+ wrtnode | \
ur-326n4g)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
;;
wcr-150gn)
- ucidef_set_interfaces_lan_wan "eth0.2" "eth0.1"
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "0 6t"
+ ucidef_add_switch_vlan "switch0" "2" "6t"
;;
d105 | \
+ na930 | \
omni-emb-hpm|\
wli-tx4-ag300n)
ucidef_set_interface_lan "eth0"
wan_mac=$(macaddr_add "$lan_mac" 1)
;;
+ br-6475nd)
+ lan_mac=$(mtd_get_mac_binary devdata 13)
+ wan_mac=$(mtd_get_mac_binary devdata 7)
+ ;;
+
w306r-v20)
wan_mac=$(macaddr_add "$lan_mac" 5)
;;