diff --git a/files/tplink-eap615/etc/config/network b/files/tplink-eap615/etc/config/network index ea944c7..c3b0cca 100644 --- a/files/tplink-eap615/etc/config/network +++ b/files/tplink-eap615/etc/config/network @@ -4,7 +4,6 @@ config interface 'loopback' option ipaddr '127.0.0.1' option netmask '255.0.0.0' - config globals 'globals' option packet_steering '1' option ula_prefix 'fdfa:5bcd:c72e::/48' @@ -24,38 +23,63 @@ config interface 'management' option dns '10.20.0.1' option ipv6 'no' - -config bridge-vlan - option device 'br-lan' - option vlan '1' - list ports 'lan0' - -config bridge-vlan - option device 'br-lan' - option vlan '20' - list ports 'lan0:t' - -config bridge-vlan - option device 'br-lan' - option vlan '21' - list ports 'lan0:t' - -config bridge-vlan - option device 'br-lan' - option vlan '23' - list ports 'lan0:t' - -config interface 'userwifi' - option proto 'none' - option device 'br-lan.21' - option defaultroute '0' - option peerdns '0' - option delegate '0' - -config interface 'videowifi' - option proto 'none' - option device 'br-lan.23' - option defaultroute '0' - option peerdns '0' - option delegate '0' + config interface 'management' + option ifname 'br-lan.20' + option proto 'static' + option ipaddr '' + option netmask '255.255.255.0' + option gateway '10.20.0.1' + option dns '10.20.0.1' + option ipv6 'no' +config bridge-vlan + option device 'br-lan' + option vlan '1' + list ports 'lan0' + +config bridge-vlan + option device 'br-lan' + option vlan '20' + list ports 'lan0:t' + +config bridge-vlan + option device 'br-lan' + option vlan '21' + list ports 'lan0:t' + +config bridge-vlan + option device 'br-lan' + option vlan '23' + list ports 'lan0:t' + +config interface 'userwifi' + option proto 'none' + option device 'br-lan.21' + option defaultroute '0' + option peerdns '0' + option delegate '0' + +config interface 'videowifi' + option proto 'none' + option device 'br-lan.23' + option defaultroute '0' + option peerdns '0' + option delegate '0' + +config device + option name 'br-lan.20' + option type '8021q' + option ifname 'br-lan' + option vid '20' + +config device + option name 'br-lan.21' + option type '8021q' + option ifname 'br-lan' + option vid '21' + +config device + option name 'br-lan.23' + option type '8021q' + option ifname 'br-lan' + option vid '23' \ No newline at end of file diff --git a/files/tplink-eap615/etc/config/wireless b/files/tplink-eap615/etc/config/wireless index abc7ca6..5d6d898 100644 --- a/files/tplink-eap615/etc/config/wireless +++ b/files/tplink-eap615/etc/config/wireless @@ -1,10 +1,51 @@ -config wifi-device radio0 - option type mac80211 - option band '2g' - option path 'pci0000:01/0000:01:00.0' +config wifi-device radio0 + option type 'mac80211' + option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0+1' + option band '5g' option channel '' option txpower '' - option htmode VHT80 + option htmode 'VHT80' + option distance '20' + list basic_rate '54000' + list supported_rates '54000' + option require_mode 'g' + option beacon_int '250' + option log_level '-1' + option country 'BG' + option country_ie '1' + +config wifi-iface + option device 'radio0' + option network 'wireless' + option mode 'ap' + option ssid 'OpenFest' + option encryption 'none' + option macaddr '' + option isolate '1' + option wnm_sleep_mode '1' + option proxy_arp '1' + option network 'userwifi' + +config wifi-iface + option device 'radio0' + option network 'wireless' + option mode 'ap' + option ssid 'OpenFest' + option encryption 'none' + option macaddr '' + option wnm_sleep_mode '1' + option encryption 'sae-mixed' + option key '' + option network 'videowifi' + + +config wifi-device radio1 + option type 'mac80211' + option band '2g' + option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0' + option channel '' + option txpower '' + option htmode 'HT20' option distance '20' option require_mode 'n' list basic_rate '54000' @@ -15,59 +56,19 @@ config wifi-device radio0 option doth '1' config wifi-iface - option device radio0 - option network 'wireless' - option mode 'ap' - option ssid 'OpenFest' - option encryption 'none' - option macaddr '' - option isolate '1' - option wnm_sleep_mode 1 - option proxy_arp 1 - option network 'userwifi' - -config wifi-device radio1 - option type mac80211 - option path 'platform/qca955x_wmac' - option band '5g' - option channel - option txpower '' - option htmode 'HT20' - option distance '20' - list basic_rate '54000' - list supported_rates '54000' - option require_mode 'g' - option beacon_int 250 - option log_level '-1' - option country 'BG' - option country_ie '1' - -config wifi-iface - option device radio1 + option device 'radio1' option network 'wireless' option mode 'ap' option ssid 'OpenFest' option encryption 'none' option macaddr '' option isolate '1' - option wnm_sleep_mode 1 - option proxy_arp 1 + option wnm_sleep_mode '1' + option proxy_arp '1' option network 'userwifi' config wifi-iface - option device radio0 - option network 'wireless' - option mode 'ap' - option ssid 'OpenFest' - option encryption 'none' - option macaddr '' - option wnm_sleep_mode 1 - option encryption 'sae-mixed' - option key '' - option network 'videowifi' - -config wifi-iface - option device radio1 + option device 'radio1' option network 'wireless' option mode 'ap' option ssid 'OpenFest' @@ -75,7 +76,7 @@ config wifi-iface option macaddr '' option encryption 'sae-mixed' option key '' - option wnm_sleep_mode 1 + option wnm_sleep_mode '1' option network 'videowifi'