Hi guys, I would like to get wlan1 frequency (wlan1 is set as client) as value inside a script to avoid wlan2 (set as AP) frequency could overlap wlan1.
I’ve found script examples on the forum working for eth interfaces but not for wireless.
/inter wireless monitor [find name="wlan1"] once do={:global avoid1 $"frequency" }
Just schedule this, set on failover 1 and 2 the right frequencies for your country, leave 60MHz between the two failover frequencies.
This do not only check if are overlapped frequencies, but also leave 20MHz of channel space between AP and Client
I do hope this is a standalone network not connected to internet.
If its connected to internet, you should upgrade. 6.19 are very old an have many security flaws.
Offtopic
I updated firmware but ROs dfs is a nightmare due to false “radar detected” and too long waiting times; I had only two options, move to Ubiquiti or came back to 6.19 and manage dfs by my own through script. Network is not connected to internet.
/interface wireless
set wlan1 country=debug frequency-mode=superchannel tx-power-mode=all-rates-fixed tx-power=15 wps-mode=disabled station-roaming=disabled
>
It's fun to see the superchannel "solution" recommended; often no-one mentions it, possibly in the hope that if we never speak its name Mikrotik won't remove it.
I notice you didn't explain what it does... ;)
I wonder what "el barto" did in the end?
I notice you didn’t explain what it does… ;)<<<
often no-one mentions it, possibly in the hope that if we never speak its name Mikrotik won’t remove it<<<