profile-calafou-indoor
Encryptable mesh and AP for Calafou indoor nodes
Makefile
include $(TOPDIR)/rules.mk
PROFILE_DESCRIPTION:=Encryptable mesh and AP for Calafou indoor nodes
PROFILE_DEPENDS:=+deferrable-reboot +safe-reboot +shared-state-network_nodes +shared-state-dnsmasq_servers \
+lime-docs \
+lime-proto-babeld \
+lime-proto-batadv \
+lime-proto-anygw \
+lime-hwd-openwrt-wan \
+shared-state \
+hotplug-initd-services \
+shared-state-babeld_hosts \
+shared-state-bat_hosts \
+shared-state-dnsmasq_hosts \
+shared-state-dnsmasq_leases \
+shared-state-nodes_and_links \
+check-date-http \
+lime-app \
+lime-hwd-ground-routing \
+lime-debug \
+babeld-auto-gw-mode \
+prometheus-node-exporter-lua \
+prometheus-node-exporter-lua-openwrt \
+prometheus-node-exporter-lua-wifi_stations \
+prometheus-node-exporter-lua-wifi-stations-extra \
+prometheus-node-exporter-lua-wifi-survey \
+prometheus-node-exporter-lua-wifi-params \
+prometheus-node-exporter-lua-location-latlon \
+prometheus-node-push-influx
include ../../profile.mk
# call BuildPackage - OpenWrt buildroot signaturelime-community
config lime system
option deferrable_reboot_uptime_s '654321' # reboot every 7.5 days
config lime network
option main_ipv4_address '10.1.128.0/16/17'
option anygw_dhcp_start '2562'
option anygw_dhcp_limit '30205'
option batadv_orig_interval '5000'
config lime wifi
option country 'ES'
option ap_ssid 'Calafou-to-be-configured'
option apname_ssid 'Calafou/%H-to-be-configured'
option ieee80211s_mesh_id 'libremesh'
config lime-wifi-band '2ghz'
option channel '13'
list modes 'ap'
list modes 'apname'
option distance '100'
config lime-wifi-band '5ghz'
option channel '100'
option htmode 'VHT80'
list modes 'ap'
list modes 'apname'
option distance '100'
config net lan1onlymesh
option linux_name 'lan1'
#list protocols lan # we want all the protocols but LAN, as this ethernet port will be used for meshing, not for clients access
list protocols anygw
list protocols batadv:%N1
list protocols babeld:17
config generic_uci_config beacon_int
list uci_set 'wireless.radio0.beacon_int=50'
list uci_set 'wireless.radio1.beacon_int=50'
config generic_uci_config prometheus
list uci_set "prometheus-node-exporter-lua.main.listen_interface=lan"
config run_asset prometheus_enable
option asset 'community/prometheus_enable'
option when 'ATFIRSTBOOT'