[request feature] wake up on lan

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
jktz84

[request feature] wake up on lan

Post by jktz84 » Sat May 04, 2019 7:20 pm

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.

aka
SUPPORT
SUPPORT
Posts: 670
Joined: Fri Dec 03, 2004 2:05 pm
Contact:

Re: [request feature] wake up on lan

Post by aka » Sun May 05, 2019 10:37 am

Wake up terminal SERVER?

jktz84

Re: [request feature] wake up on lan

Post by jktz84 » Wed May 08, 2019 4:31 pm

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).

jktz84

Re: [request feature] wake up on lan

Post by jktz84 » Tue May 14, 2019 4:46 pm

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?

akatik
SUPPORT
SUPPORT
Posts: 369
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: [request feature] wake up on lan

Post by akatik » Thu May 16, 2019 6:26 am

There are neither sed no nc in wtware. We'll think about your task. I'll write here when we implement something to test.

akatik
SUPPORT
SUPPORT
Posts: 369
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: [request feature] wake up on lan

Post by akatik » Mon May 20, 2019 6:20 am

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.

Post Reply