Reboot URL?

All about WTware on Raspberry. WTware works with Raspberry Pi 4, Raspberry Pi 3B+, Pi 3 and Pi 2 devices
http://www.winterminal.com
Post Reply
jzholzer
Posts: 17
Joined: Fri May 19, 2017 8:38 pm

Reboot URL?

Post by jzholzer »

There is a reboot button available on the administration web page, but it's in the form of a form submission button. That's not very convenient to allow me to throw a reboot link on our supervisory scada system. I'd rather not present all the admin stuff to the great unwashed by displaying the whole web page. Is there a hidden URL that can trigger a reboot? I can't work out how to drive a form submit from a URL
J1mbo
Posts: 57
Joined: Mon Mar 14, 2016 6:24 pm

Re: Reboot URL?

Post by J1mbo »

eg from a Linux box, wget http://[ip-address]/reboot

In my opinion it is a DoS security risk though, it should be authenticated.
akatik
SUPPORT
SUPPORT
Posts: 630
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: Reboot URL?

Post by akatik »

In last version, if Setup/HTTPS password is specified, It's already authenticated and works only over https, i.e.:

Code: Select all

wget --user=wtware --password=123 --no-check-certificate https://[ip-address]/reboot
Where 123 is a Setup/HTTPS password.
J1mbo
Posts: 57
Joined: Mon Mar 14, 2016 6:24 pm

Re: Reboot URL?

Post by J1mbo »

Excellent, thanks for posting this.
Post Reply