ibss aus config entfernen. gluon-mesh-batman-adv-15 in die zentrale config verschieben

This commit is contained in:
Daniel Frank 2018-04-06 20:43:58 +02:00
parent 8767ae099d
commit c4c8ed4596
6 changed files with 5 additions and 26 deletions

View file

@ -29,6 +29,7 @@ gluon_site_packages = %w(
gluon-ebtables-filter-ra-dhcp
gluon-ebtables-segment-mld
gluon-ebtables-source-filter
gluon-mesh-batman-adv-15
gluon-mesh-vpn-fastd
gluon-radvd
gluon-respondd
@ -44,8 +45,6 @@ gluon_site_packages = %w(
iwinfo
)
gluon_ath10k_mesh = "11s"
signing_keys = [
'ef73bc52b929fd11efce9a5c8f0b5463f1766bb995c8a0b3b6bcd7ba45b8b1e6', # leo
'3f0fc50d4e5c893f9f58f98874bd21080b93c28ff5e4d4946352cada1b4e6441', # andre

View file

@ -2,8 +2,7 @@
site_name = 'Freifunk Hamburg Nordwest'
site_code = 'ffhh-nowe'
gluon_site_packages += %w( gluon-mesh-batman-adv-15 )
gluon_ath10k_mesh = "11s"
gluon_site_packages += %w( )
prefix4 = '10.112.192.0/19'
prefix6 = '2a03:2267:3::/64'

View file

@ -2,8 +2,7 @@
site_name = 'Freifunk Hamburg Ost'
site_code = 'ffhh-ost'
gluon_site_packages += %w( gluon-mesh-batman-adv-15 )
gluon_ath10k_mesh = "11s"
gluon_site_packages += %w( )
prefix4 = '10.112.224.0/19'
prefix6 = '2a03:2267:4::/64'

View file

@ -2,8 +2,7 @@
site_name = 'Freifunk Hamburg Sued'
site_code = 'ffhh-sued'
gluon_site_packages += %w( gluon-mesh-batman-adv-15 )
gluon_ath10k_mesh = "11s"
gluon_site_packages += %w( )
prefix4 = '10.112.64.0/19'
prefix6 = '2a03:2267:1::/64'

View file

@ -2,8 +2,7 @@
site_name = 'Freifunk Hamburg West'
site_code = 'ffhh-west'
gluon_site_packages += %w( gluon-mesh-batman-adv-15 )
gluon_ath10k_mesh = "11s"
gluon_site_packages += %w( )
prefix4 = '10.112.96.0/19'
prefix6 = '2a03:2267:2::/64'

View file

@ -26,18 +26,10 @@
ap = {
ssid = 'hamburg.freifunk.net',
},
<% if gluon_ath10k_mesh == "11s" -%>
mesh = {
id = '<%= ("00000000" + site_code)[-8..-1].each_byte.map { |b| b.to_s(16) }.join.upcase %>',
mcast_rate = 12000,
},
<% else -%>
ibss = {
ssid = 'f8:d1:11:87:52:2e',
bssid = 'f8:d1:11:87:52:2e',
mcast_rate = 12000,
},
<% end -%>
},
wifi5 = {
@ -45,18 +37,10 @@
ap = {
ssid = 'hamburg.freifunk.net',
},
<% if gluon_ath10k_mesh == "11s" -%>
mesh = {
id = '<%= ("00000000" + site_code)[-8..-1].each_byte.map { |b| b.to_s(16) }.join.upcase %>',
mcast_rate = 12000,
},
<% else -%>
ibss = {
ssid = 'f8:d1:11:87:52:2e',
bssid = 'f8:d1:11:87:52:2e',
mcast_rate = 12000,
},
<% end -%>
},
next_node = {