dap2965: new wifi config, 2022

This commit is contained in:
dexxter00 2022-10-10 19:17:01 +03:00
parent 6f740e31b4
commit 78f6098bdf
1 changed files with 58 additions and 24 deletions

View File

@ -4,8 +4,15 @@ config interface 'loopback'
option ipaddr '127.0.0.1' option ipaddr '127.0.0.1'
option netmask '255.0.0.0' option netmask '255.0.0.0'
config device
option name 'br-lan'
option type 'bridge'
option ipv6 '0'
list ports 'eth0'
config interface 'management' config interface 'management'
option ifname 'eth0' option ifname 'br-lan.20'
option proto 'static' option proto 'static'
option ipaddr '<ip>' option ipaddr '<ip>'
option netmask '255.255.255.0' option netmask '255.255.255.0'
@ -13,29 +20,56 @@ config interface 'management'
option dns '10.20.0.1' option dns '10.20.0.1'
option ipv6 'no' option ipv6 'no'
config interface 'wireless'
option ifname 'eth1' config bridge-vlan
option device 'br-lan'
option vlan '1'
list ports 'eth0'
config bridge-vlan
option device 'br-lan'
option vlan '20'
list ports 'eth0:t'
config bridge-vlan
option device 'br-lan'
option vlan '21'
list ports 'eth0:t'
config bridge-vlan
option device 'br-lan'
option vlan '23'
list ports 'eth0:t'
config interface 'userwifi'
option proto 'none' option proto 'none'
option ipv6 'no' option device 'br-lan.21'
option force_link '1' option defaultroute '0'
option type 'bridge' option peerdns '0'
option delegate '0'
config switch config interface 'videowifi'
option name 'switch0' option proto 'none'
option reset '1' option device 'br-lan.23'
option enable_vlan '1' option defaultroute '0'
option peerdns '0'
option delegate '0'
config switch config device
option name 'switch0' option name 'br-lan.20'
option reset '1' option type '8021q'
option enable_vlan '1' option ifname 'br-lan'
option vid '20'
config switch_vlan config device
option device 'switch0' option name 'br-lan.21'
option vlan '20' option type '8021q'
option ports '0 2t' option ifname 'br-lan'
option vid '21'
config device
option name 'br-lan.23'
option type '8021q'
option ifname 'br-lan'
option vid '23'
config switch_vlan
option device 'switch0'
option vlan '22'
option ports '2t 6'