2015-03-30, 09:52
Hi KenV99,
Advanced_WOL ist already installed and used by Kodi on my NUC - this way the idea with rsync is born...
But just this moment I found the ethtool in Openelec, has a switch for WOL.
Edit: Bad, only for setting the local port. - Searching continues.
Edit2: Just found this:
#!/usr/bin/env python
import socket
s=socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
s.sendto('\xff'*6+'\xQQ\xQQ\xQQ\xQQ\xQQ\xQQ'*16, ("255.255.255.255",9))
- It works perfectly!!!
If this works for me, then most problems have gone. Then I will write some shell-code for this job.
(looked into Python-doc -- puuuhh, some overkill I think)
Advanced_WOL ist already installed and used by Kodi on my NUC - this way the idea with rsync is born...
But just this moment I found the ethtool in Openelec, has a switch for WOL.
Edit: Bad, only for setting the local port. - Searching continues.
Edit2: Just found this:
#!/usr/bin/env python
import socket
s=socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
s.sendto('\xff'*6+'\xQQ\xQQ\xQQ\xQQ\xQQ\xQQ'*16, ("255.255.255.255",9))
- It works perfectly!!!
If this works for me, then most problems have gone. Then I will write some shell-code for this job.
(looked into Python-doc -- puuuhh, some overkill I think)