How to set up the Nanostation M2 as a WiFi hotspot

Transforming specialized equipment for providers into a fully-fledged wireless signal source for a home or office is a task that often faces enthusiasts and system administrators. The device Nanostation M2 from the company Ubiquiti Originally designed for long-distance point-to-point and point-to-multipoint bridges, its hardware also allows it to operate effectively as a standalone access point. This solution is ideal for providing coverage in open spaces, garages, summer cottages, or industrial areas where standard consumer routers are unable to cope due to their design or range requirements.

The main advantage of using this model in the mode Access Point The device's unique feature is the presence of an external high-gain directional antenna. Unlike omnidirectional home routers, it delivers a powerful yet highly focused signal beam that penetrates obstacles and covers large areas within a specific sector. However, to configure the device to act as a source rather than a receiver of the ISP's signal, the software must be properly reconfigured. AirOSThis process is not complicated, but it does require attention to detail, as the interface is designed for radio communications, not home use.

Before you begin setting up, it's important to understand that you'll be working with a professional tool, where every parameter affects the stability of the radio channel. Incorrectly setting the channel width or transmitter power can negate all the benefits of the equipment. In this article, we'll cover every step in detail: from physical connection and resetting the settings to fine-tuning the wireless network and ensuring security. You'll learn how to avoid common mistakes and get the most out of your device. Nanostation.

Equipment preparation and physical connection

The first step in the setup process is to connect the devices correctly. To work Nanostation M2 Power over Ethernet (PoE) is required, supplied via a special injector included in the kit. You'll need the module itself, a PoE injector, a patch cord, and a computer with a network card. It's important to ensure the cables are in good condition, as a poor connection in the RJ-45 connector can result in unstable operation or no power to the device.

Connections must be made in a specific sequence, and failure to do so may result in the device simply not turning on. The main rule: the port labeled PoE on the injector it connects to Nanostation, and the port LAN — with your computer or switch. The initial setup will be performed via the LAN port, as a direct connection to the PC eliminates any initial conflicts with the provider's main network.

After connecting the cables, pay attention to the indicators. The LEDs on the PoE injector should light up, indicating the link and power supply. If the indicators are not lit, check the cable polarity and the integrity of the wires. In some cases, a crimping tool may be required to repair micro-breaks in the twisted pair cable that are not visible to the naked eye.

⚠️ Caution: Do not apply 220V or 12V power directly to the device's Ethernet port, bypassing the PoE injector. This will immediately disable the Nanostation network controller, requiring soldering and component replacement.

Reset settings and enter the AirOS interface

If your device was previously used by a provider or configured differently, we strongly recommend performing a full factory reset. This will clear old passwords, IP addresses, and RF settings that may conflict with your new setup. The reset is performed via hardware: locate the reset button. Reset on the device body (usually it is hidden under a cap or requires a thin object), press it and, while holding it, apply power.

You must hold the button for 10-15 seconds until the indicators begin flashing in a special pattern, signaling the start of the memory clearing process. After releasing the button, the device will reboot, and in a couple of minutes it will be ready to operate with factory settings. By default Nanostation M2 has a static IP address 192.168.1.20, so to access the web interface, you must manually enter a similar address on your computer's network card.

☑️ Check before entering AirOS

Completed: 0 / 4

To set up an IP address in Windows, go to the Network and Sharing Center, select TCP/IPv4 properties and enter the address, for example, 192.168.1.50 with a mask 255.255.255.0After saving the settings, open your browser and enter in the address bar https://192.168.1.20The browser may display a certificate security warning—this is normal for embedded software. You should accept the risk and continue. The default login and password are ubnt And ubnt.

Wireless Mode and Network Configuration

After successful authorization, you will be taken to the main monitoring panel. AirOS. This displays the current channel load, signal strength, and connection status. Our goal is to switch the device from Bridge or Client mode to Access Point mode. Go to the tab Wireless, where the main parameters of the radio module are located. In the field Wireless Mode you must select a value Access Point.

The key parameter here is SSID — the name of your future wireless network that users will see. Create a unique name to avoid confusion with neighboring networks. Next, select the operating mode. Wireless SecurityTo ensure data protection, it is recommended to use WPA2-AES, as the older WEP and WPA-TKIP standards are considered obsolete and easily cracked. Enter a complex password in the passphrase field.

Do I need to change my Country Code?

Changing the Country Code can unlock additional channels or increase transmitter power, but this violates Russian law. It is recommended to leave the default value or select "Compliance Test" only for laboratory conditions, keeping in mind the risks.

Pay special attention to the parameter Channel WidthFor the 2.4 GHz band, in which the M2 operates, the available bandwidths are 5, 10, 20, and 40 MHz. In dense urban environments with a large number of neighboring networks, it's best to choose 20 MHz or even 10 MHz For maximum stability and minimal interference, a 40 MHz bandwidth will theoretically provide speed, but in practice, on a 2.4 GHz network, it often results in constant reconnections and packet loss due to overlap with other access points.

