Connect MikroTik to the Internet via Wi-Fi — a task faced by both novice administrators and experienced users. This is most often required when a wired connection is unavailable and the internet is shared from another router, smartphone, or public hotspot. Unlike standard home routers, MikroTik does not have a graphical interface for quickly setting up a Wi-Fi client, but offers flexible tools through Winbox or CLI.
In this article we will look at three main connection methods: via built-in Wi-Fi module (for models of type hAP ac² or RB4011), using external USB adapter (For example, TL-WN722N), and setting WDS bridge to connect two access points. Each method has its own nuances: in some cases you'll need to know SSID and the password of the target network, and somewhere else - to configure security-profile manually. We will also look at typical errors that can lead to MikroTik won't connect to Wi-Fi, and we'll give you recommendations on how to optimize this connection for stable operation.
1. Preparation: Checking compatibility and requirements
Before you begin setting up, make sure your model is MikroTik supports operation in the mode Wi-Fi clientNot all devices are equipped with a built-in wireless module - for example, RB750Gr3 (hEX) does not have it, while hAP ac lite or RB951Ui-2HnD support 2.4 GHz And 5 GHz networks.
If there is no built-in Wi-Fi, you will need external USB adapter with a chipset compatible with RouterOSThe official list of supported devices can be found in the documentation. MikroTik, but the most reliable options are chip-based adapters Atheros (For example, TP-Link WN722N v1) or Ralink (D-Link DWA-125). Important: adapters on Realtek (For example, TL-WN725N) often do not work or require manual compilation of drivers.
- 🔍 Check your router model: enter in
Winboxteam/system resource printand find the linemodel. - 📡 Determine the target network frequency: if your MikroTik supports only
2.4 GHz, it won't connect to the network5 GHz(and vice versa). - 🔌 Prepare a USB adapter (if needed): connect it to the port MikroTik and make sure that it is detected in the system (
/interface wireless print).
⚠️ Attention: If you use MikroTik As the primary router for a home/office, a Wi-Fi connection can reduce internet speed and stability compared to a wired connection. For critical tasks (IP telephony, video conferencing), it's better to use Ethernet.
| MikroTik model | Built-in Wi-Fi | 5 GHz support | USB port for adapter |
|---|---|---|---|
| hAP ac² (RB962UiGS-5HacT2HnT) | Yes (2 modules) | Yes | No |
| RB4011iGS+5HacQ2HnD | Yes (2 modules) | Yes | No |
| hEX (RB750Gr3) | No | No | Yes (1 port) |
| RB951Ui-2HnD | Yes (1 module) | No | Yes (1 port) |
2. Method 1: Connecting via built-in Wi-Fi (Station mode)
This is the easiest method if your MikroTik equipped with a wireless module. We will configure it in mode stationso that it connects to another Wi-Fi network as a client. This instruction is suitable for models of the type hAP ac², RB951Ui-2HnD and others with support wireless.
Open Winbox, connect to the router and follow these steps:
- Open the list of wireless interfaces: go to
Wireless(or enter the command/interface wireless print). Find the interface with the type namewlan1orwlan2. - Set up the mode
station: Double click on the interface in the fieldModeselectstation, and inBand—2GHz-B/G/Nor5GHz-A/N/AC(depending on the network). - Specify network parameters: tab
Wireless→ fieldSSID(network name),Security Profile(create a new profile with a password). - Activate the connection: click
OK, then in the main windowWirelessclick on the blue check mark (Enable).
After applying the settings, check the connection status in Wireless - a status should appear next to the network name connected and IP address. If there is no connection, check:
- 🔄 The password you entered is correct (case sensitive!).
- 📶 Signal level (tab
Registration): if it is lower-70 dBm, try moving the router closer to the access point. - 🔒 Encryption type: if the network uses
WPA3, and yours MikroTik it doesn't support it, you'll have to switch the access point toWPA2-PSK.
☑️ Checking the connection via built-in Wi-Fi
⚠️ Attention: If you connect MikroTik to a public Wi-Fi network (for example, in a cafe or hotel), you may need to log in via captive portalIn this case, after connecting, open a browser on any device on the network. MikroTik and follow the instructions on the authorization page.
3. Method 2: Using an external USB Wi-Fi adapter
If your MikroTik does not have built-in Wi-Fi (for example, RB750Gr3 or CCR1009), you can connect external adapter via USB. This method is universal, but requires compatible hardware and additional driver settings.
First, check if the adapter is detected in the system:
/interface usb print
/interface wireless print
If the adapter is not showing up, please update it. RouterOS to the latest version or install the package wireless:
/system package update install wireless
Further setup is similar to the first method, but taking into account the features of USB adapters:
- IN
Wirelessfind a new interface (egwlan-usb). - Set the mode
stationand specify the network parameters. - Create
security-profilewith a password (if the network is protected). - Activate the interface and check the connection.
Common problems with USB adapters:
- 🔌 The adapter is not detected: Check the chipset compatibility (the list of supported ones is in official wiki).
- 🔄 Constant disconnections: try disabling USB power saving in settings (
/system routerboard usb set power-reset=yes). - 📉 Low speed: USB 2.0 limits throughput to
480 Mbps, which could be a bottleneck for5 GHznetworks.
4. Method 3: Setting up a WDS bridge to connect two access points
WDS (Wireless Distribution System) allows you to connect two MikroTik-router (or MikroTik with another device that supports WDS) over Wi-Fi without losing performance. This method is suitable for network expansion when you need clients to connect to the main router, and MikroTik worked as a bridge.
To set up WDS you will need:
- Set the same settings on both access points:
- 📡
SSID(network name), - 🔐
Security Profile(encryption type and password), - 📶
Frequency(channel).
- 📡
WDS Mode=dynamic.WDS Peers (tab WDS).Example commands for configuring a WDS client:
/interface wireless set wlan1 master-interface=none mode=station-wds \ssid=MyNetwork security-profile=MyProfile frequency=2412 \
wds-mode=dynamic wds-default-bridge=bridge-local
/interface wireless wds add master-interface=wlan1 wds-interface=wlan1 \
wds-address=00:0C:42:XX:XX:XX
Advantages of WDS:
- 🔗 You can connect multiple clients to one access point.
- 🚀 Less speed loss compared to the mode
station. - 🔄 Support for roaming between points (if configured).
⚠️ Attention: WDS requires both access points to support this mode. Some home routers (e.g., TP-Link or ASUS) may not work with WDS from MikroTik due to different protocol implementations. In this case, use the mode station-pseudobridge.
What is the difference between WDS and station mode?
In station mode, the MikroTik connects to the network as a regular client (e.g., a smartphone), and all devices behind it access the internet through NAT. WDS creates a "transparent bridge" between two access points, allowing clients to connect to either one without double NAT. This is useful for network expansion, but requires compatible hardware.
5. Configuring the DHCP client and routing
After connecting to a Wi-Fi network MikroTik It should receive an IP address and configure routing for internet access. If this doesn't happen automatically, do the following:
- Check for IP: enter
/ip address print. If the address is from a DHCP server (for example,192.168.88.5/24) is not assigned, configure the client manually:/ip dhcp-client add interface=wlan1 disabled=no - Add a default route: If the internet doesn't work, check your routes (
/ip route print) and add if necessary:/ip route add gateway=192.168.88.1(replace
192.168.88.1to the IP gateway of the target network). - Configure NAT (if necessary): if for MikroTik There will be other devices, enable masquerading:
/ip firewall nat add chain=srcnat action=masquerade out-interface=wlan1
If the internet still doesn't work:
- 🔌 Check that in
/ip firewall filterThere are no rules blocking traffic. - 🌍 Make sure that DNS servers are registered (
/ip dns set allow-remote-requests=yes). - 🔄 Reboot your router (
/system reboot).
6. Connection optimization: increasing stability and speed
Your Wi-Fi connection may be unstable due to interference, a weak signal, or suboptimal settings. Here's how to improve it:
- 📶 Channel selection: If the network is overloaded, manually set a less busy channel on the access point (use
/interface wireless scanfor analysis). - 🔄 Mode
802.11: If the speed is low, try changing the standard withNonAC(For5 GHz) or turn it offHT(ht-supported=no). - 📊 Speed Limit: If the connection is broken, set the limit in
Wireless → Advanced(For example,tx-power=17to reduce interference). - 🔗 Use
Connect List: If the network often disappears, add it to the priority list (/interface wireless connect-list add interface=wlan1 ssid=MyNetwork).
To monitor connection quality, use the following commands:
/interface wireless registration-table print # Shows signal strength and speed
/interface wireless scan duration=5s # Scans available networks
A critical detail: if the signal level is below -80 dBm, even with a successful connection, the speed will be unstable. In such cases, use external antennas or repeaters.
7. Common mistakes and their solutions
Even with proper setup, the connection may not work. Let's look at the most common issues:
| Symptom | Possible cause | Solution |
|---|---|---|
| Doesn't connect to the network | Incorrect password or SSID |
Check the case of the password and the network name (/interface wireless print) |
| It connects, but there is no internet. | There is no default route | Add a route (/ip route add gateway=X.X.X.X) |
| Low speed (< 10 Mbps) | Interference or mismatch of standards | Change channel or mode 802.11 in the settings |
| Constant disconnections | Weak signal or USB power saving | Move the router closer or turn it off usb-power-reset |
If the problem persists, check the logs:
/log print
Look for messages like wireless,info or dhcp,error - they will point out a specific error.
⚠️ Attention: In some versions RouterOS (especially older than 6.48) there are bugs with the operation of USB adapters in the mode stationIf the connection fails, update the firmware to the latest stable version.
FAQ: Frequently asked questions about connecting MikroTik via Wi-Fi
My MikroTik isn't detecting Wi-Fi networks. What should I do?
Check:
- Is the wireless interface enabled? (
/interface wireless enable wlan1). - Does your model support MikroTik the desired frequency (
2.4 GHzor5 GHz). - Is the country blocked in the settings?
/interface wireless set wlan1 country=russia).
How to connect to a hidden Wi-Fi network (with a hidden SSID)?
In the interface settings, specify:
/interface wireless set wlan1 ssid="MyHiddenNetwork" \
security-profile=MyProfile hide-ssid=yes
Or add the network to Connect List:
/interface wireless connect-list add interface=wlan1 ssid=MyHiddenNetwork
Is it possible to connect MikroTik to Wi-Fi without Winbox (only via CLI)? summary>
Yes, all settings are available through the console. Example for the mode station:
/interface wireless set wlan1 mode=station ssid=MyNetwork \
security-profile=MyProfile disabled=no
/ip dhcp-client add interface=wlan1 disabled=no
To create security-profile:
/interface wireless security-profiles add name=MyProfile \
mode=dynamic-keys authentication-types=wpa2-psk \
wpa2-pre-shared-key="your_password"
station:/interface wireless set wlan1 mode=station ssid=MyNetwork \
security-profile=MyProfile disabled=no
/ip dhcp-client add interface=wlan1 disabled=no
security-profile:/interface wireless security-profiles add name=MyProfile \
mode=dynamic-keys authentication-types=wpa2-psk \
wpa2-pre-shared-key="your_password"
How do I share internet from a MikroTik connected via Wi-Fi to other devices?
Configure NAT and DHCP server:
- Enable masquerading:
/ip firewall nat add chain=srcnat action=masquerade out-interface=wlan1. - Configure DHCP for your local network (for example, on
ether2):/ip pool add name=dhcp_pool ranges=192.168.10.2-192.168.10.254/ip dhcp-server add name=dhcp1 interface=ether2 address-pool=dhcp_pool \
lease-time=1d disabled=no
/ip dhcp-server network add address=192.168.10.0/24 gateway=192.168.10.1 \
dns-server=8.8.8.8
Why is the Wi-Fi speed on MikroTik lower than on other devices?
Possible reasons:
- USB 2.0 limitations (max ~300 Mbps).
- Suboptimal settings
Channel Width(try it20/40MHzinstead of20MHz). - Channel interference (use
/interface wireless scanfor analysis). - Weak router processor (for example, RB750 won't pull it off
802.11acat full speed).