Community discussions

MikroTik App
 
cocktail
newbie
Topic Author
Posts: 40
Joined: Thu Mar 08, 2018 1:27 am

What can I do with mode button on MikroTik hAP ac2?

Tue Mar 27, 2018 10:14 am

I searched the forum, and it seems to be configurable via `/system routerboard mode-button`
Is there any documentation that explains how to configure mode button?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26381
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: What can I do with mode button on MikroTik hAP ac2?

Tue Mar 27, 2018 11:15 am

 
cocktail
newbie
Topic Author
Posts: 40
Joined: Thu Mar 08, 2018 1:27 am

Re: What can I do with mode button on MikroTik hAP ac2?

Tue Mar 27, 2018 12:07 pm

I'm impressed with configurability and useability of RouterOS although documentation can improve.
The product brochures can refer to https://wiki.mikrotik.com/wiki/Manual:R ... ode_button
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26381
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: What can I do with mode button on MikroTik hAP ac2?

Tue Mar 27, 2018 12:21 pm

RouterOS has thousands of features. We will not reference each feature with links to manual. There is a search function after all.
 
cocktail
newbie
Topic Author
Posts: 40
Joined: Thu Mar 08, 2018 1:27 am

Re: What can I do with mode button on MikroTik hAP ac2?

Tue Mar 27, 2018 1:01 pm

RouterOS has thousands of features. We will not reference each feature with links to manual. There is a search function after all.
If I search google with "mode button site:http://wiki.mikrotik.com", https://wiki.mikrotik.com/wiki/Manual:R ... D_settings is not on the first page of the search results.
Also, on google search results, it's not obvious that RouterBOARD_settings is related to mode buttons unless one is already familiar with RouterOS.
It should become easier to find.
 
cocktail
newbie
Topic Author
Posts: 40
Joined: Thu Mar 08, 2018 1:27 am

Re: What can I do with mode button on MikroTik hAP ac2?

Tue Mar 27, 2018 5:33 pm

After reading https://wiki.mikrotik.com/index.php?tit ... ldid=29628,
I realized that you added the mode button section today. It was no surprise that it didn't turn up in the google search results.
Last edited by cocktail on Wed Mar 28, 2018 2:09 am, edited 1 time in total.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26381
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: What can I do with mode button on MikroTik hAP ac2?

Tue Mar 27, 2018 5:44 pm

This is a new product and the feature was added only a few weeks ago. Thanks for reminding us about the manual.
 
sid5632
Long time Member
Long time Member
Posts: 554
Joined: Fri Feb 17, 2017 6:05 pm

Re: What can I do with mode button on MikroTik hAP ac2?

Wed Mar 28, 2018 1:24 am

What the wiki doesn't tell you is that this feature doesn't work on 6.41 or earlier, so you need to install 6.42rc (which does not have a release version at time of writing).
This really should be specified somewhere.
 
User avatar
juliokato
Member Candidate
Member Candidate
Posts: 228
Joined: Mon Oct 26, 2015 4:27 pm
Location: Brazil

Re: What can I do with mode button on MikroTik hAP ac2?

Wed Mar 28, 2018 3:16 am

RouterOS has thousands of features. We will not reference each feature with links to manual. There is a search function after all.
If I search google with "mode button site:http://wiki.mikrotik.com", https://wiki.mikrotik.com/wiki/Manual:R ... D_settings is not on the first page of the search results.
Also, on google search results, it's not obvious that RouterBOARD_settings is related to mode buttons unless one is already familiar with RouterOS.
It should become easier to find.
:D :D
Documentation is always left behind.
 
cocktail
newbie
Topic Author
Posts: 40
Joined: Thu Mar 08, 2018 1:27 am

Re: What can I do with mode button on MikroTik hAP ac2?

Wed Mar 28, 2018 5:06 am

:D :D
Documentation is always left behind.
https://wiki.mikrotik.com/index.php?tit ... ldid=29628 tells me that the documentation on mode button was created by normis after I created this thread.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26381
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: What can I do with mode button on MikroTik hAP ac2?

Wed Mar 28, 2018 9:21 am

Are you even reading the responses on this forum or just complaining ?
 
Airis777
just joined
Posts: 6
Joined: Wed Jul 11, 2018 8:34 am

Re: What can I do with mode button on MikroTik hAP ac2?

Wed Jul 11, 2018 4:06 pm

Someone faced a delay in running the script when the Mode button is clicked?
 
Tester007
just joined
Posts: 13
Joined: Mon Apr 08, 2013 5:58 pm

Re: What can I do with mode button on MikroTik hAP ac2?

Thu Jul 12, 2018 3:45 am

Yes, I'm facing the delays too. Sometimes it looks like my hap lite just don't recognize I pressed a button on it, and some time later (~ 5-30 sec) it will recognize it and react to it.
Also today it seemed like the script on the button was running twice: enabling wireless interface for a short period of time, then disabling it after ~10 sec. I added comment to the start of it, so now I will see for sure if script is running twice for one press or it's something else.

I'm using next script for the button to disable/enable wireless interface:
:log info message=("mode button was pressed");
:local i
:if ( [/int wir get 0 disabled ] = true ) do={
:foreach i in= [ /int wir find ] do={ :int wir enable $i };
} else={
:foreach i in= [ /int wir find ] do={ :int wir disable $i };
}
 
Airis777
just joined
Posts: 6
Joined: Wed Jul 11, 2018 8:34 am

Re: What can I do with mode button on MikroTik hAP ac2?

Thu Jul 12, 2018 9:56 am

Yes, I'm facing the delays too. Sometimes it looks like my hap lite just don't recognize I pressed a button on it, and some time later (~ 5-30 sec) it will recognize it and react to it.
Also today it seemed like the script on the button was running twice: enabling wireless interface for a short period of time, then disabling it after ~10 sec. I added comment to the start of it, so now I will see for sure if script is running twice for one press or it's something else.

I'm using next script for the button to disable/enable wireless interface:
:log info message=("mode button was pressed");
:local i
:if ( [/int wir get 0 disabled ] = true ) do={
:foreach i in= [ /int wir find ] do={ :int wir enable $i };
} else={
:foreach i in= [ /int wir find ] do={ :int wir disable $i };
}
I propose to continue discussing this issue in this thread viewtopic.php?f=9&t=136670
 
Madauser
just joined
Posts: 1
Joined: Mon Apr 06, 2020 3:56 pm

Re: What can I do with mode button on MikroTik hAP ac2?

Mon Apr 06, 2020 4:08 pm

Hi everyone, I'm a real newbie concerning routeur configuration.
I need help on how to add a WPS printer. Is that possible in maintaining the mode button? FYI the router is a package of the internet provider and any access is locked.
Thanks in advance.

Who is online

Users browsing this forum: No registered users and 158 guests