Configuring network settings and DHCP server

To enable the Nanostation M2 to automatically assign IP addresses to connecting clients, you must enable the built-in DHCP server. By default, this feature may be disabled in Access Point mode, meaning devices connected to WiFi will not have access to the network because they will not automatically obtain an address. Go to the "Dynamic Host Configuration Protocol" tab. Network to configure these parameters.

In the section Network Configuration make sure the mode is selected Bridge (so that WiFi clients are on the same network as wired ones, if any) or NAT (if you need to separate networks). For simple internet sharing, select bridge mode. Find the block below DHCP Server and set the switch to the position EnabledHere you can also specify the address range, for example, from 192.168.1.100 to 192.168.1.200, and specify the gateway - usually this is the address of the router itself, which distributes the Internet, or the address of the Nanostation itself, if it is at the head of the network.

Parameter Recommended value Description
Network Mode Bridge Combines WiFi and LAN into one network
DHCP Mode DHCP Server Distributes addresses to clients automatically
DHCP Start 192.168.1.100 Start of address pool
DHCP End 192.168.1.200 End of address pool
Gateway 192.168.1.1 Default gateway address (provider router)

Don't forget to check your DNS settings, too. It's best to manually enter the addresses of public servers, such as Google's (8.8.8.8) or Yandex (77.88.8.8) to avoid domain name resolution issues that sometimes occur when using the provider's default DNS. After making all changes, be sure to click the button Change and then Apply in the upper right corner of the interface, otherwise the settings will not take effect.

📊 Which WiFi security mode do you prefer?
WPA2-AES (Recommended)
WPA3 (If supported)
Open Network (No Password)
WEP (Deprecated)

Optimization of radio signal and antenna

Setting up Nanostation M2 It won't be complete without antenna calibration. Unlike conventional routers, the antenna here is directional, and its physical orientation is critical. In the AirOS interface, on the main tab Main, there is an indicator Signal StrengthIf a client (laptop or phone) is already connected to the access point, you can see the signal strength in real time.

Use the tool to fine-tune the direction AirView, built into the firmware. It allows you to view the entire 2.4 GHz band, assess channel noise levels, and select the clearest frequency. If you're using the device to communicate with another Ubiquiti device (bridge mode), the function Align Helps you achieve the maximum signal level by displaying numerical values ​​in dBm. The closer the value is to 0 (for example, -40 is better than -70), the better the link quality.

⚠️ Warning: Radio access interfaces and frequency plans may be regulated by government communications authorities. Using uncertified equipment or setting the power level above the permitted level may result in administrative penalties. Check the permissible radiation levels in your region.

You can also adjust the output power in the antenna settings (Output Power). It doesn't always make sense to set the maximum value. If the access point is close to users, high power can "jam" the response signal from weaker client devices (smartphones), since their transmitters can't reach a powerful antenna. It's best to adjust the power experimentally, starting with mid-range values.

Firmware update and system maintenance

Software AirOS The manufacturer periodically updates the firmware, fixing security vulnerabilities and improving stability. Before using the device, it is recommended to check for a new firmware version on the manufacturer's official website. The update can be performed through the web interface in the "Updates" tab. System, by downloading the firmware file from your computer.

The update process requires caution: a power outage or connection loss while updating the firmware can brick the device. Ensure the power source is stable and the cable is securely connected. After the file is downloaded and the operation is confirmed, the device will overwrite the internal memory and automatically reboot. This process may take several minutes, during which time the interface will be unavailable.

The system has useful tools for maintenance and diagnostics. Tab Tools contains Ping to check the availability of nodes, Traceroute to find breaks in the network and Discovery to search for other Ubiquiti devices on the local network. The log file is also useful (System Log), which records client connection events, authentication errors, and system failures to help quickly diagnose problems.

What to do if you forgot your AirOS password?

If you can't log in and the default login and password don't work, you'll need to perform a hard reset. Locate the Reset button on the case, power on the device, and hold it for more than 10 seconds until the LEDs flash. This will reset the IP address and passwords to factory defaults (ubnt/ubnt), but will erase all your network settings.

Why is Nanostation M2 getting hot?

The device is designed for outdoor use and has a metal casing that acts as a heat sink. Heating up to 50-60 degrees Celsius is normal for this class of equipment. It's important to ensure adequate ventilation and avoid covering the device with insulating materials when installing it indoors.

Can Nanostation M2 be used indoors?

Yes, you can, but be mindful of the antenna's directionality. The signal will only be strong in the area "in front" of the device. It's also worth remembering that the powerful side lobes of the antenna's radiation pattern can interfere with neighbors through walls if the power and frequency are not properly selected.