Wireless

MikroTik Wi-Fi Setup: SSID, Password and Country (wireless and wifi packages)

Set up Wi-Fi on a MikroTik router or access point: SSID, WPA2/WPA3 password, country and bridge, for both the older wireless package and the newer wifi package.

Commands in this article follow RouterOS v7 documentation but have not yet been marked as lab-tested on this site. Always test changes in a lab or maintenance window and keep a backup.

Problem

You need to set up Wi-Fi on a MikroTik device with your own network name and password, and make wireless users part of the same LAN as wired users.

Symptoms

  • Wi-Fi is visible but clients cannot connect or get no IP address.
  • The Wi-Fi menu looks different from tutorials.

Likely causes

MikroTik has two Wi-Fi drivers. Older devices use the wireless package (/interface wireless, interfaces named wlan1). Newer devices such as the ax series use the wifi package (/interface wifi, interfaces named wifi1). Commands differ between them.

Prerequisites

  • A LAN bridge with a DHCP server, for example bridge-lan.
  • Check which menu your device has: /interface wireless print or /interface wifi print.

Solution (WinBox / CLI)

Older devices: wireless package

RouterOS CLI
/interface wireless security-profiles add name=office mode=dynamic-keys authentication-types=wpa2-psk wpa2-pre-shared-key="Use-A-Strong-Password"
/interface wireless set wlan1 mode=ap-bridge ssid=Office-WiFi security-profile=office country=bangladesh installation=indoor disabled=no
/interface bridge port add bridge=bridge-lan interface=wlan1

Newer devices: wifi package

RouterOS CLI
/interface wifi set wifi1 configuration.mode=ap configuration.ssid=Office-WiFi configuration.country=Bangladesh security.authentication-types=wpa2-psk,wpa3-psk security.passphrase="Use-A-Strong-Password" disabled=no
/interface bridge port add bridge=bridge-lan interface=wifi1

Repeat for the 5 GHz radio (wlan2 or wifi2). You can use the same SSID on both bands.

Note: Set the correct country so the radio uses legal channels and power for Bangladesh.

Verification

  • Wireless > Registration (or WiFi > Registration) lists connected clients with their signal.
  • Clients receive an address from the LAN DHCP server.

Common errors

  • The wireless interface is not in the bridge: clients connect but get no IP.
  • Password shorter than 8 characters: WPA2 rejects it.
  • Too much transmit power or very wide channels in a crowded area: slow and unstable Wi-Fi. Keep 2.4 GHz at 20 MHz width.
  • Several access points: use CAPsMAN to manage them from one place.

Rollback

Disable the radio with /interface wireless disable wlan1 or /interface wifi disable wifi1.

Watch the video (Bangla): MikroTik router wireless configuration

Go deeper in class

This topic is covered hands-on in MTCWE — MikroTik Certified Wireless Engineer.

View MTCWE
WhatsApp