Building a Reliable Openwrt Mesh Network

Author

Reads 352

Smart home wireless network router device
Credit: pexels.com, Smart home wireless network router device

Building a reliable OpenWRT mesh network requires careful planning and attention to detail.

First, it's essential to choose the right hardware, such as the TP-Link C7 or the GL.iNet GL-MT300N, which are popular choices for OpenWRT mesh networking.

A mesh network consists of multiple access points that work together to provide a strong and reliable wireless connection.

Each access point should be set up with a unique SSID and password, and should be configured to use a bridge mode to connect to the other access points.

The OpenWRT firmware should be flashed onto each access point to enable mesh networking capabilities.

Consider reading: Wireless Access Point

The Problem

I was having issues with my WiFi connection dropping calls when I was moving around the house.

The problem was that my WiFi connection was switching to another router, causing the call to drop.

I found that some calls can take several minutes to complete, making it inconvenient to have to stand still.

The lack of stability in my WiFi connection was frustrating, especially when I had to use the bathroom.

For your interest: Wifi 6 Release Date

Preparing the Network

Credit: youtube.com, DIY WI-FI MESH with OpenWrt

To prepare your network for OpenWRT mesh, you'll need to check if your equipment supports mesh functionality. Before making any changes, connect a network cable between your computer and your WiFi router, as the WiFi network may become unavailable during the setup process.

First, you need to check which type of router modules you have. If you have Candela Tech (CT) modules, you'll need to replace them with non-CT ones to enable mesh support. This is because CT modules don't support mesh functionality.

To do this, you'll need to check the availability of the wpad-mesh package, which is required for mesh support. You can do this by running the command `opkg list-installed|grep -i wpad`. If the wpad-basic package is installed, you'll need to replace it with wpad-mesh.

Here's a summary of the packages you'll need to install:

Once you've installed the required packages, you can proceed with setting up your mesh network.

Configuring Routers

Credit: youtube.com, OpenWRT : DIY MESH WiFi from old Routers

To configure routers for an OpenWRT mesh network, start by setting the local interface IP address on each router to a unique address. You can do this by clicking the Edit button on the lan interface in the "Network" → "Interfaces" section.

You'll also need to install the new wpad-mesh-openssl package on each router, and remove the wpad-basic package. Make sure to use the same Mesh ID, password, and channel on all routers.

Here are the key settings to configure on each router:

After configuring these settings, save and apply the changes on each router. This will allow them to communicate with each other and form a mesh network.

First Router

To set up your first router, you'll need to identify the physical devices and their frequencies. In most home equipment, 2.4GHz radios operate between 2412 and 2484 MHz, and channels range from 1 to 14, while 5GHz radios use frequencies from 5180 to 5865 MHz, with channels from 36 to 173.

Credit: youtube.com, How to Set Up a Router | Internet Setup

For the TP-Link Archer C7, phy0 is related to the 5GHz radio device. You can check yours using the following commands:

  1. opkg list-installed | grep ath10k | egrep “firmware|kmod”
  2. opkg install ath10k-firmware-qca988x kmod-ath10k
  3. reboot your router
  4. opkg list | grep wpad-mesh
  5. opkg install wpad-mesh-wolfssl
  6. opkg install batctl-full

These commands will help you identify and configure the necessary packages for your mesh network.

Configuring Additional Router

Configuring an additional router is a crucial step in setting up a mesh network. You'll need to change the local interface IP address on the second router to a different subnet, such as 192.168.10.1, by editing the lan interface in LuCI.

To do this, navigate to Network > Interfaces, click the Edit button on the lan interface, and update the IP address. This will ensure that the second router is not conflicting with the first router's IP address.

You'll also need to remove the wpad-basic package and install the wpad-mesh-openssl package on the second router. This will enable mesh networking capabilities.

Make sure to use the same Mesh ID, password, and channel as the first router on the second router. This will ensure that the two routers can communicate with each other and form a mesh network.

Credit: youtube.com, HOME NETWORKING 101- HOW TO CONNECT 2 ROUTERS IN ONE HOME NETWORK

Here's a summary of the steps:

  • Change the local interface IP address on the second router to 192.168.10.1
  • Remove the wpad-basic package
  • Install the wpad-mesh-openssl package
  • Use the same Mesh ID, password, and channel as the first router

