I have setup the CPE’s wireless connect list but i discovered when i run winbox remotely and try from winbox terminal
/interface wireless scan wlan1
to scan it disconnects the link (as normal ) but does not restore previous AP association unlike running terminal locally it does ?
The reason i want to scan CPE’s wireless remotely is as more AP’s are put on the network, i may need to change the connect list order, I don’t want to scan locally each CPE
so if could have a script that would
(1) countdown - say 2mins to reboot
(2) included or manually /interface wireless scan wlan1
(2) save the scan so on reboot it could be checked which AP connect list order should be used
I can’t say I’ve tried this, but the below might work as a script. You can’t initiate a reboot in two minutes and then scan - you’ll have to scan first, and then reboot:
Then you can’t save the output of a scan to file. You’d have to either use the API or something like expect via SSH/Telnet to remotely run the commands.
Thanks but i note you were using RouterOS 5.0beta4, when i try using ssh scan on version 3.30 I have to use code:
[Client_test19@Client_test19] /interface wireless> scan
– Item number
duration –
freeze-frame-interval – Interval on how often to perform the scanning
Tried pptp but once again when wireless connectivity is lost so is the result of scan when i try to execute
[Client_test19@Client_test19] /interface wireless> scan wlan1 duration=10s
As mentioned if i could only save the scan?
Another Q is should pptp connection be displayed in the ppp active connections, see picture
as Client_test19 which i was using at test is missing from ppp active list but reappears when i select pppoe ?