Page 1 of 1

[request feature] wake up on lan

Posted: Sat May 04, 2019 7:20 pm
by jktz84
Would it be possible to implement a feature like WOL (sendind UDP packet ) so we do not have to start the terminalserver manually? I think there would be many cases where this feature would be helpful.

Re: [request feature] wake up on lan

Posted: Sun May 05, 2019 10:37 am
by aka
Wake up terminal SERVER?

Re: [request feature] wake up on lan

Posted: Wed May 08, 2019 4:31 pm
by jktz84
Yes exactly.
In my case (and I assume in many others too) the terminalserver is only on during work hours. Id would be pretty nice to have a feature so that my WTware could wake up my terminalserver.
At the moment I have to go into the basement every morning and turn the terminalserver on (unlock rack enclosure, boot up).

Re: [request feature] wake up on lan

Posted: Tue May 14, 2019 4:46 pm
by jktz84
I found a command which I can use to turn on my terminalserver

"echo -e $(echo $(printf 'f%.0s' {1..12}; printf "$(echo macadress | sed 's/://g')%.0s" {1..16}) | sed -e 's/../\\x&/g') | nc -w1 -u -b 192.168.178.99 4000"

Where can I place the script with this command so that WTware starts it while booting?

Re: [request feature] wake up on lan

Posted: Thu May 16, 2019 6:26 am
by akatik
There are neither sed no nc in wtware. We'll think about your task. I'll write here when we implement something to test.

Re: [request feature] wake up on lan

Posted: Mon May 20, 2019 6:20 am
by akatik
1. Download, install, boot this build: http://wtware.com/testing/201905191839.zip

2. Download: http://wtware.com/files/wol.zip

Unpack, change mac in 'runme' file (file name without extension!) and pack to zip again. Put to /configs/ folder on terminal boot disk. May use terminal web interface to upload file on terminal disk.

3. In terminal config write:

extra=wol.zip

4. Reboot. On boot, terminal unpack wol.zip and run 'ether-wake' to wake your server.