Community discussions

MikroTik App
 
JoeriBe
just joined
Topic Author
Posts: 7
Joined: Tue Sep 10, 2013 10:03 am

Automatic change to best available channel.

Thu Aug 21, 2014 9:25 am

Hi,

I use a crs125-24g-1s-2hnd-in for my network at home.
The problem I have is that lost of hotspots are in the neighbourhood, so I want the mikrotik to change wifi channel on a regular base to choose the best available.

Is there a script that does this? How to achieve this?

Some info:

# aug/21/2014 08:22:01 by RouterOS 6.18
# software id = 8RHL-504S
name="wlan1" mtu=1500 mac-address=D4:CA:6D:XX:XX:XX arp=enabled disable-running-check=no interface-type=Atheros AR9300
      radio-name="D4CA6DFBXXXX" mode=ap-bridge ssid="XXX" area="" frequency-mode=manual-txpower country=no_country_set antenna-gain=0
      frequency=auto band=2ghz-b/g/n channel-width=20/40mhz-ht-above scan-list=default wireless-protocol=any rate-set=default
      supported-rates-b=1Mbps,2Mbps,5.5Mbps,11Mbps supported-rates-a/g=6Mbps,9Mbps,12Mbps,18Mbps,24Mbps,36Mbps,48Mbps,54Mbps
      basic-rates-b=1Mbps basic-rates-a/g=6Mbps max-station-count=2007 distance=indoors tx-power-mode=default
      noise-floor-threshold=default nv2-noise-floor-offset=default periodic-calibration=default periodic-calibration-interval=60
      dfs-mode=none wds-mode=disabled wds-default-bridge=none wds-default-cost=100 wds-cost-range=50-150 wds-ignore-ssid=no
      update-stats-interval=disabled bridge-mode=enabled default-authentication=yes default-forwarding=yes default-ap-tx-limit=0
      default-client-tx-limit=0 proprietary-extensions=post-2.9.25 wmm-support=disabled hide-ssid=no security-profile=Home
      disconnect-timeout=3s on-fail-retry-time=100ms preamble-mode=both compression=no allow-sharedkey=no
      station-bridge-clone-mac=00:00:00:00:00:00 ht-ampdu-priorities=0 ht-guard-interval=any
      ht-supported-mcs=mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,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
      ht-basic-mcs=mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7 ht-txchains=0,1 ht-rxchains=0,1 ht-amsdu-limit=8192
      ht-amsdu-threshold=8192 tdma-period-size=2 nv2-queue-count=2 nv2-qos=default nv2-cell-radius=30 nv2-security=disabled
      nv2-preshared-key="" hw-retries=7 frame-lifetime=0 adaptive-noise-immunity=none hw-fragmentation-threshold=disabled
      hw-protection-mode=none hw-protection-threshold=0 frequency-offset=0 rate-selection=advanced multicast-helper=default
      multicast-buffering=enabled
Do you have any suggestions?
Thx for you input!
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12008
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Automatic change to best available channel.

Thu Aug 21, 2014 6:44 pm

simply leave the wifi on frequency=auto, and schedule this on appropriate interval: (1h???)
/interface wireless disable [find];/delay delay-time=5s;/interface wireless enable [find];
DO NOT REMOVE DELAY BETWEEN INSTRUCTIONS!!!
 
JoeriBe
just joined
Topic Author
Posts: 7
Joined: Tue Sep 10, 2013 10:03 am

Re: Automatic change to best available channel.

Fri Aug 22, 2014 11:09 am

Will test and schedule this to run every night.

Thx!
 
Arcee
Member Candidate
Member Candidate
Posts: 272
Joined: Fri Jun 27, 2014 2:33 pm

Re: Automatic change to best available channel.

Sat Jan 03, 2015 5:45 am

Did this work?

Anyone else tried this? Is this the best approach?
 
JoeriBe
just joined
Topic Author
Posts: 7
Joined: Tue Sep 10, 2013 10:03 am

Re: Automatic change to best available channel.

Mon Jan 05, 2015 9:37 am

Works, but not an effective methode.
Still looking for a better solution.

Who is online

Users browsing this forum: No registered users and 17 guests