• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. fdrouard
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    fdrouard

    @fdrouard

    0
    Reputation
    312
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    fdrouard Unfollow Follow

    Latest posts made by fdrouard

    • Wake On Lan With FOG on Debian

      Hello,

      We have a VM that run Debian 8.4 with FOG installed on it and another on Ubuntu.

      We have problems with the Wake On Lan on the Debian FOG but this is fonctionnaly on the Ubuntu FOG. We use it with a php script that permit to send broadcast on other vlans like below :
      <?php
      // Require FOG Base
      require(‘…/commons/base.inc.php’);
      try
      {
      $MACAddress = new MACAddress($_REQUEST[‘wakeonlan’]);
      if ($MACAddress->isValid())
      {
      $wol = new WakeOnLan($MACAddress->getMACWithColon());
      $wol->send();
      exec ( “/usr/bin/wakeonlan -i 172.18.19.255” . " " . $MACAddress ); #broadcast vers vlan eleves
      exec ( “/usr/bin/wakeonlan -i 172.18.25.255” . " " . $MACAddress ); #broadcast vers vlan profs
      exec ( “/usr/bin/wakeonlan -i 172.18.21.255” . " " . $MACAddress ); #broadcast vers vlan tertiaire
      }
      else
      throw new Exception($foglang[‘InvalidMAC’]);
      } catch (
      Exception $
      e){print $
      e->getMessage();}

      When I run wake on lan with ip adress broadcast parameter and mac adress, the magic packet wake the machine but when we run : http://10.149.11.67/fog/wol/wol.php?wakeonlan=F8:CA:B8:56:B7:8C, nothing is happening. The url send us a Not Found on this server.

      Can you have some ideas at this subject and can you help me ?

      Well cordially,
      DROUARD Florian

      posted in FOG Problems wol fog wakeonlan debian 8
      F
      fdrouard