2022: tplink eap-615 config
This commit is contained in:
parent
8cd42d4cf8
commit
6f740e31b4
2
Rakefile
2
Rakefile
|
@ -59,7 +59,7 @@ end
|
|||
|
||||
task :all do
|
||||
aps = %W(ap-ws-ws1 ap-ws-ws2) # Workshops
|
||||
#aps += %W(ap-ws-noc) # NOC/Team room
|
||||
aps += %W(ap-cf-srv) # server room
|
||||
|
||||
aps.each do |ap|
|
||||
Rake::Task["ap"].reenable
|
||||
|
|
|
@ -36,6 +36,30 @@ configurations:
|
|||
# - all
|
||||
# - dap2965
|
||||
# - dap2965-single-trunk
|
||||
# top floor
|
||||
ap-cf-srv:
|
||||
config: tplink-eap615
|
||||
ip: 10.20.0.50
|
||||
wlans:
|
||||
0:
|
||||
bssid: 0e:50:00:11:00:50
|
||||
channel: 157
|
||||
txpower: 22
|
||||
1:
|
||||
bssid: 0e:24:00:11:00:50
|
||||
channel: 13
|
||||
txpower: 10
|
||||
2:
|
||||
bssid: 0e:50:ff:11:00:50
|
||||
key: openfest
|
||||
3:
|
||||
bssid: 0e:24:ff:11:00:50
|
||||
key: openfest
|
||||
|
||||
mixins:
|
||||
- all
|
||||
- tplink-eap615
|
||||
|
||||
# lower floor
|
||||
ap-ws-ws1:
|
||||
config: linksys
|
||||
|
|
|
@ -0,0 +1,61 @@
|
|||
config interface 'loopback'
|
||||
option ifname 'lo'
|
||||
option proto 'static'
|
||||
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'
|
||||
|
||||
config device
|
||||
option name 'br-lan'
|
||||
option type 'bridge'
|
||||
option ipv6 '0'
|
||||
list ports 'lan0'
|
||||
|
||||
config interface 'management'
|
||||
option device 'br-lan.20'
|
||||
option proto 'static'
|
||||
option ipaddr '<ip>'
|
||||
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'
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
|
||||
config system
|
||||
option hostname '<hostname>'
|
||||
option zonename 'Europe/Sofia'
|
||||
option timezone 'EET-2EEST,M3.5.0/3,M10.5.0/4'
|
||||
option log_ip '10.20.0.1'
|
||||
option log_remote '1'
|
||||
|
||||
config timeserver 'ntp'
|
||||
list server '0.bg.pool.ntp.org'
|
||||
list server '1.bg.pool.ntp.org'
|
||||
list server '2.bg.pool.ntp.org'
|
||||
list server '3.bg.pool.ntp.org'
|
||||
option enabled '1'
|
||||
option enable_server '0'
|
||||
|
||||
config led 'led_usb1'
|
||||
option name 'USB1'
|
||||
option sysfs 'tp-link:green:usb1'
|
||||
option trigger 'usbdev'
|
||||
option dev '1-1'
|
||||
option interval '50'
|
||||
|
||||
config led 'led_usb2'
|
||||
option name 'USB2'
|
||||
option sysfs 'tp-link:green:usb2'
|
||||
option trigger 'usbdev'
|
||||
option dev '2-1'
|
||||
option interval '50'
|
||||
|
||||
config led 'led_wlan2g'
|
||||
option name 'WLAN2G'
|
||||
option sysfs 'tp-link:blue:wlan2g'
|
||||
option trigger 'phy1tpt'
|
||||
|
||||
config led 'led_wlan5g'
|
||||
option name 'WLAN5G'
|
||||
option sysfs 'tp-link:blue:wlan5g'
|
||||
option trigger 'phy0tpt'
|
||||
|
||||
config led 'led_system'
|
||||
option name 'SYSTEM'
|
||||
option sysfs 'tp-link:blue:system'
|
||||
option trigger 'heartbeat'
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
config wifi-sentinel
|
||||
option packets 3
|
||||
option interval 10
|
||||
option network 'management'
|
||||
option switchport '1'
|
|
@ -0,0 +1,81 @@
|
|||
config wifi-device radio0
|
||||
option type mac80211
|
||||
option band '2g'
|
||||
option path 'pci0000:01/0000:01:00.0'
|
||||
option channel '<radio0-channel>'
|
||||
option txpower '<wlan0-txpower>'
|
||||
option htmode VHT80
|
||||
option distance '20'
|
||||
option require_mode 'n'
|
||||
list basic_rate '54000'
|
||||
list supported_rates '54000'
|
||||
option log_level '-1'
|
||||
option country 'BG'
|
||||
option country_ie '1'
|
||||
option doth '1'
|
||||
|
||||
config wifi-iface
|
||||
option device radio0
|
||||
option network 'wireless'
|
||||
option mode 'ap'
|
||||
option ssid 'OpenFest'
|
||||
option encryption 'none'
|
||||
option macaddr '<wlan0-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 <radio1-channel>
|
||||
option txpower '<wlan1-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 network 'wireless'
|
||||
option mode 'ap'
|
||||
option ssid 'OpenFest'
|
||||
option encryption 'none'
|
||||
option macaddr '<wlan1-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 '<wlan2-macaddr>'
|
||||
option wnm_sleep_mode 1
|
||||
option encryption 'sae-mixed'
|
||||
option key '<wlan2-key>'
|
||||
option network 'videowifi'
|
||||
|
||||
config wifi-iface
|
||||
option device radio1
|
||||
option network 'wireless'
|
||||
option mode 'ap'
|
||||
option ssid 'OpenFest'
|
||||
option encryption 'none'
|
||||
option macaddr '<wlan3-macaddr>'
|
||||
option encryption 'sae-mixed'
|
||||
option key '<wlan3-key>'
|
||||
option wnm_sleep_mode 1
|
||||
option network 'videowifi'
|
||||
|
||||
|
Loading…
Reference in New Issue