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

    WOL Not working FOG .32

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    15
    7.8k
    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.
    • B
      Blackout Developer
      last edited by

      Did you look in ‘FOG Settings’ like i asked?

      1 Reply Last reply Reply Quote 0
      • Y
        yogipaolo
        last edited by

        Yes, sorry I forgot to mention that.

        I went to the UI, other information > fog settings:
        FOG_WOL_HOST server_ip
        FOG_WOL_PATH /fog/wol/wol.php
        FOG_WOL_INTERFACE eth0

        1 Reply Last reply Reply Quote 0
        • B
          Blackout Developer
          last edited by

          ‘server_ip’ was 172.17.14.206, right?

          1 Reply Last reply Reply Quote 0
          • Y
            yogipaolo
            last edited by

            Ha!
            I changed FOG_WOL_HOST server_ip
            To FOG_WOL_HOST localhost
            and now it works!

            1 Reply Last reply Reply Quote 0
            • B
              Blackout Developer
              last edited by

              Next i would test that the WOL script is being called correctly.

              On the FOG server 172.17.14.206, run:
              [code]tail -f /var/log/apache2/access.log[/code]
              Now execute a WOL, you should see the WOL call in this access log. If you dont, then the call is never getting to Apache.

              [I]NOTE: You will see other URL calls here from FOG / FOG Clients… make sure you are looking at the right IP[/I]

              1 Reply Last reply Reply Quote 0
              • Y
                yogipaolo
                last edited by

                I see this when executing a WOL from advanced task menu
                [CODE]::1 - - [18/Dec/2011:20:23:37 -0500] “GET /fog/wol/wol.php?wakeonlan=f0🇩🇪f1:9e:d9:10 HTTP/1.1” 200 192 “-” “-”
                [/CODE]

                1 Reply Last reply Reply Quote 0
                • Y
                  yogipaolo
                  last edited by

                  [quote=“Blackout, post: 120, member: 1”]‘server_ip’ was 172.17.14.206, right?[/quote]
                  That is correct.

                  1 Reply Last reply Reply Quote 0
                  • B
                    Blackout Developer
                    last edited by

                    The log reports HTTP 200, so the page GET was successful and the PHP page was processed. Did the WOL event work?

                    If not, what happens if you manually go to below, does it work?
                    [url]http://172.17.14.206/fog/wol/wol.php?wakeonlan=f0🇩🇪f1:9e:d9:10[/url]

                    It looks like its working as intended. There should be zero difference between you manually requesting that page and FOG requesting (its basically the same thing)

                    This sounds like some sort of configuration issue.

                    The next step would to tcpdump and see what the traffic is doing.
                    You will need to dump from your server and from your client to get a full picture of what is going on.
                    You want to check if the client is receiving the WOL Magic packet or not.
                    It should be a broadcast UDP packet to port 7 or 9 with a total of 102 bytes. 6 bytes of nulls, followed by the clients MAC address 16 times.

                    1 Reply Last reply Reply Quote 0
                    • B
                      Blackout Developer
                      last edited by

                      Here is the wireshark wiki page on WOL.

                      [url]http://wiki.wireshark.org/WakeOnLAN[/url]

                      That is what you are looking for. You want to verify the WOL packet is getting to your client.

                      1 Reply Last reply Reply Quote 0
                      • E
                        Egbert Verhage
                        last edited by

                        I have too, if I test whit the command [I]wakeonlan [mac][/I] it works fine.
                        But if i test it whit [url]http://10.0.0.1/fog/wol/wol.php?wakeonlan=40:61:86:01:72:43[/url] it[COLOR=#000000] send [/COLOR][COLOR=navy][COLOR=#000000] nothing.[/COLOR][/COLOR]

                        1 Reply Last reply Reply Quote 0
                        • P
                          pijltje
                          last edited by

                          I have the Same issue manualy wol is working ok
                          I use the menu option in FOG (.32) nothing is happening!

                          192.168.48.150 - - [15/Jun/2012:14:51:17 +0200] “GET /fog/management/index.php?node=tasks&confirm=406&type=host&direction=wol&singlescheddate=&cronMin=min&cronHour=hour&cronDOM=dom&cronMonth=month&cronDOW=dow HTTP/1.1” 200 1606 “[url]http://fog/fog/management/index.php?node=tasks&type=host&direction=wol&noconfirm=406[/url]” “Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5”
                          192.168.48.150 - - [15/Jun/2012:14:51:17 +0200] “GET /favicon.ico HTTP/1.1” 404 496 “-” “Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5”

                          1 Reply Last reply Reply Quote 0
                          • E
                            Elias Santiago
                            last edited by

                            I am having the same problem, I am running the FOG server under Hyper-V on Windows 2008R2 datacenter. Could the virtualized network adapter (legacy network) on Hyper-V cause this?

                            It does not work either manually or thru the menu. I have used a WOL utility from the same subnet and it works. FOG does not seem to be sending any WOL packet.

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

                            252

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project