Using the Ubiquiti AirGrid M2 as a Wi-Fi Access Point

Company equipment Ubiquiti Networks has long established itself as a benchmark for reliability in the wireless networking segment, but its configuration often raises questions among beginners. In particular, the model AirGrid M2 It's a highly directional device designed by default to function as a client receiver or point-to-point bridge. Many users wonder whether this antenna can be used to distribute Wi-Fi signals indoors or outdoors, turning it into a fully-fledged access point.

Technically this is possible, but requires an understanding of how the protocol works. airMAX and the standard stack 802.11nUnlike consumer routers, the AirGrid M2 doesn't have a built-in Wi-Fi module for distributing a signal to phones out of the box in standard mode, as its radio interface is designed for a proprietary protocol for communicating with other Ubiquiti devices. However, by changing the radio mode, you can force the device to broadcast a standard Wi-Fi signal accessible to any gadget.

It is important to note right away that the antenna's radiation pattern is only 20 degrees, making it completely unsuitable for covering wide areas or complex-shaped rooms. This solution is ideal for creating a directional communication channel to a remote site that also requires Wi-Fi distribution, or for establishing a connection between two remote buildings with subsequent internet distribution. In this article, we'll cover all the nuances of setting up the AirGrid M2 in access point mode, including hidden parameters and security features.

⚠️ Attention: Make sure you're using the PoE injector included with the device or a compatible 24V power supply. Using standard 48V PoE switches without a voltage separator can damage the equipment, as the AirGrid M2 doesn't support 802.3af/at auto-negotiation without an additional adapter.

Hardware features and preparation for setup

Before we get into the software, we need to understand the physical side of things. The AirGrid M2 is an outdoor device, and its integrated antenna It has a high gain, which means it can operate over long distances. For initial setup, you'll need a computer with a network card, a patch cord, and a PoE injector. Connection is made through the port marked PoE on the injector, while the port Main connects to your computer or switch.

The device runs on an operating system airOS, which provides extensive control over the radio component. Unlike simple home routers, there is no automatic one-click setup wizard for access point mode, as this is not the primary use case for this series. You will have to manually switch the radio mode from Station or Bridge on Access Point, which will open access to the necessary broadcasting parameters.

It's important to consider the temperature and operating conditions. Although the case is moisture-resistant, when operating indoors in access point mode (if you're using it as a high-power directional AP), ventilation is necessary, as output power The transmitter's output can reach 22 dBm, which causes the components to heat up. For outdoor installations, ensure proper grounding of the lightning protection system to prevent damage to the electronics during a thunderstorm.

Initial login to the web interface and firmware update

To get started, you need to statically assign an IP address to your computer's network adapter. By default, the AirGrid M2 has the address 192.168.1.20, so your PC needs to be given an address from the same subnet, for example, 192.168.1.10 with a mask 255.255.255.0After connecting the cable and applying power, the device will boot up in 40-60 seconds, which is the standard time for system initialization. airOS.

Open any modern browser and enter the device's IP address in the address bar. The default login credentials are ubnt and password ubntIf you see the interface, but it looks outdated or contains errors, the first step is to update the software. The latest firmware version ensures protocol stability. TDMA and fixes known security vulnerabilities.

The firmware files can be found on the manufacturer's official website in the support section. The update process takes approximately 2-3 minutes, during which the device will reboot. Interrupting this process is strictly prohibited, as it may damage the bootloader and require the use of the recovery console.

☑️ Check before setup

Completed: 0 / 4

Setting up Access Point mode

The key to turning the AirGrid M2 into a Wi-Fi router is changing the wireless module's operating mode. Go to the tab Wireless in the top menu. In the field Wireless Mode the default value can be selected Station or BridgeYou need to select the mode Access PointThis parameter switches the device's operating logic from signal reception to signal transmission.

After selecting the mode, additional settings specific to the access point will open. In the field SSID Enter the name of your future network that users will see. Pay special attention to the parameter Channel Width (channel width). For the 2.4 GHz band, which the AirGrid M2 operates in, the most stable values ​​are 20 MHz or 40 MHz. In noisy environments (with many neighboring networks), 20 MHz is better for maximum compatibility and range.

It is also important to set the output power (Output Power). Don't immediately set the maximum power level to 100% or 22-24 dBm. High power can cause intermodulation distortion and overheating. The optimal solution is to experimentally adjust the power level, starting with mid-range values ​​(around 10-14 dBm), and increasing it only if necessary.

Below is a table with recommended parameters for different usage scenarios:

Parameter For open areas For noisy environments (city) For indoor use
Wireless Mode Access Point Access Point Access Point
Channel Width 40 MHz 20 MHz 20 MHz
Output Power 20-22 dBm 10-14 dBm 6-10 dBm
Security WPA2-AES WPA2-AES WPA2-AES
📊 What is your main purpose for using the AirGrid M2?
Wi-Fi distribution in a warehouse
Connection between houses
Organization of video surveillance
Experimentation and learning

Configuring Security and LAN Networking

