Modern wireless networks face enormous strain from the abundance of neighboring access points, resulting in slow speeds and unstable connections. Choosing the right one frequency range on a MikroTik router is a fundamental step to ensuring a stable internet connection in dense urban areas or in an office.
In this article, we will examine in detail the process of manually installing a WiFi channel on equipment. MikroTik running the RouterOS operating system. You'll learn how to analyze the airwaves, understand the difference between channel width and channel number, and apply this knowledge to optimize your wireless network.
Proper configuration will help you avoid video freezes, dropped VoIP calls, and slow data transfer speeds. We'll cover both the WinBox graphical interface and the command line, so you can choose the configuration method that's most convenient for you.
How WiFi Works and the Importance of Choosing a Frequency
Wireless standard IEEE 802.11 operates in unlicensed bands that are cluttered with signals from household appliances, Bluetooth devices, and neighboring routers. The 2.4 GHz band has only 13 (or 14 in Japan) available channels, which overlap significantly, creating a "muddy" effect of radio waves.
Using automatic channel selection mode channel.frequency=auto This often results in the MikroTik router selecting a suboptimal frequency during reboots or periodic scans. Manual setup allows you to lock the router to the clearest frequency, ensuring predictable connection quality for all connected clients.
There are two main bands: 2.4 GHz and 5 GHz. The first has better penetration ability, but is extremely susceptible to interference. The second band (5 GHz) offers a larger number of non-overlapping channels and higher throughput, making it a priority for modern tasks.
Understanding the physics of radio wave propagation helps with proper equipment placement. For example, a 5 GHz signal has difficulty penetrating solid walls, so in large apartments or offices, multiple access points with different channels may need to be installed for seamless roaming.
Radio broadcast analysis before tuning
Before making any configuration changes, it is necessary to conduct an environmental audit. Built-in tools RouterOS They allow you to scan the airwaves and identify the most congested frequencies. This is a critical step, without which tuning becomes a matter of guesswork.
To start scanning, go to the menu Wireless, select your WiFi interface and click the button Scan. The window that opens will display a list of all visible networks with their SSID, signal strength (signal strength) and the occupied channel.
- 📡 Signal level: Pay attention to the dBm values; the closer the value is to 0 (for example, -40 dBm), the stronger the signal, but for neighboring networks it is better if it is weaker (-80 dBm and below).
- 🔗 Channel width: Notice what widths your neighbors use (20, 40, or 80 MHz) to try to fit into the empty spaces.
- 📶 Workload: The ideal option is considered to be the presence of a free channel where the noise level is minimal, and the number of competing networks does not exceed 1-2.
If you see that all channels in the 2.4 GHz band are occupied by strong signals, it may be worth considering moving critical devices to the 5 GHz band or using directional antennas to isolate the signal.
Setting up a WiFi channel via WinBox
Graphical interface WinBox is MikroTik's most popular administration tool. It provides convenient access to all wireless network parameters without the need to remember complex commands.
Open the WinBox utility and connect to your router. In the left menu, find the section Wireless and double-click on the interface you want to customize (usually it's called wlan1 or wifi1). Go to the tab Wireless.
In the field Frequency You'll see the current value. Click the drop-down list or enter the desired value manually. For the 2.4 GHz band, the standard non-overlapping channels are 1 (2412 MHz), 6 (2437 MHz), and 11 (2462 MHz).
After selecting the frequency, press OK and then the button Apply in the upper left corner of the window. The changes will take effect immediately, but all connected clients will be briefly disconnected and will need to reconnect to the network.
⚠️ Note: Changing the frequency or channel width will reset the wireless interface. If you are connected to the router via WiFi, you will lose the connection. Only configure the router via an Ethernet cable.
You can also configure the parameter in this window Band, which defines the standards (802.11b/g/n/ac/ax). Make sure to select only the necessary standards to prevent older devices from slowing down the entire network.
Configuration via terminal (CLI)
For experienced administrators and when automating processes, it is more convenient to use the command line. The terminal interface in MikroTik Allows you to quickly make changes and script settings for mass deployment.
Open the window New Terminal in WinBox or connect via SSH. To view the current wireless interface settings, use the command:
/interface wireless print
To change the frequency, you need to know the interface name or number. The channel setting command looks like this:
/interface wireless set [find name="wlan1"] frequency=2437
Here 2437 corresponds to channel 6. You can also specify the channel width with the command channel-width=20/40-Ce to increase bandwidth if airtime allows.
- 🛠 Examination: After entering the command, make sure that the interface status has changed to
running. - 💾 Saving: In RouterOS, the changes are applied immediately, but don't forget to save the configuration with the command
save, if it is not saved automatically. - 🔄 Reset: In case of errors, you can return to the default settings using the command
defaultin the corresponding menu.
Using the CLI is especially effective when setting up mesh networks or when you need to synchronize settings across dozens of devices at once.
Optimizing channel width and power
Channel width (Channel Width) directly affects the maximum theoretical data transfer rate. However, setting the maximum value (for example, 40 or 80 MHz) is not always the best solution in noisy environments.
A wider channel captures more frequency spectrum, which increases the likelihood of interference from other devices. In the 2.4 GHz band, it is recommended to use a wider channel. 20 MHz, as this ensures that there is no overlap with neighboring networks on channels 1, 6 and 11.
In the 5 GHz band the situation is different: there are many non-overlapping channels available, so the use of width 40 MHz or 80 MHz justified to achieve the high speeds required for 4K video and online gaming.
| Parameter | 2.4 GHz band | 5 GHz band | Recommendation |
|---|---|---|---|
| Channels | 1, 6, 11 | 36, 40, 44, 48... | Use disjoint |
| Width | 20 MHz | 40/80 MHz | 20 MHz for stability |
| Power | 17-20 dBm | 20-23 dBm | Don't set it to the maximum |
| Penetration | High | Low | Depends on the walls |
Transmission power (tx-power) also requires attention. Setting the maximum value often leads to channel asymmetry: the router "shouts" very loudly, the client hears it and tries to respond, but the client's power is insufficient to "shout" back. This causes packet loss.
Additional security and stability options
In addition to the frequency, the encryption protocol also affects the stability of the operation. Using an outdated WEP or WPA/TKIP Not only is it unsafe, but it also limits network speed to the standard 54 Mbps.
Always use a combination wpa2-psk or wpa3-psk with encryption AES-CCMThis will ensure maximum compatibility with modern devices and high data transfer speeds without the overhead of encryption.
Also worth paying attention to is the function hide-ssidHiding the network name is not a security measure (the SSID is broadcast in service frames), but it can reduce the number of connection attempts by random devices or neighbors.
⚠️ Note: Interfaces and menu names may differ depending on the RouterOS version (v6 or v7) and the type of wireless package installed (legacy or wifiwave2/wifi-qcom). MikroTik is actively implementing the package in newer versions. wifi-qcom to support Wi-Fi 6.
To check the relevance of interfaces and commands in your software version, please refer to the official documentation on the manufacturer's website, as the menu structure in RouterOS v7 has undergone significant changes compared to v6.
What are DFS channels?
DFS (Dynamic Frequency Selection) is a radar detection mechanism. DFS channels (e.g., 52-64, 100-140 in 5 GHz) can only be used if the router doesn't detect radar signals. Upon detecting a radar, the router is forced to change channels. Using DFS channels allows for busy regular channels, but can lead to brief connection interruptions when scanning for radar.
Diagnosing and troubleshooting
After installing a new channel, you need to check the result. In the menu Wireless -> Registration Table all connected clients and their signal strength are displayed (signal strength) and connection speed (tx/rx rate).
If you're experiencing slow speeds or frequent reconnections, try changing the channel to a nearby free one. Sometimes the problem isn't with the WiFi, but rather with an overloaded router processor or issues with the provider's cable.
- 📉 Low RSSI: If the signal level is below -75 dBm, the device will have difficulty maintaining a stable connection. Consider installing a repeater or a second access point.
- 📡 Interference: Microwave ovens, wireless cameras, and Bluetooth headsets operate in the 2.4 GHz band and can cause brief but powerful interference.
- 🔌 Nutrition: Make sure your router's power supply is working properly. Insufficient voltage often causes the WiFi module to become unstable under high load.
Use system logs (Log) to find errors. Entries marked disconnected, lost beacon or disconnected, excessive retry limit indicate problems with the radio signal or interference.
How do I reset my MikroTik WiFi settings if I've lost access?
If you've changed your WiFi settings and lost access, you'll need physical access to the router. You can perform a configuration reset by holding the Reset button on the router while powering it on (usually for 5-10 seconds, until the ACT indicator flashes). This will restore the router to its factory settings, including the default network name and password found on the sticker.
Why can't my phone see the 5GHz network?
Not all devices support the 5 GHz band. Make sure your smartphone or laptop has a Wi-Fi module that supports 802.11a/n/ac/ax. Also, check that the correct operating mode (band) for the 5 GHz band is selected in your router settings and is compatible with the client (for example, some older devices may not see the network if only the ax mode is enabled).
Is it possible to increase the transmitter power above the factory setting?
Technically, you can try increasing the tx-power parameter in RouterOS, but this is limited by your country's regulations (usually a maximum of 100 mW or 20 dBm for 2.4 GHz). Exceeding these limits can result in fines and interference with critical infrastructure. Furthermore, overclocking often leads to chip overheating and unstable operation.
Which channel is best for a game server?
For gaming, low ping and the absence of jitter (latency) are more critical than maximum speed. Choose a channel with a minimum number of neighboring networks. In the 5 GHz band, it's better to use 40 MHz bandwidth instead of 80 MHz if the airwaves are polluted, as this will improve connection stability.