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

    Windows 10 UEFI PC opens from fog server but boots into Windows instead PXE

    Scheduled Pinned Locked Moved Solved
    Windows Problems
    5
    36
    18.6k
    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.
    • Wayne WorkmanW
      Wayne Workman @Quazz
      last edited by

      @Quazz I know, just was wanting to check if that fact has changed. Sebastian is always up to something.

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @hariskar
        last edited by

        @hariskar what’s the error you’re seeing with instant tasks? What about for scheduled tasks? Do they say there were started okay?

        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
        • hariskarH
          hariskar
          last edited by hariskar

          I use fog trunk 6957 and Firmware: DD-WRT v24-sp2 (02/04/15) mega

          The log is (times are correct):

          Instant Task:

          1 active task waiting to wake up.
          [03-30-16 8:28:12 am] | Sending WOL Packet(s)
          [03-30-16 8:28:12 am] - Host: ERGASTIRIO WOL sent to all macs associated

          Scheduled Task:

          [03-30-16 8:31:12 am] * Task run time: Wed, 30 Mar 2016 08:31:00 +0300
          [03-30-16 8:31:12 am] * Found a task that should run…
          [03-30-16 8:31:12 am] - Is a host based task.
          [03-30-16 8:31:12 am] - Unicast task found!
          [03-30-16 8:31:12 am] - Host ERGASTIRIO
          [03-30-16 8:31:12 am] - Tasks started for host ERGASTIRIO!
          [03-30-16 8:32:12 am] * 1 active task waiting to wake up.
          [03-30-16 8:32:12 am] | Sending WOL Packet(s)
          [03-30-16 8:32:12 am] - Host: ERGASTIRIO WOL sent to all macs associated
          [03-30-16 8:32:12 am] * No tasks found!
          [03-30-16 8:33:12 am] * 1 active task waiting to wake up.
          [03-30-16 8:33:12 am] | Sending WOL Packet(s)
          [03-30-16 8:33:12 am] - Host: ERGASTIRIO WOL sent to all macs associated
          [03-30-16 8:33:13 am] * No tasks found!

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by

            @Wayne-Workman said:

            @Sebastian-Roth Is that for proxy mode or non-proxy mode?

            Quazz is right! Just for the records, definitely not in proxy mode as far as I know. Too bad.

            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
            • S
              Sebastian Roth Moderator
              last edited by Sebastian Roth

              @hariskar said:

              But there is still some problem: fog can not boot both PCs.

              Is WOL (wake on LAN) enabled in BIOS/UEFI for both PCs ???

              PS: Updated the wiki article to use ‘dhcp-boot’ instead of ‘dhcp-option-force’ as I can’t think of why ‘dhcp-boot’ should not work for others as well. We’ll see. Please prove me wrong.

              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
              • hariskarH
                hariskar
                last edited by

                Yes of course. WOL was working in both PCs with undionly.PXE. After I put the 12 lines in DNSMasq it does not work with fog. But I can wake up my PCs from the routers interface.

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Sebastian Roth

                  @hariskar Can you make sure the WOL packets are sent to the network? Install tcpdump package on your FOG server and run tcpdump -i any -w wol.pcap port 9. Leave the command on the console and schedule a task for the PCs, check the logs for WOL packets being sent and then stop tcpdump (Ctrl-c). Please upload the wol.pcap file to the forum so we can have a look.

                  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
                  • hariskarH
                    hariskar
                    last edited by hariskar

                    0_1459400650652_wol.pcap

                    Fog Log Viewer/Service Master newest entry is 2 days ago, is this correct?

                    [03-27-16 2:20:17 pm] FOGTaskScheduler fork()ed child process (9831).
                    [03-27-16 2:20:17 pm] FOGTaskScheduler child process (9831) is running.
                    [03-29-16 12:55:48 pm] service_signal_handler (9812) received signal 15.
                    [03-29-16 12:55:48 pm] service_signal_handler (9812) killing child (9831).
                    [03-29-16 12:55:48 pm] service_signal_handler (9812) exiting.
                    [03-29-16 3:55:48 pm] FOGTaskScheduler Start
                    [03-29-16 3:55:48 pm] FOGTaskScheduler fork()ed child process (16875).
                    [03-29-16 3:55:48 pm] FOGTaskScheduler child process (16875) is running.
                    [03-29-16 3:57:05 pm] service_signal_handler (16859) received signal 15.
                    [03-29-16 3:57:05 pm] service_signal_handler (16859) killing child (16875).
                    [03-29-16 3:57:05 pm] service_signal_handler (16859) exiting.
                    [03-29-16 4:10:24 pm] FOGTaskScheduler Start
                    [03-29-16 4:10:24 pm] FOGTaskScheduler fork()ed child process (5292).
                    [03-29-16 4:10:24 pm] FOGTaskScheduler child process (5292) is running.
                    [03-29-16 5:52:09 pm] service_signal_handler (5273) received signal 15.
                    [03-29-16 5:52:09 pm] service_signal_handler (5273) killing child (5292).
                    [03-29-16 5:52:09 pm] service_signal_handler (5273) exiting.
                    [03-29-16 5:52:09 pm] FOGTaskScheduler Start
                    [03-29-16 5:52:09 pm] FOGTaskScheduler fork()ed child process (6073).
                    [03-29-16 5:52:09 pm] FOGTaskScheduler child process (6073) is running.

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by

                      @hariskar The PCAP file is completely empty. Either something went wrong with capturing or your server does not send WOL packets. The ServiceMaster Log looks ok to me! Please check the FOGScheduler log again. Change “Number of lines” to 1000 so you see it all. On (re)start the scheduler should print the FOG logo and then a couple of lines like:

                      Interface Ready with IP Address: ...
                      

                      Please post that part of the logs here.

                      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
                      • hariskarH
                        hariskar
                        last edited by

                        ###########################################
                         # Free Computer Imaging Solution #
                         # Credits: #
                         # http://fogproject.org/credits #
                         # GNU GPL Version 3 #
                         ###########################################
                        
                        [03-31-16 11:50:20 am] Interface Ready with IP Address: 94.69.139.243
                        [03-31-16 11:50:20 am] Interface Ready with IP Address: 192.168.1.5
                        [03-31-16 11:50:20 am] Interface Ready with IP Address: debian-server
                        [03-31-16 11:50:20 am] Interface Ready with IP Address: ppp-94-69-139-243.home.otenet.gr
                        [03-31-16 11:50:20 am] * Starting TaskScheduler Service
                        [03-31-16 11:50:20 am] * Checking for new items every 60 seconds
                        [03-31-16 11:50:20 am] * Starting service loop
                        [03-31-16 11:50:20 am] * 0 active tasks waiting to wake up.
                        [03-31-16 11:50:20 am] * No tasks found!
                        [03-31-16 11:51:20 am] * 0 active tasks waiting to wake up.
                        [03-31-16 11:51:20 am] * No tasks found!
                        [03-31-16 11:52:20 am] * 0 active tasks waiting to wake up.
                        [03-31-16 11:52:20 am] * No tasks found!
                        
                        1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator
                          last edited by

                          @hariskar said:

                          [03-31-16 11:52:20 am] * 0 active tasks waiting to wake up.
                          [03-31-16 11:52:20 am] * No tasks found!

                          Did you actually schedule a task when capturing the PCAP dump?? Sorry for asking those questions but I cannot help myself. WOL is working great here and I cannot reproduce what’s going wrong on your system.

                          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
                          • hariskarH
                            hariskar
                            last edited by hariskar

                            Sebastian, sorry for confusing you. The log above is just from Scheduler restart, without any task. I upload here a new wol.pcap where you should see a packet from an instant task.0_1459415578972_wol.pcap

                            [03-31-16 12:14:22 pm] * 1 active task waiting to wake up.
                            [03-31-16 12:14:22 pm] | Sending WOL Packet(s)
                            [03-31-16 12:14:22 pm] 		- Host: ergastirio WOL sent to all macs associated
                            [03-31-16 12:14:22 pm] * No tasks found!
                            
                            
                            1 Reply Last reply Reply Quote 0
                            • S
                              Sebastian Roth Moderator
                              last edited by

                              @hariskar Thanks for log info and the new PCAP. It’s empty again… I am kind of lost with this. Will check the code to see how we can further debug this.

                              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
                              • S
                                Sebastian Roth Moderator
                                last edited by

                                @hariskar Please get another pcap dump and while it is waiting access this URL from your browser: http://192.168.1.5/fog/management/index.php?node=client&sub=wakeEmUp&mac=00:00:00:00:00:01 (put in your client’s MAC address instead)

                                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
                                • hariskarH
                                  hariskar
                                  last edited by

                                  I re-installed fog and everything works fine! 🙂

                                  1 Reply Last reply Reply Quote 1
                                  • hariskarH
                                    hariskar
                                    last edited by

                                    As I said everything works great! Thank you again for great support!

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

                                    185

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project