Community discussions

MikroTik App
 
eduardomazolini
newbie
Topic Author
Posts: 31
Joined: Thu Jul 16, 2015 9:14 pm

'/interface/wireless/scan','=.id=wlan1', '=rounds=1'

Thu Sep 29, 2016 4:03 pm

Hi,
I'm writing a script to get the result scan every 5s.
I use mikronode-ng but I think this is a problem RouterOS.
By sending the second command CPU lock in 100% it only happens if I send the parameter "rounds".
When sending =duration=3 for example it does not.
I'm completely disconnecting and connecting again in the tests I'm doing.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: '/interface/wireless/scan','=.id=wlan1', '=rounds=1'

Thu Sep 29, 2016 4:12 pm

if you are not using secure mode - you can sniff traffic and see what you send and what the router is replying.

Also, try one of the latest versions. I see no problems running that command using rounds.
 
eduardomazolini
newbie
Topic Author
Posts: 31
Joined: Thu Jul 16, 2015 9:14 pm

Re: '/interface/wireless/scan','=.id=wlan1', '=rounds=1'

Thu Sep 29, 2016 8:42 pm

I Use version 6.37 no secure.

Enviado de meu SM-G800H usando Tapatalk
 
eduardomazolini
newbie
Topic Author
Posts: 31
Joined: Thu Jul 16, 2015 9:14 pm

Re: '/interface/wireless/scan','=.id=wlan1', '=rounds=1'

Mon Feb 27, 2017 9:33 pm

I Found problem, was in api library, its solved.
https://github.com/f5eng/mikronode-ng/issues/17

Who is online

Users browsing this forum: No registered users and 26 guests