In the world of network technologies, equipment Ubiquiti deservedly occupies a leading position due to its reliability and flexibility of settings. Model NanoStation M2Despite its age, it remains a popular solution for building bridges and client connections at 2.4 GHz. However, many users are unaware that this device can function not only as a client device, but also as a fully-fledged device. Wi-Fi router for distributing Internet indoors.
Using an antenna as your primary router saves you the cost of purchasing additional equipment, especially in a summer house, garage, or temporary office. You don't need to run a cable from the rooftop reception point to the router in your room if the antenna itself can distribute the signal over the air. In this guide, we'll cover all the details of reconfiguring the device.
It's worth noting right away that the standard factory firmware has limitations that prevent full use of the router's functionality. Implementing router mode with NAT and a DHCP server often requires installing alternative firmware or using specific WDS mode settings. We'll look at both options so you can choose the one that best suits your situation.
NanoStation M2 hardware features and limitations
Before we begin setting things up, we need to understand the hardware we're dealing with. Inside the compact case is an Atheros processor running at 400 MHz and 32 MB of RAM. This is sufficient for routing traffic, but there are physical limitations to the interfaces.
The device is equipped with only one 100 Mbps Ethernet port. This means that to set up a local network, you'll need an additional unmanaged switch or a regular home router operating as an access point. Without additional equipment, you can only connect one computer via cable.
The second important point is power. The antenna is powered via PoE (Power over Ethernet) technology through the included passive injector. Passive PoE does not negotiate voltage with the device, so connecting the NanoStation directly to active PoE switches (for example, Cisco or Mikrotik with an active profile) without a splitter is dangerous - you can burn out the input.
⚠️ Note: The standard AirOS firmware does not support a second VLAN on the LAN port for traffic separation. If you need to separate the management network from the user network, external hardware will be required.
It's also worth considering the antenna's radiation pattern. In router mode, it will emit a signal in a sector (approximately 60 degrees horizontally). This may not be enough to cover an area inside a building if the antenna is pointed at the provider's tower. In such cases, it's better to use the "Single" mode. WDS with internal Wi-Fi network.
Preparing for flashing and resetting settings
To turn the access point into a router, we need access to the web interface. By default, the device has an IP address 192.168.1.20Your computer must be on the same subnet, for example, 192.168.1.10Connect the cable from the LAN port of the injector to the PC network card, and connect the PoE port to the antenna.
If you don't know the password or the address was changed by the previous administrator, you need to perform a hard reset. Find the button Reset On the case (usually under a cover). With the power on, press and hold it for more than 10 seconds until the LEDs blink. This will restore factory settings.
Before performing any firmware modifications, it is strongly recommended to create a backup of the current configuration. Even if you plan to completely wipe the device, preserving the original state is a good administrative practice.
☑️ Preparing for flashing
Login is done through a browser. Enter the device address in the field. The default login and password are ubntIf the interface doesn't open, check your Windows firewall or antivirus software; they may be blocking local requests.
Select operating mode: Router, Bridge or WDS
On the menu Network In the standard AirOS firmware, you'll find a choice of operating modes. Two options are suitable for our purposes: Router And WDS. Mode Bridge (Bridge) turns the antenna into a transparent channel where the IP address is received directly by the computer, which is not always convenient for organizing a home network.
Mode Router Network Address Translation (NAT) allows a device to receive a single IP address from the ISP (or upstream router) and distribute its addresses to internal clients. This is a classic home network setup. However, in this mode, the Wi-Fi module often only receives data or requires separate configuration of a guest network, which is poorly implemented on older versions of AirOS.
Mode WDS (Wireless Distribution System) is the most flexible. It allows the device to be a Wi-Fi client (receiving internet) and simultaneously distribute it via Wi-Fi and cable. This is the ideal option if you want to use the NanoStation M2 as the only device in a chain.
When selecting WDS mode, it's important to configure the SSID and security correctly. Unlike bridge mode, encryption must match on both ends of the connection, otherwise the tunnel will fail.
What is the difference between NAT and Bridge?
In NAT mode, the device hides your internal network from your ISP, acting as a firewall. In Bridge mode, your ISP sees your computer's MAC address, which may require MAC address cloning or address binding.
Configuring WAN and LAN interfaces
After selecting the operating mode, go to the tab Network. IP addressing is configured here. In the field Network Mode we choose NAT (if available) or configure WDS. It is better to change the device's IP address (LAN IP) from the default 192.168.1.20 to something less conflicting, for example, 192.168.10.1.
To get internet from your provider, you need to configure the WAN interface. Depending on the connection type, this may be Dynamic IP (DHCP), static address, or PPPoE. Enter the information provided by your internet service provider. If your provider binds subscribers by MAC address, use the MAC address cloning feature on your old router or computer.
Don't forget to configure the DHCP server for the internal network. Specify the address pool, for example, from 192.168.10.100 to 192.168.10.200This will ensure automatic IP distribution to all connected gadgets.
| Parameter | Recommended value | Description |
|---|---|---|
| IP Address | 192.168.10.1 | The address of the NanoStation itself on the local network |
| Netmask | 255.255.255.0 | Subnet mask for standard class C |
| Gateway | Provider address | Default gateway (automatically populated with DHCP) |
| DHCP Range | 100 - 200 | Range of addresses issued to clients |
After applying the settings, the device will reboot. You will need to change the IP address on your computer's network card to access the new web interface address (in our example, 192.168.10.1).
Organizing indoor Wi-Fi coverage
One of the main problems with using an outdoor antenna indoors is the low signal level deep in the room. Antenna NanoStation M2 It has a narrow beam. For it to function as a router for smartphones, the housing must be oriented correctly.
If the antenna points directly at the ISP's tower, the indoor Wi-Fi coverage will be minimal (the "dead zone" behind the antenna). In WDS or AP mode, experiment with the antenna tilt angle. Sometimes, rotating the antenna 45-90 degrees to the side helps, if the ISP's signal strength allows (the RSSI margin should be at least -60 dBm).
In the wireless network settings (Wireless) set the mode Access Point (if not using WDS) or make sure WDS is active. Set the network name (SSID) and select the encryption type. WPA2-AESUsing older WEP or WPA-TKIP protocols reduces overall network speed.
⚠️ Caution: The NanoStation's metal case and mount may shield the signal indoors. Avoid placing the device in a metal enclosure or close to a reinforced wall if you plan to distribute Wi-Fi from there.
To increase coverage, you can connect a regular home router to the NanoStation's LAN port in access point mode. This allows you to use the router's powerful internal antennas to distribute the signal throughout your home while the NanoStation receives internet.
Alternative firmware: AirMax and OpenWRT
The stock AirOS firmware has limited functionality. Enthusiasts have long ported the system to Ubiquiti hardware. OpenWRTInstalling an alternative OS turns the NanoStation M2 into a powerful router with support for VPN, torrents, complex firewall rules, and QoS.
However, the firmware flashing process is risky. M-series devices (M2, M5) often require disassembling the case and connecting via a UART console or using a dedicated TFTP server during boot. An error can result in a "brick" that can only be restored with a programmer.
There is also a modified firmware airMax from third-party developers, which removes some limitations while maintaining the stability of the original. Before installing any custom firmware, make sure it is compatible with your specific board revision (indicated on the sticker).
⚠️ Warning: Installing third-party software will void the manufacturer's warranty. All actions are performed at your own risk. Ensure that your bootloader version is compatible with the new firmware.
If you're unsure of your capabilities, it's best to stick with the default WDS capabilities. AirOS's functionality is sufficient for 90% of internet sharing needs at your dacha.
Diagnostics and troubleshooting
During the setup process, you may encounter common issues, such as low data transfer speed. Check the settings Channel WidthFor maximum range and stability, it's best to choose 20 MHz or even 10 MHz. The 40 MHz bandwidth in the 2.4 GHz band often leads to interference and packet loss.
If your devices connect to Wi-Fi but there's no internet, check your routing table and DNS. Try setting up a static DNS (for example, Google's). 8.8.8.8) in the WAN settings. ISPs often block requests to their DNS when changing equipment.
Another common issue is connection breaks. This may be caused by overheating. The NanoStation M2 gets hot, especially in the sun during summer. Ensure the device is not exposed to direct sunlight without a visor, or install an additional heatsink inside the case (requires disassembly).
To monitor the link status, use the built-in tools: Tools -> Discovery or System -> System LogAnalyze the noise floor. If it's above -90 dBm, the channel is very noisy, and you need to look for a clearer frequency.
Why can't NanoStation M2 see my provider's network?
Make sure the correct frequency and channel width are selected. Check the antenna polarization (vertical or horizontal)—it should match the provider's antenna. Also, check that your MAC address isn't blocked by your provider.
Can NanoStation M2 be used indoors?
Technically, it's possible, but the signal strength will be very high and could interfere with other devices. Furthermore, it doesn't have external antennas for indoor distribution. It's better to use it for its intended purpose—outdoors—and put the router inside.
How do I reset my password if I forgot it?
Press the physical reset button on the case while the power is on. Hold it for 10 seconds until the LEDs flash. The login and password will be reset to the factory defaults: ubnt / ubnt.
Does NanoStation M2 support IPv6?
IPv6 support in the stock AirOS firmware is limited or absent in older versions. For full IPv6 support, we recommend installing alternative firmware, such as OpenWRT.