By following these steps, you'll be able to configure the second router and add it to your mesh network.

Set up Wi-Fi

To configure a mesh aware wireless network, start by setting up the WiFi network through Luci, OpenWRT's web interface.

The WiFi network configuration must be identical on all routers, so that you have a single mesh aware wireless network. From Luci, navigate to Network > Wireless.

Edit your configured Mesh Point, and add the “lan” port to it. This is a crucial step, as it allows the mesh network to function correctly.

The wireless network must be attached to “lan” interface, which is also bridged with the “bat0” interface through “br-lan”. Be sure to select the 5GHz device, as this is the frequency used for the mesh network.

The ESSID and Wireless Security Options must be identical on all routers. Use WPA2-PSK for encryption, and it's also okay to use TKIP/CCMP.

Here's a quick rundown of the necessary settings:

Now that you've configured the mesh network, go ahead and check it out! You should now have a single mesh aware wireless network that you can move freely between the APs without any connection drops.

Optimizing Performance

Credit: youtube.com, 5 Things I Do to Improve my MESH NETWORK

OpenWRT mesh networks can be optimized for better performance by adjusting the wireless channel settings. This can be done by manually setting the channel to a less crowded frequency band.

A good starting point for optimization is to check the wireless channel settings on each node. This can be done by logging into the OpenWRT web interface and navigating to the wireless settings.

Using a channel width of 20 MHz can improve performance in areas with high interference. This is because a narrower channel width reduces the amount of bandwidth required, making it easier for devices to communicate.

Regularly updating the OpenWRT firmware is also essential for maintaining optimal performance. This ensures that any bugs or performance issues are addressed, and new features are enabled.

Mesh network performance can be improved by adjusting the Quality of Service (QoS) settings. This allows you to prioritize traffic and ensure that critical applications receive sufficient bandwidth.

OpenWRT mesh networks can also be optimized by adjusting the transmit power on each node. This can help improve coverage and reduce interference.

Adding Devices

Credit: youtube.com, DIY MESH WiFi with batman-adv and OpenWrt

To add devices to your OpenWrt mesh network, you'll first need to configure the mesh device. This involves editing the network file to allow the wmesh5g wifi interface to use the batman-adv mesh protocol.

You'll need to add a new interface, 'bat0', to the network file, specifying the protocol as 'batadv' and the routing algorithm as 'BATMAN_V'. This will enable mesh networking on your device.

The maximum transmission unit (MTU) size for your mesh network should be between 1500 and 2304, but it's recommended to set a minimum of 1528 to accommodate the batman-adv header.

To reinitialize WiFi, simply reboot your device. This will ensure that your mesh network is properly configured.

To add devices to your mesh network, you'll need to create a new wireless network or edit an existing one to include the mesh interface. This will allow client devices to connect to the mesh network.

Here's a quick rundown of the steps to create a new wireless network:

  • Create a new wireless network
  • Edit an existing wireless network to include the mesh interface

By following these steps, you'll be able to add devices to your OpenWrt mesh network and start enjoying the benefits of mesh networking.

Network Verification

Credit: youtube.com, OpenWRT - 802.11s Mesh WiFi Network

Network Verification is a crucial step in setting up your OpenWrt mesh network. You need to verify the connection on each router to ensure everything is working as expected.

To do this, go to "System" and then "Information" on each router. This will bring up the network section, where you should see the connection of mesh interfaces.

Verify that the mesh interfaces are connected correctly, and make any necessary adjustments to get everything online.

Here's a quick checklist to help you verify the connection on each router:

  • Go to "System" and then "Information" on each router.
  • Check the "Network" section for the connection of mesh interfaces.

OpenWRT Features

The OpenWRT platform is built on over 20 years of experience, offering unparalleled flexibility and customizability.

You can easily configure FreeMesh to act as a VPN router, securing your entire network without installing a VPN on each device. The setup process is straightforward, with tutorials available for users of all skill levels.

The possibilities with OpenWRT are endless, and the control is entirely yours, thanks to its open-source nature.

Open Source Benefit

Credit: youtube.com, Here's how to make your router BETTER! (OpenWRT)

