Close Entirely Wireless Scan

Hello i have a RouterBoard

i close the wireless interface through the interface wireless D button

but when i am in terminal with the command

“interface wireless scan “ then “0”

the card is Disabled the led is diabled

but the terminal report nearby wireless names BSSID and SSID with MACs

any change to full close the AP Scan Mode ?

thanks

Simply don't launch the scan, you're the one who triggers it...

The point of the request isn't clear.

Q: How can I keep the match from burning when I light it?
A: Don't light it...

yo

the card is disabled

software lock

how is it able to make a scan?

does the command “scan” enables the interface?

thanks

Yes, scan does enable the interface ... or rather, it disables it for normal purposes (e.g. AP or station) and uses it to scan surroundings. After scan is finished, the interface returns to its previous state (if it was disabled prior to running scan, then it becomes disabled again).

@mkx I think the user wants to know how to completely disable the interface so that even scanning isn't possible...

Hence my answer...

Yes ... I understand it. But your answer doesn't tell how not to allow scan after wireless interface is disabled, your answer says not to start the scan. But what if the interface was disabled by different admin that the one trying to run scan? I don't see any harm in running scan if interface is disabled (because it doesn't interfere with anything).

But if @atropos89 is actually asking how to prevent wireless interface being used for scanning: by using hardware disablement tool (e.g. soldering iron or a cutting device) to ultimately disable wireless interface.
As always: if software can disable it, then software (could be another piece of code) enable it.

Maybe it is harmless, but it is illogical, the OP is correct in asking that if something is disabled, it should be disabled, when you manually initiate a scan on a disabled interface, in a perfect world RouterOS should throw an error like "Cannot scan from a disabled interface" or similar and reject the command.

È comodo così com'è. Aggiungere "logica" rompe solo le scatole.

It's convenient as is. Adding "logic" compromises usability.

Whatever happens, this doesn't prevent you from reactivating the interface and running the scan anyway...

So, a hardware fix will do the trick...
(Or simply buy a device without wireless, if you must not use it. THAT makes logic...)

And then users come by asking why they can't use wireless on such a device (have seen it passing by recently for Hex ...).

But... :person_facepalming:

Yeah, indeed ...

Some Faraday cage enclosure should work too to prevent scan results and wifi signal from device (not actual scan operation).

Thanks all

yes its bring the interface up without the led

and its scan with the command

the solutions is to remove the card

or buy a faraday cage

Thanks all xD