[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: 961
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: 694
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: 694
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.
XT350TT

Re: [request feature] wake up on lan

Post by XT350TT »

Is there any way to point that wol.zip to specific terminals (PXE boot without hdd in thinclient) ?
I want to start the vm for each thinclient, when thinclient boots.
When i put the zip in folder Everyone, it works without issues, but just for one mac addr..
Thanks !
akatik
SUPPORT
SUPPORT
Posts: 694
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: [request feature] wake up on lan

Post by akatik »

Generate multiple .zip files with different names, one for each vm. Put them all into Everyone. In terminal config in extra= option specify name of .zip that wakes vm needed for this terminal.
XT350TT

Re: [request feature] wake up on lan

Post by XT350TT »

Thank you, sounds good, i will try that.

On multiconnection config, is it possible to call a script when login into sessions?
When a VM is offline, I want to start it from the multiconnection panel in wtware.
Greetings
Post Reply