Skip to content

profile-libremesh-default

Default LibreMesh configuration

Makefile

include $(TOPDIR)/rules.mk

PROFILE_DESCRIPTION:=Default LibreMesh configuration

include ../../profile.mk

# call BuildPackage - OpenWrt buildroot signature

lime-community

# Beware this file is NOT supposed to be edited by the end user, modify /etc/config/lime-node instead
# If the same option or list is defined both in /etc/config/lime-node and lime-community file, the former will prevail
# Beware this file is not supposed to store interface specific configuration, like "config net eth0"

# Read the documentation in /docs directory
# and on http://libremesh.org

config lime system
	option hostname 'LiMe-%M4%M5%M6'
	option domain 'thisnode.info'
	option keep_on_upgrade 'libremesh dropbear minimum-essential /etc/sysupgrade.conf'
	option root_password_policy 'DO_NOTHING'
	option root_password_secret ''
	option deferrable_reboot_uptime_s '97200'
	option firstbootwizard_configured false
	option firstbootwizard_dismissed false

config lime network
	option primary_interface 'eth0'
	option main_ipv4_address '10.%N1.0.0/16'
	option anygw_dhcp_start '2'
	option anygw_dhcp_limit '0'
	option main_ipv6_address 'fd%N1:%N2%N3:%N4%N5::/64'
	list protocols ieee80211s
	list protocols lan
	list protocols anygw
	list protocols batadv:%N1
	list protocols bmx6:13
	list protocols olsr:14
	list protocols olsr6:15
	list protocols olsr2:16
	list protocols babeld:17
	list protocols bmx7:18
	list resolvers 4.2.2.2   # b.resolvers.Level3.net
	list resolvers 141.1.1.1 # cns1.cw.net
	list resolvers 2001:470:20::2 # ordns.he.net
	option bmx6_mtu '1500'
	option bmx6_publish_ownip false
	option bmx6_over_batman false
	option bmx6_pref_gw none
	option bmx6_wifi_rate_max 54000000
	option bmx7_mtu '1500'
	option bmx7_publish_ownip false
	option bmx7_over_batman false
	option bmx7_pref_gw none
	option bmx7_wifi_rate_max 'auto'
	option bmx7_enable_pki false
	option batadv_orig_interval '2000'
	option batadv_routing_algo 'BATMAN_IV'
	option anygw_mac "aa:aa:aa:%N1:%N2:aa"
	option use_odhcpd false

config lime wifi
	list modes 'ap'
	list modes 'apname'
	list modes 'ieee80211s'
	option ap_ssid 'LibreMesh.org'
	option apname_ssid 'LibreMesh.org/%H'
	option adhoc_ssid 'LiMe'
	option adhoc_bssid 'ca:fe:00:c0:ff:ee'
	option ieee80211s_mesh_fwding '0'
	option ieee80211s_mesh_id 'LiMe'
	option unstuck_interval '10'
	option unstuck_timeout '300'

config lime-wifi-band '2ghz'
	option channel '11'
	option htmode 'HT20'
	option distance '1000'
	option adhoc_mcast_rate '24000'
	option ieee80211s_mcast_rate '24000'

config lime-wifi-band '5ghz'
	list channel '48'
	list channel '157'
	option htmode 'HT40'
	option distance '10000'
	option adhoc_mcast_rate '6000'
	option ieee80211s_mcast_rate '6000'

config generic_uci_config uhttpd_https
	list uci_set 'uhttpd.main.redirect_https=0'