Wi-Fi mesh builder

Build a LibreMesh node

Get a LibreMesh image from the firmware selector, flash it, understand first boot and lime-community, and fix the unsafe defaults before you use it.

Difficulty
Advanced
Time
A few hours for two nodes (our estimate, not from a source)
Cost
Two OpenWrt-supported routers you may already own

Updated 4 Nov 2026

Overview

LibreMesh is not a separate operating system. It is a collection of packages that configure OpenWrt as a mesh node. The aim is that nodes configure themselves on first boot and then find each other; see the explainer for what it is, who backs it and how it compares with Gluon in LibreMesh vs Gluon.

This guide covers the route as the project documents it today: get an image, flash it, understand what first boot does, and mesh a second node. It also covers the limits, because several defaults are wrong for UK outdoor use. If you want a node you configure line by line yourself, use Build a batman-adv node on OpenWrt instead.

Which version you will actually get

This is the point most likely to confuse a first-time builder.

  • The newest tagged release is LibreMesh 2024.1 (tag and commit 2025-01-22, announced 2025-05-04). The announcement says it brings "the updated support for OpenWrt 23.05!".
  • The firmware selector does not build that tag. Its config.js reads branches: ["master", "dev"] and it uses asu_url: "https://sysupgrade.libremesh.org". The ImageBuilder page lists feed lines under openwrt-25.12, and the connecting page's example banner reads "OpenWrt 25.12.0" and "LiMe master development (master rev. 7929208 20260304_1752)".
  • libremesh.org's ImageBuilder page names OpenWrt 25.12.6 as stable and 24.10.8 as oldstable.

So an image from the selector is a development-branch build on OpenWrt 25.12, not "LibreMesh 2024.1". Which OpenWrt versions the selector offers when you open it is not something we could read, because the list is loaded by JavaScript. Whether a master-branch build is tested on your router: we do not know. The lime-packages README is partly stale (it still calls 2020.1 the stable release), so use the libremesh.org pages.

Choose hardware

The getting-started page says: "It is recommended that the router has at least: 16 MB of flash memory and 128 MB of RAM." It also asks for "1 radio working at 2.4GHz radio and 1 at 5GHz", and adds "It is possible to install LibreMesh on routers with 8 MB of flash and 64 MB of RAM". Check your model against OpenWrt's Table of Hardware.

We found no LibreMesh-specific device list, so we cannot say a router "works with LibreMesh" because it works with OpenWrt. Check your model's OpenWrt page and ask the community you are joining.

Get an image

The getting-started page offers three routes: the Firmware Selector, a page of older pre-compiled releases, and building on your own host. The build page labels the Firmware Selector, ImageBuilder and Buildroot as "Recommended methods". The archive of older releases did not respond when we tried it, so we do not point to it.

For a first node, use the Firmware Selector. The getting-started page describes it this way: "The Firmware Selector request a firmware build via an ASU (online ImageBuilder) instance."

For a community or a repeatable setup, the project recommends shipping a lime-community file inside the image. The network profiles page says: "Network profiles are the most convenient way for a community to organize its configuration files." A local build is described on the ImageBuilder and Buildroot pages; we do not copy build commands, because they are tied to specific releases.

What the default image contains

The default flavor's package list (flavors reference) includes: babeld-auto-gw-mode, batctl-default, check-date-http, lime-app, lime-debug, lime-docs-minimal, lime-hwd-ground-routing, lime-hwd-openwrt-wan, lime-proto-anygw, lime-proto-babeld, lime-proto-batadv, shared-state, shared-state-async, shared-state-babeld_hosts, shared-state-bat_hosts and shared-state-nodes_and_links. So a default-flavor image has both batman-adv and Babel protocol packages, and no BMX7 package. The same page says "Radios 2ghz and 5ghz: Configure default modes ieee80211s, ap, apname".

Flash it

The project's route, from the getting-started page:

  1. If the router still runs vendor firmware, install OpenWrt first. The page says "Install the firmware on your device following the installation method reported in the wiki of OpenWrt", and warns "Beware that OpenWrt by default doesn't turn on the Wi-Fi."
  2. Then upgrade to LibreMesh with a squashfs-sysupgrade.bin image: "Upload the firmware via the web interface LuCI from the menu System / Backup / Flash Firmware." or "install via ssh using the command sysupgrade -n firmware.bin."

The page gives no explanation of the -n flag. Read OpenWrt's sysupgrade documentation for what it does before you run it.

First boot

On first boot, a script in lime-packages (91_lime-config) runs lime-config. Its content, read from the repository's master branch on 4 November 2026:

mkdir -p /tmp/log/
echo "Configuring LiMe for first boot..." | tee /tmp/log/lime-config.log
lua /usr/bin/lime-config --no-commit | tee -a /tmp/log/lime-config.log
echo "###### uci changes generated by lime-config run: ######" >>/tmp/log/lime-config.log
uci changes >>/tmp/log/lime-config.log
uci commit

