Reboot zyxel by telnet.

Good, English I not, am using a translator. I need script that does ping to an Internet address and if to the 3 times it does not respond that (zyxel) accedes via telnet when router of ADSL it reinitiates and it. The options to reboot zyxel are, 24, 4 and 21.

Thank you very much

Have you already solved this problem? If yes, how?

i have just done this some years ago using a perl EXPECT script, but i don’t know if mikrotik support perl scripts, is someone can help, please let us know. thanks

You can’t do this from RouterOS. ROS has integrated scripting language which is not capable of logging into remote routers and send commands.

What is this scripting language?

http://wiki.mikrotik.com/wiki/Scripting