FreeMesh's open-source nature is a game-changer. It's built on OpenWRT, a platform that's been around for over 20 years, giving you unparalleled flexibility to customize your network.

With OpenWRT, you can tweak settings and add new features with ease. For example, you can configure FreeMesh to act as a VPN router, securing your entire network without installing a VPN on each device.

The setup process is straightforward, with tutorials available for users of all skill levels. You don't need to be a software engineer to take full advantage of FreeMesh's capabilities.

You can also host applications, run a web service, or even set up your router as the command center of your digital life. The possibilities are endless, and the control is entirely yours.

Since it's open source, you can download the repo for free, build the system yourself, and even add your own tweaks. This level of customization is what sets FreeMesh apart from traditional consumer routers.

See what others are reading: Openwrt Travel Router

Next-Level Hardware

Credit: youtube.com, OpenWrt Review | New Features, Devices, and Real Power in 2025

FreeMesh's next-level hardware is powered by the MediaTek MT7981B ARMCortex-A53 dual-core CPU, which runs at an impressive 1.3GHz.

This CPU is capable of handling demanding tasks, making it ideal for users who want to run more than just a basic router.

The system's 256MB of DDR3 RAM and 128MB of fast NAND flash memory provide a solid foundation for running embedded applications, hosting a small web server, or experimenting with embedded systems.

As someone who's worked with routers and network systems for over 15 years, I can confidently say that FreeMesh's performance is on par with some of the servers I used in the early days of my career.

The system's hardware is blazing fast, capable of handling more demanding tasks than many other routers on the market.

Check this out: Openwrt Hardware

Privacy and Security

In an age where data privacy is more important than ever, it's reassuring to know that your data remains safe with an OpenWRT mesh system. The system features WPA3 encryption, which ensures that your data remains safe from unauthorized access.

Credit: youtube.com, CHEAP WI-FI MESH ALTERNATIVE with fast roaming OpenWrt Wi-Fi Access points

This level of security is crucial when using a mesh network, as multiple nodes are connected to your main router, and each connection needs to be secure. WPA3 encryption provides an extra layer of protection.

You control your data with an OpenWRT mesh system, and the system doesn’t track your activity or sell it to third parties. This transparency is a big plus in today's digital landscape.

With the ability to set up a VPN on your router, you can ensure your network is even more secure. This adds an extra layer of protection for your online activities.

For another approach, see: Eero Pro 6e Mesh Wifi Router

Cost vs. Value

FreeMesh offers exceptional value compared to other mesh systems.

It provides all the performance and features of more expensive systems without the added costs.

There are no hidden fees with FreeMesh, it's a one-time purchase that gives you access to a customizable, high-performance mesh system.

You can upgrade the firmware or add new features for free by downloading the latest OpenWRT build.

This means you can have a budget-friendly mesh network that doesn't sacrifice quality or functionality.

Easy Setup

Credit: youtube.com, How to WiFi Mesh on OpenWRT (Multy M1)

Setting up an OpenWRT mesh network is easier than you think. With the LuCI Wireless interface, you can manage your network effortlessly, even if you're not tech-savvy.

The LuCI interface makes configuration a breeze, thanks to its simple and intuitive design. You can adjust settings and add new features with ease, and it's easy to navigate.

To configure your mesh, start by adding a new network on your preferred radio interface, using the LuCI web interface on both routers. Select 802.11s mode, enter the desired Mesh ID, and select your network. Make sure both access points have identical configurations, including operating frequency, Mesh ID, and encryption settings.

Readers also liked: Openwrt Interface

Future-ready

Setting up a Wi-Fi system can be a daunting task, but with a future-ready system like FreeMesh, you can rest assured that your system will evolve with the latest technologies. With Wi-Fi 6, you'll be ahead of the curve.

The modular design of FreeMesh means you can customize or upgrade your system as needed, giving you the flexibility to adapt to changing technology standards. This makes it easy to stay up-to-date without having to replace your entire system.

Easy Setup & Interface

Credit: youtube.com, The EASIEST ALL STAR Node Interface - With Integrated Radio & Sound Card

Setting up a router should be a breeze, and FreeMesh gets it right. The LuCI Wireless interface makes configuration a simple process, even for users who aren't tech-savvy.

