R
R
Ruslan-Strannik2019-12-01 00:11:12
WiFi
Ruslan-Strannik, 2019-12-01 00:11:12

Proper Wifi setup on Mikrotik?

There are several offices where MT stands. devices (laptops, phones) are connected to it via Wi-Fi.
In all, there is approximately one configuration of 2.4 and 5 GHz interfaces.
From time to time in different offices there are problems with Wi-Fi. I understand that this is a very broad topic.
There are many factors that affect radio reception and transmission. I want to exclude the option of incorrect broadcast settings.
Look at the config and tell me what you can change and / or add.
2.4GHz and 5GHz

spoiler
/interface wireless
set [ find default-name=wlan1 ] adaptive-noise-immunity=ap-and-client-mode band=2ghz-onlyn basic-rates-b="" country=russia3 channel-width=20mhz default-authentication=no default-forwarding=no disabled=no frequency=auto frequency-mode=regulatory-domain guard-interval=long hw-protection-mode=rts-cts mode=ap-bridge security-profile=sqsq ssid=iddqd supported-rates-b="" wireless-protocol=802.11 wmm-support=enabled wps-mode=disabled antenna-gain=0
set [ find default-name=wlan2 ] band=5ghz-onlyn channel-width=20/40mhz-Ce country=russia3 default-authentication=no default-forwarding=no disabled=no distance=indoors frequency-mode=regulatory-domain installation=indoor mode=ap-bridge security-profile=sqsq ssid=iddqd wireless-protocol=802.11 wmm-support=enabled wps-mode=disabled frequency=5180 antenna-gain=0
/interface wireless access-list
add signal-range=-75..120

I would be very grateful. And thanks in advance))

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladimir Skibin, 2019-12-01
@Ruslan-Strannik

There are too many variables for wifi to configure it correctly, it is very wrong to enter other people's configs, I will show my config, at which CCQ ~ 80-95%

/interface wireless
set [ find default-name=wlan1 ] adaptive-noise-immunity=ap-and-client-mode \
    band=2ghz-b/g/n basic-rates-a/g=18Mbps basic-rates-b="" channel-width=\
    20/40mhz-XX disabled=no disconnect-timeout=2s distance=indoors frequency=\
    2427 ht-basic-mcs=mcs-6,mcs-7 ht-supported-mcs="mcs-6,mcs-7,mcs-8,mcs-9,mcs-\
    10,mcs-11,mcs-12,mcs-13,mcs-14,mcs-15,mcs-16,mcs-17,mcs-18,mcs-19,mcs-20,mcs\
    -21,mcs-22,mcs-23" hw-retries=6 installation=indoor mode=ap-bridge \
    multicast-helper=full security-profile=wpa2 ssid=WIFI2 \
    supported-rates-a/g=18Mbps,24Mbps,36Mbps,48Mbps,54Mbps supported-rates-b="" \
    wireless-protocol=802.11 wmm-support=enabled wps-mode=disabled
set [ find default-name=wlan2 ] adaptive-noise-immunity=ap-and-client-mode \
    band=5ghz-n/ac channel-width=20/40/80mhz-eeCe disabled=no \
    disconnect-timeout=2s distance=indoors frequency=5300 hw-protection-mode=\
    rts-cts hw-retries=6 mode=ap-bridge multicast-helper=full security-profile=\
    wpa2 ssid=WIFI5 wireless-protocol=802.11 wmm-support=enabled \
    wps-mode=disabled

At the same time, at 2.4 GHz on an old laptop ~ 60 Mbps with an incoming hundred, and on a mobile 5 GHz - ~ 90-95 Mbps
. why. Ideally, you need to choose such a minimum signal level that it reaches the farthest clients and does not interfere with transmitting to the rest, otherwise if there is a strong signal, then the AP simply will not "hear" the clients. It is also necessary to take into account the number of attempts to send, the frequency of operation of each device and independently look for a middle ground. Unfortunately, there is no golden bullet in this matter. The decision is applicable only to a specific situation.

K
korsar182, 2019-12-01
@korsar182

Wi-Fi is a technology that either works or it doesn't, no matter how "correct" you try to set it up.
In my practice, the implementation of Wi-Fi on Mikrotik does not bring the results that you expect from it.

R
Ruslan-Strannik, 2019-12-06
@Ruslan-Strannik

Here is the configuration I came up with.
there were fewer problems. From it I change while only 2 parameters. if there is a lot of interference around
frequency= broadcast channel
antenna-gain= I increase the parameter to reduce the signal strength
if the router allows, then I scan through THE DUDE . Spectral Scan
/interface wireless security-profiles
add authentication-types=wpa2-psk eap-methods="" management-protection=allowed mode=dynamic-keys name=net supplicant-identity="" wpa2-pre-shared-key=CARRAMBA
add authentication-types=wpa2-psk eap-methods="" management-protection=allowed mode=dynamic-keys name=guest supplicant-identity=""
set [ find default-name=wlan1 ] adaptive-noise-immunity=ap-and-client-mode band=2ghz-onlyn basic-rates-b="" country=russia3 channel-width=20mhz default-authentication=no default- forwarding=no disabled=no frequency=auto frequency-mode=regulatory-domain guard-interval=long hw-protection-mode=rts-cts mode=ap-bridge security-profile=net ssid=net supported-rates-b=" " wireless-protocol=802.11 wmm-support=enabled wps-mode=disabled antenna-gain=0
set [ find default-name=wlan2 ] band=5ghz-onlyn channel-width=20/40mhz-Ce country=russia3 default-authentication =no default-forwarding=no disabled=no distance=indoors frequency-mode=regulatory-domain installation=indoor mode=ap-bridge security-profile=net ssid=net wireless-protocol=802.11 wmm-support=enabled wps-mode= disabled frequency=5180 antenna-gain=0
add default-authentication=no default-forwarding=no disabled=yes keepalive-frames=disabled master-interface=wlan1 multicast-buffering=disabled name=vwlan1 security-profile=guest ssid=guest wds-cost-range=0 wds-default -cost=0 wps-mode=disabled wmm-support=enabled
add default-authentication=no default-forwarding=no disabled=yes keepalive-frames=disabled master-interface=wlan2 multicast-buffering=disabled name=vwlan2 security-profile= guest ssid=guest wds-cost-range=0 wds-default-cost=0 wps-mode=disabled wmm-support=enabled
/interface wireless access-list
add signal-range=-80..120

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question