Community discussions

MikroTik App
 
sano456
just joined
Topic Author
Posts: 1
Joined: Sat Oct 02, 2021 1:32 pm

Help with setup

Sat Oct 02, 2021 2:20 pm

Hello, I setup my Mikrotik router (CRS326) and my wifi (cAP ac) according some youtube videos. But I am newbie to Mikrotik so setting everything up was confusing as hell. Right now I have issue that 2.4 GHz (set to only N) is slow as hell . Around 10 MB/s . When we turn on TV (that is plugged through mikrotik) the wifi drops even below 2 MB/s. But on my pc connected through cable i get normal (25 MB/s) 250 Mbit. Any ideas ?

Here is my setup
# oct/05/2021 21:47:05 by RouterOS 6.48.4
# software id = 1PYI-0K14
#
# model = CRS326-24G-2S+
# serial number = D2720CCAE88B
/caps-man channel
add band=2ghz-onlyn control-channel-width=20mhz frequency=2412,2437,2462 \
    name=channel2GHz secondary-frequency=disabled
add band=5ghz-n/ac control-channel-width=20mhz frequency=5180,5560,5825 name=\
    channel5GHz secondary-frequency=disabled
/interface bridge
add admin-mac=48:8F:5A:09:7C:0C auto-mac=no comment=defconf name=bridge
/caps-man datapath
add bridge=bridge client-to-client-forwarding=yes local-forwarding=yes name=\
    datapath1
/caps-man security
add authentication-types=wpa2-psk encryption=aes-ccm name=security1
/caps-man configuration
add channel=channel2GHz channel.band=2ghz-onlyn \
    channel.control-channel-width=20mhz channel.frequency=2412,2437,2472 \
    channel.secondary-frequency=disabled datapath=datapath1 installation=any \
    mode=ap name="domaca Wifi" security=security1 \
    security.authentication-types=wpa2-psk security.encryption=aes-ccm \
    security.group-encryption=aes-ccm ssid=Szollosy
add channel=channel5GHz channel.band=5ghz-n/ac channel.control-channel-width=\
    20mhz channel.frequency=5180,5560,5825 channel.secondary-frequency=\
    disabled datapath=datapath1 installation=any mode=ap name=\
    "domaca Wifi 5Ghz" security=security1 security.authentication-types=\
    wpa2-psk security.encryption=aes-ccm security.group-encryption=aes-ccm \
    ssid=Szollosy
/caps-man interface
add channel=channel2GHz channel.band=2ghz-g/n channel.frequency=2412 \
    configuration="domaca Wifi" configuration.installation=any \
    configuration.mode=ap configuration.ssid=Szollosy datapath=datapath1 \
    disabled=no l2mtu=1600 mac-address=48:8F:5A:2C:D7:5B master-interface=\
    none name="Predna Wifi" radio-mac=48:8F:5A:2C:D7:5B radio-name=\
    488F5A2CD75B security=security1
add channel=channel5GHz channel.band=5ghz-n/ac channel.frequency=5180 \
    configuration="domaca Wifi 5Ghz" configuration.installation=any \
    configuration.mode=ap configuration.ssid="Szollosy 5GHz" datapath=\
    datapath1 disabled=no l2mtu=1600 mac-address=48:8F:5A:2C:D7:5C \
    master-interface=none name="Predna Wifi 5GHz" radio-mac=48:8F:5A:2C:D7:5C \
    radio-name=488F5A2CD75C security=security1
add channel=channel2GHz channel.band=2ghz-onlyn \
    channel.control-channel-width=20mhz channel.frequency=2462 \
    channel.secondary-frequency=disabled channel.skip-dfs-channels=no \
    configuration="domaca Wifi" configuration.installation=indoor \
    configuration.mode=ap configuration.ssid=Szollosy datapath=datapath1 \
    disabled=no l2mtu=1600 mac-address=48:8F:5A:2C:92:7F master-interface=\
    none name="Zadna wifi" radio-mac=48:8F:5A:2C:92:7F radio-name=\
    488F5A2C9280 rates.basic="" rates.supported="" rates.vht-basic-mcs="" \
    security=security1 security.group-encryption=aes-ccm
add channel=channel5GHz channel.band=5ghz-n/ac channel.control-channel-width=\
    20mhz channel.frequency=5825 channel.secondary-frequency=disabled \
    configuration="domaca Wifi" configuration.mode=ap configuration.ssid=\
    "Szollosy 5Ghz" datapath=datapath1 disabled=no l2mtu=1600 mac-address=\
    48:8F:5A:2C:92:80 master-interface=none name="Zadna wifi 5Ghz" radio-mac=\
    48:8F:5A:2C:92:80 radio-name=488F5A2C9280 security=security1
