• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

WOL not working for all hosts in group

Scheduled Pinned Locked Moved Solved
FOG Problems
2
7
1.2k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    Dark000
    last edited by Dark000 Jul 12, 2017, 7:07 AM Jul 12, 2017, 9:38 AM

    Server
    • FOG Version: 1.4.4
    • OS: Cent0S 7.3
    Client
    • Service Version:
    • OS: Win10
    Description

    I upgraded from 1.2 to 1.4.4. Now wol for single host works normally. Wol for groups doesn’t. What i found out is that if the group has low number of hosts of no more than 6 then it works even for the groups. But if there is more it doesn’t. Then some computers wake up and some don’t.

    1 Reply Last reply Reply Quote 0
    • D
      Dark000 @Tom Elliott
      last edited by Jul 12, 2017, 8:00 PM

      @Tom-Elliott Thank you for the workaround. It works now, so that will give me the time to look into network issue. Thanks again, you always come through.

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Jul 12, 2017, 12:04 PM

        So WOL IS working for groups? It’s only after a certain number that it doesn’t for “some” machines? Just guessing, but Multicast filtering is enabled on your network?

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • D
          Dark000
          last edited by Jul 12, 2017, 12:18 PM

          Yes that is correct (the topic title could be better formed). If i put those hosts that didn’t power on into new group (or individual host wol) the wol works but again only until there are less than 6 members. I am guessing that Multicast filtering is enabled because the thing is that wol worked for the whole group (more than 6) in 1.2 version of fog. Can i somehow troubleshoot the issue inside the fog or do you think this could be network issue.

          1 Reply Last reply Reply Quote 0
          • T
            Tom Elliott
            last edited by Jul 12, 2017, 12:39 PM

            If I had to guess, it sounds like a network problem. In 1.2.0 WOL occurred 1 host at a time. While this worked, if you had a large group, it blocked the FOG Server until all hosts in the group had received the wol packet. In newer versions of FOG we are handling it much more efficiently, but it’s likely “spamming” the network all at once causing the problem you’re seeing.

            Again this is only a guess. I would highly suggest looking at the network though as it’s the first guess I can think of causing the systems to not boot all at once.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • D
              Dark000
              last edited by Jul 12, 2017, 1:06 PM

              Then it is definitely network issue. If it is not too much of a trouble is it possible to get fog 1.2 wol functionality back (where its 1 host at a time). I know the new way is more efficient but just until i can figure out the network issue.

              T 1 Reply Last reply Jul 12, 2017, 1:44 PM Reply Quote 0
              • T
                Tom Elliott @Dark000
                last edited by Tom Elliott Jul 12, 2017, 7:44 AM Jul 12, 2017, 1:44 PM

                @Dark000 For your own needs, I’ll say, open the file: /var/www/fog/lib/fog/wakeonlan.class.php

                At line 70 insert a newline after $mac->wake($SendTo, self::$_port); that reads sleep(1);

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                D 1 Reply Last reply Jul 12, 2017, 8:00 PM Reply Quote 1
                • D
                  Dark000 @Tom Elliott
                  last edited by Jul 12, 2017, 8:00 PM

                  @Tom-Elliott Thank you for the workaround. It works now, so that will give me the time to look into network issue. Thanks again, you always come through.

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  1 / 1
                  • First post
                    2/7
                    Last post

                  188

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project