Wake On LAN Bug workaround

From FOG Project
Revision as of 09:09, 12 September 2008 by Xibeaga (talk | contribs) (New page: == Wake On LAN does not work with etherwake == FOG-Version: 0.21 etherwake is located in: /usr/sbin/etherwake The wol.php sourcecode reveals two things: * FOG expects it here: /sbin * i...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Wake On LAN does not work with etherwake

FOG-Version: 0.21

etherwake is located in: /usr/sbin/etherwake

The wol.php sourcecode reveals two things:

  • FOG expects it here: /sbin
  • it is expected to have a DIFERENT NAME(!) *argh* (ether-wake)

solution:

  • become root
  • ln -s /usr/sbin/etherwake /sbin/ether-wake OR cp /usr/sbin/etherwake /sbin/ether-wake
  • visudo

add this line: www-data ALL=(ALL) NOPASSWD: /sbin/ether-wake

WOL should work now. At least it does at my site.

Best Regards, Roland