Wireless network security is a critical issue, especially when using high-power directional equipment. Wireless Be sure to change the parameter Security With None on WPA2-AESThis will ensure traffic encryption and protect your network from unauthorized access. The passphrase must be complex and contain at least 12 characters, including uppercase and lowercase letters and numbers.

Going to the tab Network, you can configure IP addressing. By default, the AirGrid M2 operates as a bridge, meaning it doesn't assign IP addresses to clients but forwards requests to an external DHCP server. If you want the antenna to assign addresses to connected devices, you need to enable this mode. NATTo do this, in the Network section, select the mode NAT and specify the IP address for the device itself (for example, 192.168.10.1) and the address range for clients in the DHCP Server settings.

Don't forget to change the password for accessing the device's web interface (section System). Standard password ubnt is known to everyone, and changing it is a mandatory security measure against configuration hacking. It is also recommended to disable the service Ping in response to requests from the WAN if the device is connected to the Internet, to hide its presence on the network.

⚠️ Attention: When NAT mode is enabled, the device takes over the router's functions. If the AirGrid M2 is connected to another router, ensure their IP addresses are in different subnets (e.g., the main router is 192.168.0.1, and the AirGrid is 192.168.10.1). Otherwise, an address conflict will occur and the internet will not work.

Features of the airMAX protocol and compatibility

One of the main features of Ubiquiti equipment is the use of a proprietary protocol airMAX, based on technology TDMA (Time Division Multiple Access). This protocol is designed to efficiently utilize the radio channel in multiple access environments and ensure high throughput over long distances. However, when we convert the AirGrid M2 to regular access point mode, we must consider how this protocol interacts with regular Wi-Fi clients.

In mode Access Point With airMAX enabled, the device can operate in two modes: with the airMAX protocol enabled and without it. If you plan to connect only other Ubiquiti devices to the antenna, leave airMAX enabled. However, if regular smartphones, laptops, and tablets will be connected to the network, the airMAX protocol should be enabled. disabled (or the device must operate in compatibility mode), since standard Wi-Fi adapters do not understand TDMA signals and will not be able to log in to the network.

When airMAX is disabled, the device operates as a standard 802.11n access point. This reduces overall system performance in multipoint scenarios, but ensures universal compatibility. In this mode, features such as TDMA scheduling, which can lead to increased latency (ping) when a large number of simultaneously connected users are present.

Impact of airMAX on speed

With the airMAX protocol enabled and regular clients connecting via compatibility mode, actual speed may drop by 20-30% due to packet transcoding overhead. For maximum speed with regular devices, it's better to use Pure 802.11n mode without airMAX.

Troubleshooting and diagnostics for common problems

During setup, users may encounter a number of common issues. One of the most common is the inability of clients to connect to the network. This is often due to incorrect channel width or incompatible security standards. If devices see the network but fail to connect, try changing the channel width to 20 MHz and checking the encryption type (AES only, no TKIP).

Another common issue is slow speeds or frequent connection drops. In the 2.4 GHz band, this is often caused by congestion from neighboring networks. Use the built-in tool AirView (available in the airOS tools menu) to analyze the frequency spectrum and select the least crowded channel. It's also worth checking the signal strength (Signal) and signal-to-noise ratio (CCQ). A CCQ value below 80% indicates poor reception conditions or strong interference.

If the device stops responding or the web interface fails to load, there may be a software issue. A power cycle (power off, wait 10 seconds, then power on) may help. If the problem persists, you may need to restore the firmware via TFTP or use a console cable for debugging, which requires some skill.

⚠️ Attention: Interfaces and menu item names may vary slightly depending on the airOS firmware version installed. Always consult the official User Guide for your specific firmware version if you can't find the option you need.

Frequently Asked Questions (FAQ)

Can AirGrid M2 be used to distribute Wi-Fi inside an apartment?

Technically, this is possible, but highly discouraged. The narrow beam pattern (20 degrees) will create a coverage spot in only one area, leaving no signal in other rooms. Furthermore, the transmitter power is excessive for an apartment and may interfere with neighbors. For indoor use, the UniFi or NanoStation series models in Omni mode are better suited.

What is the maximum speed I can get in hotspot mode?

Actual speed depends on many factors: airborne noise, distance, client device quality, and channel width settings. Under ideal conditions, 40-60 Mbps of real traffic (TCP throughput) can be expected on a 40 MHz channel. The airMAX protocol can slightly improve efficiency, but only when using compatible equipment.

Does AirGrid M2 support Guest Network?

In the standard airOS firmware, guest networking functionality (isolated hotspots with authentication) is weakly implemented or absent compared to UniFi controllers. To set up full guest access with an authentication portal, an external server (such as a HotSpot system) or UniFi series equipment is required.

Is it necessary to ground the antenna when installing it on a balcony?

Yes, grounding is highly recommended, even when installed on a balcony. The metal structure of buildings and the high sensitivity of the receiving circuit make the device vulnerable to static electricity and induced currents during thunderstorms. Use lightning protection and ground the device's housing.