The lime-config reference says "The command lime-config configures LibreMesh on top of OpenWrt." The result of that run is kept in /tmp/log/lime-config.log, which is a temporary location.

Configuration is layered. The reference says "These files are merged from the low level lime-defaults to top level lime-node to produce the complete configuration in lime-autogen." In order, from the configuration reference: lime-defaults, lime-community, lime-<MAC>, lime-node, lime-autogen. The shared community file is /etc/config/lime-community; the network profiles page says "it will need to appear in the firmware image in the /etc/config/lime-community". To apply edits to a running node: "On most cases one can skip the reboot running the command lime-apply which calls the OpenWrt reload_config." The page also says "Be sure to do not loose the connection to your device after the configuration." (sic).

Reaching the node

The getting-started page says "The router could be reached via web at http://thisnode.info." The connecting page also lists http://10.13.0.1 (the default anycast gateway IPv4 address), http://[fd0d:fe46:8ce8::1] (default IPv6) and ssh [email protected].

Fix the defaults before you rely on it

Things to change, with the evidence:

  • Root password. Set one with passwd, as the banner says, or set the policy in your community file.
  • Encryption. The libremesh.org profile list includes a profile named profile-libremesh-encrypt-11s, so encrypted mesh is a profile choice, not the default. We read only its name, not its contents.
  • Radio plan. The defaults give 2.4 GHz channel '11' with htmode 'HT20', and the 5 GHz band two channels, list channel '48' and list channel '157', with htmode 'HT40'. See the UK block below.
  • Country. The defaults file has no country option. Whether lime-config or the build sets one: we could not confirm. Set the UK as your Wi-Fi country yourself.

To change a default, the documented mechanism is the community file, because it overrides lime-defaults. We did not find a worked lime-community example in the pages we read, and we did not test overriding these options, so we do not print one. Use the same option names that appear in lime-defaults, test on a spare node, and read the configuration reference.

Mesh a second node

Flash the same image on a second router. In the default flavor both nodes are set up to use the ieee80211s mode, with the same default mesh ID LiMe and the same default channels, so on the defaults they should find each other with no extra setting. That is our reading of the defaults file, not a procedure from a page we read; we found no step-by-step "add a second node" page.

To check, you can use the tools from the batman-adv node guide: iw dev and iw dev <mesh interface> station dump at the wireless level, and batctl at the batman-adv level. The interface names LibreMesh creates were not confirmed, so read them from iw dev and batctl output instead of copying names from another guide. The default flavor also includes the lime-app package; we did not read its documentation.

UK limits

Limits of LibreMesh itself

  • No LibreMesh-specific hardware list exists in the docs we read, and master-branch builds may not be tested on your model.
  • Tagged releases are infrequent: 2024.1 in 2025, with the repository's master branch active (lime-defaults last changed 2026-06-17).
  • LibreMesh uses licence-free 2.4 and 5 GHz Wi-Fi bands, not 868 MHz LoRa, so this site's LoRa rules do not apply to it; the Wi-Fi rules above do.
  • We found no UK LibreMesh deployment we could verify. To join an existing network instead, see Join a community Wi-Fi mesh.

What we could not confirm

  • Which OpenWrt versions the firmware selector offers at runtime (the list is loaded by JavaScript).
  • Whether master or dev builds from the selector are tested on a given router.
  • Whether a default-flavor image encrypts its mesh radio by any other package or profile; the defaults show no encryption option.
  • Whether lime-config sets a Wi-Fi country by default.
  • The contents of the profile-libremesh-encrypt-11s and profile-freifunk-80211s-sae-batadv-only profiles; we saw only their names on libremesh.org.
  • A documented procedure for adding a second node, and the interface names LibreMesh creates.
  • What sysupgrade -n does in the project's instructions; the page does not say.
  • A LibreMesh device list for any release, and the OpenWrt base of the 2024.1 images beyond the announcement's "updated support for OpenWrt 23.05!".

Sources

  1. LibreMesh: getting started
  2. LibreMesh: build
  3. LibreMesh: build with ImageBuilder
  4. LibreMesh: flavors reference
  5. LibreMesh: lime-config reference
  6. LibreMesh: configuration reference
  7. LibreMesh: connecting to a node
  8. LibreMesh: network profiles
  9. LibreMesh firmware selector
  10. LibreMesh firmware selector config.js (branches master, dev)
  11. LibreMesh news: LibreMesh 2024.1 release (2025-05-04)
  12. lime-packages: lime-defaults (last changed 2026-06-17)
  13. lime-packages: 91_lime-config first-boot script
  14. libremesh/lime-packages repository
  15. OpenWrt Table of Hardware
  16. Ofcom IR 2030 v1.17 (published 23 October 2026)