The LuCI Wireless interface has a simple and intuitive design that allows you to manage your network effortlessly. Whether you're adjusting settings or adding new features, the interface is easy to navigate.

OpenWRT's interface may seem intimidating at first, but FreeMesh has simplified it. The updated LuCI interface lets you manage your entire network, from monitoring node connectivity to adding custom features.

Even if you're a beginner, you'll find it easy to set up and maintain your network. The LuCI interface is designed to be user-friendly, making it accessible to anyone.

802.11s Networks

The 802.11s standard defines how wireless devices can interconnect to create a mesh network, enabling them to connect directly to each other without requiring complex network infrastructure.

This standard was initially proposed in 2004 and went through several drafts before being officially ratified in 2011. It was developed to address the growing need for more flexible wireless network topologies beyond the traditional infrastructure mode.

Credit: youtube.com, DIY MESH WiFi with batman-adv and OpenWrt

The 802.11s standard builds on the existing 802.11 framework (Wi-Fi) while adding mesh networking capabilities at the MAC layer, ensuring backward compatibility with existing Wi-Fi devices while enabling new mesh functionalities.

Key features of 802.11s include self-forming and self-healing capabilities, distributed path selection, enhanced scalability, improved coverage, and better reliability.

Here are the technical characteristics of 802.11s:

  • Operating Level: Data Link Layer (Layer 2)
  • Operating Principle: Ensures interaction of all nodes as if they were connected to a single switch
  • Compatibility: Supports any network layer (Layer 3) infrastructure

Nodes in an 802.11s network are technical devices (routers, access points), and limitations include end user devices (phones, laptops) not connecting directly. Connection is made through a special mesh gateway.

Suggestion: Eero Wifi 6e

802.11s Device Purchase

If you're planning to build an 802.11s network, you'll need a suitable device to act as a mesh node.

To set up secondary mesh devices, which will just act as access points, you'll need a device with at least 4 MB of flash and 32 MB of RAM.

However, this will require some extra work, as you'll need to build a custom OpenWrt package for your device or configure it over SSH.

A device with 8 MB of flash and 64 MB of RAM is the minimum requirement for a primary mesh device, and it's much easier to work with.

This is also the recommended configuration for a seamless mesh network experience.

You might enjoy: Do I Need Wifi 7

802.11s Wireless Networks

Credit: youtube.com, Introduction to Wireless Mesh Networks in Internet of Things

The 802.11s standard defines how wireless devices can interconnect to create a mesh network. This open standard enables wireless devices to connect directly to each other without requiring complex network infrastructure like traditional access points or routers.

The 802.11s standard was initially proposed in 2004 and went through several drafts before being officially ratified in 2011. It was developed to address the growing need for more flexible wireless network topologies beyond the traditional infrastructure mode.

Key features of 802.11s include self-forming and self-healing capabilities, distributed path selection, enhanced scalability, improved coverage, and better reliability. These features make 802.11s suitable for applications in smart home systems, industrial IoT deployments, community networks, and emergency communications.

To use 802.11s mesh, you'll need OpenWrt 19.07+ with the wpad-mesh-openssl or wpad-mesh-wolfssl package installed. You can also use LUCI to set up the mesh network.

Here are the key steps to set up the mesh network:

  • Configure the LAN interface
  • Disable unnecessary services
  • Configure the mesh wireless network
  • Configure the wireless network for clients

The mesh network configuration must be identical on all your routers. Only the “radioX” part can be varied in order to accommodate the interfaces according to the operating frequency.

You can add mesh support to a device already running OpenWrt by setting up internet access on the device and installing the mesh packages.

Frequently Asked Questions

Does OpenWRT support EasyMesh?

Yes, OpenWRT supports EasyMesh, allowing for seamless mesh network setup and management. Our customised OpenWRT firmware also supports Wi-Fi 6 and Wi-Fi 6E for a robust and future-proof network.

Cory Hayashi

Writer

Cory Hayashi is a writer with a passion for technology and innovation. He started his career as a software developer and quickly became interested in the intersection of tech and society. His writing explores how emerging technologies impact our lives, from the way we work to the way we communicate.

Love What You Read? Stay Updated!

Join our community for insights, tips, and more.