--- --- Changing WiFi inteface behavior =============================== == LibreMesh WiFi config For more information about the LibreMesh config file options see link:/docs/en_config.html[config]. The general config WiFi section is used for configuring WiFi devices if there are not specific sections. The general config looks like the following example. ---- config lime 'wifi' option channel_2ghz '11' option channel_5ghz '48' option htmode_5ghz 'HT40' option distance '1000' 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 adhoc_mcast_rate_2ghz '24000' option adhoc_mcast_rate_5ghz '6000' option ieee80211s_mesh_fwding '0' option ieee80211s_mesh_id 'LiMe' ---- To make a specific configuration you must create a new wifi section named radio**N**, where **N** is the radio index (to see WiFi devices list execute: iw list). The following example shows how to configure specific WiFi devices. In the example radio0 is used only for meshing and radio1 is used only for Access Point. ---- config wifi 'radio0' list modes 'ieee80211s' option ieee80211s_mesh_id 'LiMe' option ieee80211s_mesh_fwding '0' option channel_2ghz '11' option channel_5ghz '48' option distance '1000' config wifi 'radio1' list modes 'ap' list modes 'apname' option apname_ssid 'LibreMesh.org/%H' option apname_key 'mypassword' option apname_encryption 'psk2' option ap_ssid 'LibreMesh.org' option ap_key 'mypassword' option ap_encryption 'psk2' option channel_2ghz '11' option channel_5ghz '48' option distance '1000' ---- These two new sections must be appened in file **/etc/config/lime** in addition to the already existing ones. To apply the changes run **lime-config** and **lime-apply**. =================