During these days, i was working on snooper commands. The feature is awsome, but it has 3 possible outputs, "stations", "networks" and the default one "frequencies".
So, it's easy to run the command from terminal, then you can switch from the default mode "frequencies" to "stations" or "networks" mode or even dump the console to a file. Then, i write a script that run the command and send the output to file during 30s, but it print only the "frequencies" mode".
Code: Select all
{
:local j [:execute {/interface wireless snooper snoop interface=wlan1} file="report";];
:delay 10s;
:do { /system script job remove $j } on-error={}
}
The problem here is how can get the script to show me the station report ?
Best.