Connecting MikroTik to the Internet via Wi-Fi: 3 Proven Methods

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 Winbox team /system resource print and find the line model.
  • 📡 Determine the target network frequency: if your MikroTik supports only 2.4 GHz, it won't connect to the network 5 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)
📊 What type of connection do you plan to use?
Built-in Wi-Fi module
External USB adapter
WDS bridge
I haven't decided yet

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:

  1. Open the list of wireless interfaces: go to Wireless (or enter the command /interface wireless print). Find the interface with the type name wlan1 or wlan2.
  2. Set up the mode station: Double click on the interface in the field Mode select station, and in Band2GHz-B/G/N or 5GHz-A/N/AC (depending on the network).
  3. Specify network parameters: tab Wireless → field SSID (network name), Security Profile (create a new profile with a password).
  4. Activate the connection: click OK, then in the main window Wireless click 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 to WPA2-PSK.

☑️ Checking the connection via built-in Wi-Fi

Completed: 0 / 5
⚠️ 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:

  1. IN Wireless find a new interface (eg wlan-usb).
  2. Set the mode station and specify the network parameters.
  3. Create security-profile with a password (if the network is protected).
  4. 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 for 5 GHz networks.

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:

  1. Set the same settings on both access points:
    • 📡 SSID (network name),
    • 🔐 Security Profile (encryption type and password),
    • 📶 Frequency (channel).
  • On MikroTik, which will be the client, enable it in the wireless interface settings WDS Mode=dynamic.
  • Add the MAC address of the primary access point to the list 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:

    1. 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
    2. 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.1 to the IP gateway of the target network).

    3. 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 filter There 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 scan for analysis).
    • 🔄 Mode 802.11: If the speed is low, try changing the standard with N on AC (For 5 GHz) or turn it off HT (ht-supported=no).
    • 📊 Speed ​​Limit: If the connection is broken, set the limit in Wireless → Advanced (For example, tx-power=17 to 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 GHz or 5 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"

    How do I share internet from a MikroTik connected via Wi-Fi to other devices?

    Configure NAT and DHCP server:

    1. Enable masquerading: /ip firewall nat add chain=srcnat action=masquerade out-interface=wlan1.
    2. 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 it 20/40MHz instead of 20MHz).
    • Channel interference (use /interface wireless scan for analysis).
    • Weak router processor (for example, RB750 won't pull it off 802.11ac at full speed).