[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 »

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: 939
Joined: Fri Dec 03, 2004 2:05 pm
Contact:

Re: [request feature] wake up on lan

Post by aka »

Wake up terminal SERVER?
jktz84

Re: [request feature] wake up on lan

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

Re: [request feature] wake up on lan

Post 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?
akatik
SUPPORT
SUPPORT
Posts: 630
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: [request feature] wake up on lan

Post 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.
akatik
SUPPORT
SUPPORT
Posts: 630
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: [request feature] wake up on lan

Post 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.
Post Reply