Send Telnet commands from RB´s script to direct host

Hi everybody!!

I´ve searching a lot how to send a command via telnet from a script running on RouterOS 4.10 and i can´t find it.

Detailed functioning:

The RB is connected via a satellital link in the middle of the desert, there is no people there :confused: , and some special equipment(can´t execute any kind of code or script language :frowning: ) is using the RB.
The problem is that sometimes the satellital link breaks because the "antenna system" is failing. And the only way to recover the link is resetting the "antenna system" via TELNET commands. Since this app is standalone the commands have to be send by the RB, so i need to create a script that opens a telnet and send some strings.
My problem is that when i open a telnet from a script i can´t send the commands in an automatic way..

ANY IDEAS??? :smiley:

Kind regards....

It is not possible directly from routeros. To make this work you can use special-login
or you can run expect script on a remote machine that will telnet to mikrotik router and then telnet further to satellite device.

Thank´s
I supposed that it was impossible to do it from Ros.

Do you know is there is any pin on the RB to use as a controlled output?

only fan pins AFAIK