88. Reboot Mikrotik Router by SMS Remote



You can contact me: plus.google.com/+PhallaCCMT; youtube.com/phallaccmt; facebook.com/Phalla.CCMT; twitter.com/PhallaCCMT and Phalla.CCMT@gmail.com

Reboot Script

:local CurDate [/system clock get date] 
:local CurTime [/system clock get time] 

/tool sms send usb2 "078272270" message="Router is reboot by SMS Remote at $CurTime $CurDate"

/system reboot


Now from your mobile phone, send the following sms to mikrotik router.

:cmd 12345 script Reboot

Explanation of above command:

:cmd = tell mikrotik to execute the command.
12345 = is the secret/password that we set in the SMS setting.
script = tells Mikrotik to execute script function.
Reboot = is the script name that we want Mikrotik run.
Previous
Next Post »