👍
On 3/04/2020 7:10 p.m., Piviul wrote:
ivanmarcus ha scritto il 01/04/20 alle 15:37:
First of all you can check if the WOL function is working correcly in
the machine you're trying to wake up by using the 'wakeonlan' command
from your Guacamole machine.
eg. wakeonlan 2D:4A:54:58:FB:FA (obviously changing the MAC to the
correct one for your target machine). Etherwake would also do the
same job.
If wakeonlan isn't installed just apt-get install wakeonlan (assuming
a debian-based distro).
If that doesn't work you'll need to sort out the target machine.
Otherwise if it does work then there could be a problem with the
format of the macs.list file, or the id number/MAC in the macs.list
file isn't correct for that connection.
To check this out - tail catalina.out when you attempt a connect to
the machine and ensure the connection number is the same as that in
the macs.list file (with associated MAC for that machine).
The WOL part of the code is fairly standard, but if all else fails
you could try something like this (save it into a new file, eg
wol2.py, and run it same as the other - you may need to change the
location of the macs.list file, and catalina.out if you're using a
different version of Tomcat):
Thank you very much indeed; in effect I was trying to test your script
with a notebook that was connected to the lan using the wireless card
and the wireless doesn't seems to support WOL... (^_^;)
Any way with network cards WOL capable your script seems to work very
well...
Thank you very much!
Piviul
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org