Configuration
lime-files
The LibreMesh configuration is mainly done by a set of /etc/config/lime-<level> files. These files can be managed via the OpenWrt UCI or manually edited using vim.
To modify them via the LuCI web interface install luci-app-filemanager.
The options contained in these files are merged and overwritten from the lowest to the highest priority:
/etc/config/
├─ lime-defaults # DO NOT EDIT, default configuration
├─ lime-community # community configuration
├─ lime-<MAC> # node configuration, device specific
├─ lime-node # node configuration
└─ lime-autogen # DO NOT EDIT, autogenerated configurationSections
The configuration is divided into three main sections:
config lime system- System options: hostname, domain, root_passwordconfig lime network- Network options: ipv4/ipv6, dns resolvers, protocols list, protocols optionsconfig lime wifi- Wireless options: modes list, AP/Ad-Hoc/ApUP/80211s options
By default followed by radio band specific configurations
config lime-wifi-band 2ghzconfig lime-wifi-band 5ghz
Optionally followed by interface specific sections, and protocols specific options
config net port1config wifi radio0
Interface specific section
Interface specific section have to be included in lime-node or lime-<MAC>.
Optionally followed by other protocols specific, scripts and uci configs, or hardware_modules
config bgp_peer peer1config generic_uci_config uhttpd_httpsconfig hwd_watchcat periodic_reboot
Parametrizable options
Inside lime-files the options marked with Parametrizable with %Mn, %Nn, %H, can include the templates:
%Mn: replaced by the n'th byte of theprimary_interfaceMAC%Nn: replaced by the n'th (n = 1..5) network-identifier byte, calculated from the hash of theap_ssid. All the nodes that form a mesh cloud (share the sameap_ssid) will produce the same value%H: replaced by thehostname
lime-config
The command lime-config configures LibreMesh on top of OpenWrt.
Refers to the page lime-config for the details.