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

    alexandh

    @alexandh

    0
    Reputation
    268
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    alexandh Unfollow Follow

    Latest posts made by alexandh

    • RE: WOL RC7 Not working

      @Tom-Elliott said in WOL RC7 Not working:

      tcpdump -i ens32 -ttttvvvvnS port 9

      Had to fix an issue with RC-2+ because boot.php fatal error and now fully working on 1.4.0-RC-8 : https://forums.fogproject.org/topic/9864/could-not-boot

      UDP packets are now emitted!
      2017-04-25 09:49:44.255319 IP (tos 0x0, ttl 64, id 49724, offset 0, flags [DF], proto UDP (17), length 130)
          xxx.xxx.xxx.xxx.49978 > 255.255.255.255.9: [bad udp cksum 0x46e7 -> 0x4499!] UDP, length 102
      2017-04-25 09:49:44.255528 IP (tos 0x0, ttl 64, id 2545, offset 0, flags [DF], proto UDP (17), length 130)
          xxx.xxx.xxx.xxx.39928 > xxx.xxx.xxx.255.9: [bad udp cksum 0x8de9 -> 0x24d9!] UDP, length 102
      

      Some clients work now.
      Looks good.

      posted in FOG Problems
      A
      alexandh
    • RE: Could not boot

      @Tom-Elliott said in Could not boot:

      ing your storage node IP to

      I had the same problem starting from 1.4.0-RC-2 . Added another storage node with the fog-server ip and some fantasy user/password -> works

      posted in FOG Problems
      A
      alexandh
    • RE: WOL RC7 Not working

      @alexandh
      This means the problem should be in the _msg code or at creating $ip…

      posted in FOG Problems
      A
      alexandh
    • RE: WOL RC7 Not working

      @Tom-Elliott
      This does not work neither does any wake task or wake tasks with deploy or upload…

      I tested a script imitating the code with creating the socket and that works:

      <?php
      $msg=sprintf(
                      '%s%s',
                      str_repeat(chr(255), 6),
                      str_repeat("901B0ECA8977", 16)
                  );
      
      /**
               * Assume return will be true for now.
               */
              /**
               * Create our socket resource
               */
              $sock = @socket_create(
                  AF_INET,
                  SOCK_DGRAM,
                  SOL_UDP
              );
              /**
               * If failed, immediately return.
               */
              if ($sock == false) {
                  return false;
              }
              /**
               * Set our coket options
               */
              $set_opt = @socket_set_option(
                  $sock,
                  SOL_SOCKET,
                  SO_BROADCAST,
                  true
              );
              /**
               * If invalid close socket and return immediately.
               */
              if ($set_opt < 0) {
                  @socket_close($sock);
                  return false;
              }
              /**
               * Send our wake up packet.
               */
              $sendto = @socket_sendto(
                  $sock,
                  $msg,
                  strlen($msg),
                  0,
                  "255.255.255.255",
                  9
              );
              /**
               * If failed set return to false;
               */
              if (!$sendto) {
                  $ret = false;
              }
              /**
               * Close the socket.
               */
              @socket_close($sock);
              /**
               * Return value
               */
      
      ?>
      

      tcpdump says then:
      IP xxx.xxx.xxx.xxx.45962 > 255.255.255.255.9: UDP, length 198

      posted in FOG Problems
      A
      alexandh
    • RE: WOL RC7 Not working

      We have the same problem, that WOL is not working

      Indeed the problems do not reflect a WOL problem.

      We updated from fog 0.32 to 1.3.5 . After that WOL is not working. Same with 1.4.0-RC-8.
      I monitored the output on the network card with tcpdump with the result that no packets are generated. With the wakeonlan command, the packet is generated and the client wakes up…

      posted in FOG Problems
      A
      alexandh