Remote shutdown and restart

VBox how to guides, documentations and general tips
Post Reply
Posts: 96
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.


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+


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
Site Admin
Posts: 340
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

Posts: 47
Joined: Mon Dec 11, 2017 7:50 am

Re: Remote shutdown and restart

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


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!

With the program curl, you can shutdown your vbox per terminal/script
Linux: curl ' ... 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 an Windows:
· c:\tools\curl.exe ' ... 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

Posts: 9
Joined: Sun Feb 18, 2018 11:52 am

Re: Remote shutdown and restart

Post by cubimol » Mon Nov 26, 2018 9:02 pm

:idea: Fantastic!, I created a script on my router to do a reboot of my VBox (after restarting the router itself to change IP). My problem was that VBox does not remember the username and password to access the network storage when it loses it because of the router restart.

Thank you all

Script for asuswrt in file /jffs/scripts/services-start executed at the start of the router

sleep 3m
curl "http://<VBox IP>/cgi-bin/ManageApp/ManageApp?OPTION=48&restart_action=Restart+System+"
VBox XTi-3442 DVB-T/T2

Posts: 8
Joined: Tue Feb 27, 2018 6:16 pm

Re: Remote shutdown and restart

Post by simpz » Thu Nov 29, 2018 4:48 am

Yeah I find an overnight restart of vbox keeps it pretty stable.

Sadly I also had the credential for the network storage going. I ended up changing a samba config to allow an fully open (no credentials) from the vbox IP. May not be an option on a NAS I guess. But here are my smb.conf additions , I have a local vbox account for all his stuff:

Code: Select all

        ; Vbox needs in global section with newer samba
        ntlm auth = yes
        client ntlmv2 auth = yes
        guest account = vbox

        path = /home/vbox
        writable = yes
        guest ok = yes
        create mask = 666
        force create mode = 666
        security mask = 666
        force security mode = 666
        directory mask = 0777
        force directory mode = 0777
        directory security mask = 0777
        force directory security mode = 0777
        hosts allow =

Post Reply