Porteus Kiosk Turn On and Off
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
-
- Ronin
- Posts: 1
- Joined: 01 Nov 2017, 16:44
- Distribution: 4.0
Porteus Kiosk Turn On and Off
I am looking for a way to turn on and off my Kiosk via IP commands. I can use a wake on lan command to turn my computers on. But I am unsure how to turn my computers off at night via an IP command. Is this possible? Also is there a way to send an IP command to the kiosk to get a status message showing that the kiosk is still running?
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Porteus Kiosk Turn On and Off
1) you could enable ssh access to the kiosk during installation and then use following script to power it off:
2) allow ping in the wizard and then use ping utility to check if kiosk is still online
Thanks
Code: Select all
#!/bin/bash
sshpass -p root_password ssh -oUserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@kiosk_IP -t "halt"
Thanks
Please add [Solved] to your thread title if the solution was found.