2022: linksys configs, fixups
This commit is contained in:
parent
d1108488d4
commit
8cd42d4cf8
3
Rakefile
3
Rakefile
|
@ -19,6 +19,7 @@ def wifi(name)
|
||||||
wlan_config.sub!("<radio#{id}-channel>", wlan['channel'].to_s)
|
wlan_config.sub!("<radio#{id}-channel>", wlan['channel'].to_s)
|
||||||
wlan_config.sub!("<wlan#{id}-macaddr>", wlan['bssid'].to_s)
|
wlan_config.sub!("<wlan#{id}-macaddr>", wlan['bssid'].to_s)
|
||||||
wlan_config.sub!("<wlan#{id}-txpower>", wlan['txpower'].to_s)
|
wlan_config.sub!("<wlan#{id}-txpower>", wlan['txpower'].to_s)
|
||||||
|
wlan_config.sub!("<wlan#{id}-key>", wlan['key'].to_s)
|
||||||
end
|
end
|
||||||
#wlan_config.gsub!("# option channel", " option channel")
|
#wlan_config.gsub!("# option channel", " option channel")
|
||||||
wlan_config.gsub!("# option macaddr", " option macaddr")
|
wlan_config.gsub!("# option macaddr", " option macaddr")
|
||||||
|
@ -57,7 +58,7 @@ task :ap, [:name] do |t, args|
|
||||||
end
|
end
|
||||||
|
|
||||||
task :all do
|
task :all do
|
||||||
aps = %W(ap-wc ap-bar ap-stage) # Foaier
|
aps = %W(ap-ws-ws1 ap-ws-ws2) # Workshops
|
||||||
#aps += %W(ap-ws-noc) # NOC/Team room
|
#aps += %W(ap-ws-noc) # NOC/Team room
|
||||||
|
|
||||||
aps.each do |ap|
|
aps.each do |ap|
|
||||||
|
|
|
@ -4,52 +4,82 @@
|
||||||
# FLOOR = {00,11}
|
# FLOOR = {00,11}
|
||||||
# IP = last octet from 10.20.0.xx
|
# IP = last octet from 10.20.0.xx
|
||||||
configurations:
|
configurations:
|
||||||
ap-wc:
|
# ap-wc:
|
||||||
config: dap2965
|
# config: dap2965
|
||||||
ip: 10.20.0.22
|
# ip: 10.20.0.22
|
||||||
|
# wlans:
|
||||||
|
# 0:
|
||||||
|
# bssid: 0e:50:00:11:00:52
|
||||||
|
# channel: 36
|
||||||
|
# txpower: 22
|
||||||
|
# 1:
|
||||||
|
# bssid: 0e:24:00:11:00:52
|
||||||
|
# channel: 12
|
||||||
|
# txpower: 10
|
||||||
|
# mixins:
|
||||||
|
# - all
|
||||||
|
# - dap2965
|
||||||
|
# - dap2965-single-trunk
|
||||||
|
# ap-bar:
|
||||||
|
# config: dap2965
|
||||||
|
# ip: 10.20.0.21
|
||||||
|
# wlans:
|
||||||
|
# 0:
|
||||||
|
# bssid: 0e:50:00:11:00:51
|
||||||
|
# channel: 52
|
||||||
|
# txpower: 22
|
||||||
|
# 1:
|
||||||
|
# bssid: 0e:24:00:11:00:51
|
||||||
|
# channel: 6
|
||||||
|
# txpower: 10
|
||||||
|
# mixins:
|
||||||
|
# - all
|
||||||
|
# - dap2965
|
||||||
|
# - dap2965-single-trunk
|
||||||
|
# lower floor
|
||||||
|
ap-ws-ws1:
|
||||||
|
config: linksys
|
||||||
|
ip: 10.20.0.60
|
||||||
wlans:
|
wlans:
|
||||||
0:
|
0:
|
||||||
bssid: 0e:50:00:11:00:52
|
bssid: 0e:50:00:11:00:60
|
||||||
channel: 36
|
channel: 44
|
||||||
txpower: 22
|
txpower: 22
|
||||||
1:
|
1:
|
||||||
bssid: 0e:24:00:11:00:52
|
bssid: 0e:24:00:11:00:60
|
||||||
channel: 12
|
channel: 1
|
||||||
txpower: 10
|
txpower: 10
|
||||||
|
2:
|
||||||
|
bssid: 0e:50:ff:11:00:60
|
||||||
|
key: openfest
|
||||||
|
3:
|
||||||
|
bssid: 0e:24:ff:11:00:60
|
||||||
|
key: openfest
|
||||||
|
|
||||||
mixins:
|
mixins:
|
||||||
- all
|
- all
|
||||||
- dap2965
|
- linksys
|
||||||
- dap2965-single-trunk
|
- linksys-single-trunk
|
||||||
ap-bar:
|
ap-ws-ws2:
|
||||||
config: dap2965
|
config: linksys
|
||||||
ip: 10.20.0.21
|
ip: 10.20.0.61
|
||||||
wlans:
|
wlans:
|
||||||
0:
|
0:
|
||||||
bssid: 0e:50:00:11:00:51
|
bssid: 0e:50:00:11:00:61
|
||||||
channel: 52
|
|
||||||
txpower: 22
|
|
||||||
1:
|
|
||||||
bssid: 0e:24:00:11:00:51
|
|
||||||
channel: 6
|
|
||||||
txpower: 10
|
|
||||||
mixins:
|
|
||||||
- all
|
|
||||||
- dap2965
|
|
||||||
- dap2965-single-trunk
|
|
||||||
# Main room
|
|
||||||
ap-stage:
|
|
||||||
config: archer-c5
|
|
||||||
ip: 10.20.0.23
|
|
||||||
wlans:
|
|
||||||
0:
|
|
||||||
bssid: 0e:50:00:11:00:53
|
|
||||||
channel: 157
|
channel: 157
|
||||||
txpower: 22
|
txpower: 22
|
||||||
1:
|
1:
|
||||||
bssid: 0e:24:00:11:00:53
|
bssid: 0e:24:00:11:00:61
|
||||||
channel: 1
|
channel: 13
|
||||||
txpower: 10
|
txpower: 10
|
||||||
|
2:
|
||||||
|
bssid: 0e:50:ff:11:00:61
|
||||||
|
key: openfest
|
||||||
|
3:
|
||||||
|
bssid: 0e:24:ff:11:00:61
|
||||||
|
key: openfest
|
||||||
|
|
||||||
mixins:
|
mixins:
|
||||||
- all
|
- all
|
||||||
- archer-c5v1
|
- linksys
|
||||||
- archer-c5-single-trunk
|
- linksys-single-trunk
|
||||||
|
|
|
@ -61,8 +61,8 @@ config wifi-iface
|
||||||
option mode 'ap'
|
option mode 'ap'
|
||||||
option ssid 'ofvideo'
|
option ssid 'ofvideo'
|
||||||
option encryption 'sae-mixed'
|
option encryption 'sae-mixed'
|
||||||
option macaddr '<wlan0-macaddr>'
|
option macaddr '<wlan2-macaddr>'
|
||||||
option key '<videokey>'
|
option key '<wlan2-key>'
|
||||||
option wnm_sleep_mode 1
|
option wnm_sleep_mode 1
|
||||||
option network 'videowifi'
|
option network 'videowifi'
|
||||||
|
|
||||||
|
@ -72,8 +72,8 @@ config wifi-iface
|
||||||
option mode 'ap'
|
option mode 'ap'
|
||||||
option ssid 'ofvideo'
|
option ssid 'ofvideo'
|
||||||
option encryption 'sae-mixed'
|
option encryption 'sae-mixed'
|
||||||
option macaddr '<wlan1-macaddr>'
|
option macaddr '<wlan3-macaddr>'
|
||||||
option key '<videokey>'
|
option key '<wlan3-key>'
|
||||||
option wnm_sleep_mode 1
|
option wnm_sleep_mode 1
|
||||||
option network 'videowifi'
|
option network 'videowifi'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue