The problem with an unstable wireless connection is often rooted not in the power of the equipment, but in the airwaves being clogged with neighboring networks. When dozens of routers are connected to a single channel in an apartment building, speeds drop and ping increases to unacceptable levels. Equipment owners MikroTik have the most powerful tools to solve this problem, allowing you to fine-tune the radio module to specific conditions.
Changing the frequency band is the first step to network optimization, which requires an understanding of how wireless networks operate. Standard automatic channel selection algorithms (AP scan) often fail to make the right decisions in dense urban environments. Manual configuration allows you to force the access point to use a free frequency, avoiding interference with neighboring networks.
In this article, we'll take a detailed look at the process of changing channels, examine the impact of spectrum width on speed and stability, and learn how to use broadcast scanning tools. You'll learn how to properly configure the parameters. frequency And bandto ensure maximum throughput for your devices.
Ether diagnostics and selection of optimal frequency
Before making any configuration changes, it is necessary to conduct a reconnaissance of the area Interface RouterOS Provides built-in tools for analyzing the surrounding radio environment, which show not only occupied channels but also noise levels. This is critical, as choosing a "quiet" channel is often more important than choosing a formally clear one.
To get started, open the utility. WinBox and go to the section WirelessIn the window that opens, select your wireless interface (usually it is labeled as wlan1 or wifi1). Click on the button Scan in the top menu. A list of all available networks within range of your antenna will open.
Pay attention to the columns Channel And SignalYour task is to find a frequency where the signal from other access points is minimal (for example, below -85 dBm). If you see that channel 6 is occupied by three strong networks, and channel 11 is free or occupied by one weak network, the choice is obvious.
It's important to note that channels overlap in the 2.4 GHz band. Using a 20 MHz bandwidth only allows effective operation on channels 1, 6, and 11. Attempting to use intermediate values (such as 3 or 4) will result in interference with both adjacent channels, significantly degrading connection quality.
Setting up a wireless interface via WinBox
After analyzing the airwaves, you can begin the actual configuration. Double-click your wireless interface in the list. WirelessA properties window will open in front of you, where we are interested in the tab WirelessThis is where the key parameters of the radio module are located.
Find the field FrequencyBy default, there may be a value there 2412 (channel 1) or autoFor manual installation, enter the frequency value in MHz corresponding to the selected channel. For example, for channel 6 it is 2437 MHz, and for the 11th - 2462 MHz.
Don't forget to check the parameter BandMake sure you select the mode that meets your security and speed requirements. Older devices may require a mode 2.4GHz-b/g/n, however, for maximum performance it is better to use 2.4GHz-only-n or 2.4GHz-only-gn, disabling support for the legacy 802.11b standard.
☑️ Check before saving settings
After making changes, click the button Apply and then OKThe connection will be interrupted for a few seconds while the radio module switches to a new frequency. If you're connected via Wi-Fi, make sure your device supports the selected operating mode; otherwise, the connection may not be restored automatically.
⚠️ Note: Changing the channel or spectrum width will force all connected clients to disconnect. If you configure the router remotely via Wi-Fi, you will lose access to the device immediately after applying the settings.
Advanced Options: Channel Width and Modes
Deep customization MikroTik allows you to control not only the central frequency, but also the width of the captured spectrum. Parameter Channel Width directly affects the maximum data transfer rate, but also increases the likelihood of falling into an interference zone.
In the 2.4 GHz band, the use of a width of 40 MHz (20/40MHz Ce or 20/40MHz eC) often does more harm than good. Such a channel takes up almost the entire available spectrum, guaranteeing conflicts with neighbors. In multi-apartment buildings 20 MHz bandwidth is the de facto standard for stable operation, providing better penetration of walls and less susceptibility to noise.
The situation is different in the 5 GHz band. Numerous non-overlapping channels are available here, so using bandwidths of 40, 80, and even 160 MHz is justified to achieve the high speeds of the standards. 802.11ac And 802.11axHowever, it's worth remembering that the wider the channel, the higher the noise level and the shorter the effective signal range.
The Impact of Guard Interval on Speed
Increasing the Guard Interval (GI) from 400 ns to 800 ns can improve connection stability over long distances or in conditions of strong signal reflections, but will slightly reduce the maximum channel throughput. Under normal conditions, it's best to leave the value set to Auto or Short GI.
It is also worth paying attention to the parameter Security ProfileMake sure you select a profile with encryption. WPA2 or WPA3Using legacy encryption methods such as WEP is not only insecure, but can also limit the available wireless interface modes.
Comparison of the 2.4 GHz and 5 GHz bands
Understanding the physical differences between bands helps you properly distribute network load. Below is a table demonstrating the key differences that influence channel selection and router settings.
| Parameter | 2.4 GHz band | 5 GHz band |
|---|---|---|
| Number of channels | 3 non-overlapping (1, 6, 11) | Up to 25 non-overlapping |
| Range of action | High, better at avoiding obstacles | Lower, it goes through walls worse |
| Interference level | Very high (microwaves, Bluetooth) | Short |
| Maximum speed | Limited by channel width | High (80/160 MHz support) |
If your primary goal is to cover a large area with multiple walls, the 2.4 GHz band is your only choice, and proper channel configuration is critical. However, if streaming video or online gaming in a single room is your priority, switching to 5 GHz will solve most interference issues.
Modern routers MikroTik Often support operation in two ranges simultaneously (Dual Band). In this case, it is recommended to separate the SSIDs (network names) or use a single network with the function Band Steering, although the latter requires more complex configuration via CAPsMAN.
Transmitter power control
Often users try to solve the problem of poor signal by increasing the transmitter power (Tx Power). However, in In RouterOS, this parameter should be configured with caution. Maximum power doesn't always mean the best signal, as it can cause the module to overheat and distort the signal.
Parameter antenna-gain This also plays a role in calculating the permissible radiated power. The system automatically limits the output power to ensure it doesn't exceed your country's legal limits (EIRP). When manually setting the power, ensure you don't exceed the limits permitted by the regulator.
To change the power, go to the tab Tx Power in the interface properties. Here you can set a fixed value or select the mode defaultExperimentation can help find a balance that ensures a stable signal and prevents equipment from overheating.
⚠️ Note: Interfaces and available power values depend on the specific card model (e.g., hAP, wAP, SXT) and the installed firmware version. In newer versions of RouterOS v7, the menu structure may differ from v6.
Automation and scripts for channel change
For advanced users MikroTik Offers the ability to automate the channel selection process. Using the built-in scripting language, you can create a task that periodically scans the airwaves and switches the access point to the least congested channel.
This is especially relevant for access points installed in locations with variable radio conditions, such as offices or rented premises. The script can be scheduled or run when critical interference levels are detected.
/interface wireless scan wlan1 once duration=5:local bestChannel [find where ...]
/interface wireless set wlan1 frequency=$bestChannel
Implementation of such an algorithm requires knowledge of syntax. RouterOS and understanding the logic behind the scripts. However, even simply periodically checking the logs for CRC errors can indicate that the current channel requires replacement.
Frequently Asked Questions (FAQ)
How do I reset my wireless network settings to factory defaults?
To reset the interface settings, you can use the command /interface wireless reset-configuration in the terminal or delete the interface and create it again. A complete reset of the router's configuration using the Reset button also helps if other methods don't work.
Why don't devices connect after changing the channel?
You may have selected a channel width or security mode that is not supported by your client devices. Try resetting the settings to default (20 MHz, WPA2) and test the connection. Also, make sure the Country setting in your wireless network settings is correct.
Is it possible to use channels 12 and 13 in Russia?
Yes, in the Russian Federation, channels 1 through 13 in the 2.4 GHz band are permitted. However, some devices (for example, those in the US) may not see these channels. It is recommended to use channels 1, 6, or 11 for maximum compatibility.
Does changing the channel affect the speed of a wired connection?
No, wireless interface settings (Wireless) do not affect the speed of Ethernet ports (Ethernet). However, the overall load on the router's processor during intensive Wi-Fi traffic can indirectly affect the performance of the entire system.