Skip to content

Latest commit

 

History

History
80 lines (65 loc) · 3.6 KB

README.md

File metadata and controls

80 lines (65 loc) · 3.6 KB

flyoverhead.openwrt.mesh

OpenWRT mesh configuration

  • create and configure mesh network

Role Variables

Variable Descritpion Status Type Default/Example
mesh_enabled Enable mesh configuration required boolean false
ath10k_ct_fix Enable ath10k-ct drivers fix optional boolean false
non_mesh_pkgs List of non-mesh wpad packages installed by default required list ["wpad-mini", "wpad-basic", "wpad-basic-wolfssl", "wpad-basic-openssl", "wpad-basic-mbedtls"]
mesh_pkgs List of mesh wpad packages to be installed required list ["wpad-mesh-wolfssl", "mesh11sd"]
mesh11sd_interfaces List of wireless interfaces to be configured as mesh nodes list of dictionaries
id Unique interface ID mandatory string mesh
name Unique interface name mandatory string mesh
state Interface status (present or absent) required string present
device Radio device associated with the interface mandatory string radio0
network List of networks associated with the interface mandatory list ["lan"]
mode Wireless interface operation mode required string mesh
disabled Disable wireless network optional boolean 0
mesh_id ID of the mesh network (as defined in IEEE 802.11s) to join wireless interface to required string example_mesh_id
encryption Wireless encryption method required string sae
key Passphrase for pre-shared key required string password
mesh_settings List of mesh parameters and options list of dictionaries
mesh_fwding Forward packets to peer mesh nodes required boolean 1
mesh_rssi_threshold Minimum received signal strength from a peer meshnode for a connection to be established optional integer -80
mesh_gate_announcements Enable gate announcements optional boolean 1
mesh_hwmp_rootmode Mesh convergence level (0, 1, 2, 3 or 4) required integer 2
mesh_max_peer_links Maximum number of peer nodes that can connect optional integer 150

Dependencies

Name Description
Ansible Role: openwrt Ansible role by gekmihesg for managing OpenWRT and derivatives

Example Playbook

- hosts: openwrt
  roles:
      - role: flyoverhead.openwrt.mesh

Example Vars

mesh_enabled: true
ath10k_ct_fix: true
mesh11sd_interfaces:
  - id: "mesh0"
    name: "mesh0"
    state: "present"
    device: "radio0"
    network: ["lan"]
    mode: "mesh"
    mesh_id: "openwrt_mesh"
    encryption: "sae"
    key: "passphrase"
mesh11sd_settings:
  mesh_fwding: "1"
  mesh_rssi_threshold: "-80"
  mesh_gate_announcements: "1"
  mesh_hwmp_rootmode: "3"
  mesh_max_peer_links: "150"

License

GNU General Public License v3.0

Author Information

fly0v3rH34D

References