Securifi Community Forum
Securifi Products => Almond and Almond A1A => Topic started by: papayaman on February 06, 2015, 08:31:25 pm
-
Just wondering if there is a easier way to restart the router other than just unplugging it. I know Almond has a console command box in the GUI, is there a command to restart from there?
I ask because sometimes when I am not near the router it would be easier to restart the router remotely.
-
Well it is fairly easy. I'am using this shell script on my linux maschine to reboot the almond and activate telnetd afterwards (replace #ADMIN-PW# and #ALMOND-IP# with your own):
wget --quiet --tries=1 --http-user=admin --http-password=#ADMIN-PW# --post-data 'command=reboot' http://#ALMOND-IP#/goform/SystemCommand
sleep 180
wget --quiet --tries=1 --http-user=admin --http-password=#ADMIN-PW# --post-data 'command=telnetd' http://#ALMOND-IP#/goform/SystemCommand