/interface list
add name=Wifi
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip dhcp-server
add disabled=no interface=bridge name=server1
/caps-man access-list
add action=accept allow-signal-out-of-range=10s disabled=yes signal-range=\
    -70..120 ssid-regexp=""
add action=reject allow-signal-out-of-range=10s disabled=yes signal-range=\
    -120..71 ssid-regexp=""
/caps-man manager
set ca-certificate=auto certificate=auto enabled=yes
/caps-man provisioning
add action=create-dynamic-enabled hw-supported-modes=ac,an \
    master-configuration="domaca Wifi 5Ghz"
add action=create-dynamic-enabled hw-supported-modes=gn master-configuration=\
    "domaca Wifi"
/interface bridge port
add bridge=bridge comment=defconf interface=ether1
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=ether6
add bridge=bridge comment=defconf interface=ether7
add bridge=bridge comment=defconf interface=ether8
add bridge=bridge comment=defconf interface=ether9
add bridge=bridge comment=defconf interface=ether10
add bridge=bridge comment=defconf interface=ether11
add bridge=bridge comment=defconf interface=ether12
add bridge=bridge comment=defconf interface=ether13
add bridge=bridge comment=defconf interface=ether14
add bridge=bridge comment=defconf interface=ether15
add bridge=bridge comment=defconf interface=ether16
add bridge=bridge comment=defconf interface=ether17
add bridge=bridge comment=defconf interface=ether18
add bridge=bridge comment=defconf interface=ether19
add bridge=bridge comment=defconf interface=ether20
add bridge=bridge comment=defconf interface=ether21
add bridge=bridge comment=defconf interface=ether22
add bridge=bridge comment=defconf interface=ether23
add bridge=bridge comment=defconf interface=ether24
add bridge=bridge comment=defconf interface=sfp-sfpplus1
add bridge=bridge comment=defconf interface=sfp-sfpplus2
/interface list member
add interface=ether3 list=Wifi
add interface=ether2 list=Wifi
add interface=ether1 list=WAN
add interface=ether2 list=LAN
add interface=ether3 list=LAN
add interface=ether4 list=LAN
add interface=ether5 list=LAN
add interface=ether6 list=LAN
add interface=ether7 list=LAN
add interface=ether8 list=LAN
add interface=ether9 list=LAN
add interface=ether10 list=LAN
add interface=ether11 list=LAN
add interface=ether12 list=LAN
add interface=ether13 list=LAN
add interface=ether14 list=LAN
add interface=ether15 list=LAN
add interface=ether16 list=LAN
add interface=ether17 list=LAN
add interface=ether18 list=LAN
add interface=ether19 list=LAN
add interface=ether20 list=LAN
add interface=ether21 list=LAN
add interface=ether22 list=LAN
add interface=ether23 list=LAN
add interface=ether24 list=LAN
add interface=sfp-sfpplus1 list=LAN
add interface=sfp-sfpplus2 list=LAN
/interface wireless cap
set bridge=bridge
/ip address
add address=192.168.100.1 disabled=yes interface=ether1 network=192.168.100.1
/ip dhcp-client
add disabled=no interface=bridge
/ip dhcp-server network
add address=192.168.100.44/32 caps-manager=192.168.100.44 gateway=192.168.0.1
/ip dns
set servers=8.8.8.8
/ip firewall nat
add action=masquerade chain=srcnat
/ip route
add distance=1 gateway=192.168.100.1
/system clock
set time-zone-name=Europe/Bratislava
/system identity
set name="Hlavny router"
/system routerboard settings
set boot-os=router-os
Last edited by sano456 on Tue Oct 05, 2021 10:51 pm, edited 2 times in total.
 
holvoetn
Forum Guru
Forum Guru
Posts: 5422
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Help with setup

Sat Oct 09, 2021 5:00 pm

Start by setting the channel frequencies to auto instead of fixing to rule out any issues there.
I see some discrepancies on the 2Ghz part, unless I am mistaking ?

This:
/caps-man channel
add band=2ghz-onlyn control-channel-width=20mhz frequency=2412,2437,2462 \
name=channel2GHz secondary-frequency=disabled

But then:
/caps-man configuration
add channel=channel2GHz channel.band=2ghz-onlyn \
channel.control-channel-width=20mhz channel.frequency=2412,2437,2472 \

Who is online

Users browsing this forum: No registered users and 21 guests