spectral-scan: syntax & example

The manual page:
http://wiki.mikrotik.com/wiki/Manual:Spectral_scan
shows what the options are called and what they do, but not how to actually enter the command (this would presumably be more obvious to someone with more experience).

When I try to run the example on this page (via the terminal)
interface wireless spectral-scan
number: wlan1
it returns the error “failure: allowed ranges [2402;2494]”.

After typing in “spectral-scan”, the letter “r” auto-completed to “range=”, and “2” → “2.4ghz” (which is one of the values mentioned in the manual) but the error still occurred.

Dustin

try spectral-history - much better tool. Also set range to 2000-3000 or whatever you want.

Your syntax in the CLI is wrong.

The number it is looking for is the interface number. If you only have one wlan card, it is most likely 0.

So correct command would be:
/interface/wireless spectral-scan
number: 0

If you want to add different options, you would do that in the initial command. For example:

/interface/wireless spectral-scan range=2412-2462 show-interference=yes [add more options or hit tab to see available options]
number: 0