Remote shutdown and restart
-
- Posts:102
- Joined:Wed Mar 22, 2017 10:05 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
or, if you have a password set:
Restart:
(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.
Shutdown
Code: Select all
http://<VBox IP>/cgi-bin/ManageApp/ManageApp?OPTION=48&shutdown_action=Shutdown+System+
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+
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.
- admin@vbox
- Site Admin
- Posts:354
- Joined:Mon Jan 16, 2017 11:20 am
Re: Remote shutdown and restart
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
Re: Remote shutdown and restart
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!
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'

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

Thank you all
Script for asuswrt in file /jffs/scripts/services-start executed at the start of the router
#!/bin/sh
sleep 3m
curl "http://<VBox IP>/cgi-bin/ManageApp/ManageApp?OPTION=48&restart_action=Restart+System+"
VBox XTi-3442 DVB-T/T2
Re: Remote shutdown and restart
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:
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
[vboxg]
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 = 192.168.1.10
Re: Remote shutdown and restart
Hi has this stopped working on the latest firmware 2.65?
im using /cgi-bin/ManageApp/ManageApp?OPTION=48&restart_action=Restart+System+
but now is coming up with an error unable to load the correct page.
cheers
im using /cgi-bin/ManageApp/ManageApp?OPTION=48&restart_action=Restart+System+
but now is coming up with an error unable to load the correct page.
cheers
Re: Remote shutdown and restart
This has changed since XTI_VJ.2.64.3 firmware version. Now the command for system restart is:
Code: Select all
curl 'http://VBOX_IP/cgi-bin/HttpControl/HttpControlApp?OPTION=1&Method=SystemRestart'
VBox XTi-3442 DVB-T/T2
-
- Posts:102
- Joined:Wed Mar 22, 2017 10:05 am
Re: Remote shutdown and restart
I've just update my firmware and discovered the issue with restarting. Thanks to @cubimol for posting the new Restart command here.
Can anyone help with the new shutdown command please? I have scripts for both (for the old firmware) but haven't worked how to shutdown the Vboxusing the new commands yet.
I've tried substituting Halt and Shutdown instead of Restart in the command above but neither works.
Thanks
Can anyone help with the new shutdown command please? I have scripts for both (for the old firmware) but haven't worked how to shutdown the Vboxusing the new commands yet.
I've tried substituting Halt and Shutdown instead of Restart in the command above but neither works.
Thanks
Re: Remote shutdown and restart
Hi.tarmacalastair wrote: ↑Wed Nov 11, 2020 12:30 pmCan anyone help with the new shutdown command please?
Try this one:
Code: Select all
http://vbox_ip/cgi-bin/HttpControl/HttpControlApp?OPTION=1&Method=SystemShutDown
-
- Posts:102
- Joined:Wed Mar 22, 2017 10:05 am
Re: Remote shutdown and restart
Well I never! I could have sworn I'd just tried that earlier without success.
Anyway I pasted it from your suggestion and it worked! Must have made a typo or something earlier.
Many thanks!
Anyway I pasted it from your suggestion and it worked! Must have made a typo or something earlier.
Many thanks!