Remote shutdown and restart

VBox how to guides, documentations and general tips
Post Reply
tarmacalastair
Posts: 92
Joined: Wed Mar 22, 2017 10:05 am

Remote shutdown and restart

Post by tarmacalastair » Wed May 31, 2017 11:20 am

Just a little tip to remotely reboot or shutdown your box for when it inevitably plays up and you need to restart it. This can be done from an Android phone using "HTTP Request Shortcuts" or similar so you don't need to find a PC/tablet.

Shutdown

Code: Select all

http://<VBox IP>/cgi-bin/ManageApp/ManageApp?OPTION=48&shutdown_action=Shutdown+System+
or, if you have a password set:

Code: Select all

http://user:password@<VBox IP>/cgi-bin/ManageApp/ManageApp?OPTION=48&shutdown_action=Shutdown+System+


Restart:

Code: Select all

http://<VBox IP>/cgi-bin/ManageApp/ManageApp?OPTION=48&restart_action=Restart+System+
(add user/pass if needed like above)

Could we have some help from Support please to restart services in this way? I've found that restarting the Streamer service in the past has brought my Vbox back to life much quicker than a reboot.

User avatar
admin@vbox
Site Admin
Posts: 293
Joined: Mon Jan 16, 2017 11:20 am

Re: Remote shutdown and restart

Post by admin@vbox » Sun Jun 25, 2017 1:04 pm

Sorry it took long time to reply - but here is the command to restart the Streamer

Code: Select all

http://<VBox IP>/cgi-bin/HttpControl/HttpControlApp?OPTION=1&Method=RestartStreamer

nepo
Posts: 42
Joined: Mon Dec 11, 2017 7:50 am

Re: Remote shutdown and restart

Post by nepo » Sun Apr 22, 2018 12:43 pm

hi

How I can use these http request with a terminal/console (Linux) or a bash script?
I want to use tvheadend with Post-processor command or bash script with cron !

Thanks and bye nepo!

@EdithBox
With the program curl, you can shutdown your vbox per terminal/script
Linux: curl 'http://192.168.0.63/cgi-bin/ManageApp/M ... n=Shutdown'
Windows @VBox Support Shutdown Remotely Can be done by this way:
There is also executable for Windows, that can be downloaded.

The usage is:
· Curl.exe
For example to shutdown the device with IP 192.168.0.63 an Windows:
· c:\tools\curl.exe 'http://192.168.0.63/cgi-bin/ManageApp/M ... n=Shutdown'

:!: Important: Use quote => curl 'xxxx'

Bye nepo!
vbox xti 3442 (cable) version 2.58 with usb device
Raspberry/Raspbian with Kodi 17, Mobil with Android 7, Amd64 Ubuntu16.4

Post Reply