Hauptmenü

WOL broken

Begonnen von andyclimb, 31 Oktober 2013, 17:30:55

Vorheriges Thema - Nächstes Thema

andyclimb

Hi,

I've been using the WOL package for quite some time now, I believe I've upgraded to 5.5 and it does not work anymore..

The computer will wake using another program just fine.  WakeOnLan v1 for the MAC.

I have the following log entry in FHEM, but i am not sure if that was there before.
[mediaPC] system command '/usr/bin/ether-wake' not found

I am running Ubuntu 13.04 (GNU/Linux 3.8.0-31-generic x86_64).

any help would be appreciated.  I'm not sure if an ubuntu update has broken this or a them update, or both.  but it has worked flawlessly for nearly a year now. 

Regards

Andrew
AM

andyclimb

I have found a bit of a fix for it

you need to edit the 98_WOL.pm and find the following line

  my $sysCmd = AttrVal($hash->{NAME}, "sysCmd", "/usr/bin/ether-wake");

and change it to

  my $sysCmd = AttrVal($hash->{NAME}, "sysCmd", "/usr/bin/wakeonlan");

you may have to run

sudo apt-get install etherwake

AM