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

Use fog with Windows Server 2008 R2 DHCP

Scheduled Pinned Locked Moved
FOG Problems
3
24
3.3k
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.
  • C
    Carbonnier Alexandre @Sebastian Roth
    last edited by Jun 8, 2020, 6:34 PM

    @Sebastian-Roth

    image001.png

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Jun 8, 2020, 6:55 PM

      @Carbonnier-Alexandre Ok, that looks fine if 192.168.21.195 is your FOG server. Can you PXE boot other machines? Is it just those NUCs having an issue?

      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

      C 1 Reply Last reply Jun 9, 2020, 6:38 AM Reply Quote 0
      • C
        Carbonnier Alexandre @Sebastian Roth
        last edited by Jun 9, 2020, 6:38 AM

        @Sebastian-Roth I only have NUCs I will try with my laptop now and come back to you

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Jun 9, 2020, 8:06 AM

          @Carbonnier-Alexandre Just be aware this is an PXE setup only capable of PXE booting UEFI machines! But from the output you posted the NUC actually does try to PXE in UEFI mode. Just saying this in case you can’t PXE boot the laptop either. Make sure it’s set to UEFI and you should see the UEFI specific message “Start PXE over IPv4” as well.

          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

          C 1 Reply Last reply Jun 11, 2020, 5:41 PM Reply Quote 0
          • G
            george1421 Moderator
            last edited by Jun 9, 2020, 11:26 AM

            From the text you posted originally, one might think the nuc is pxe booting in bios mode. I know the nucs pxe boot because I have them on my campus and they image just fine with FOG.

            Your 2008 dhcp server will be a tripping point for you since 2008 dhcp server doesn’t support dynamic pxe booting like 2012 dhcp server and later. There is a service you can install on your fog server to provide dynamic pxe booting while you keep using the main windows 2008 dhcp server. That linux service is call dnsmasq. I have a tutorial how to install dnsmasq on your fog server. It will take about 10 minutes to install and to make operational. https://forums.fogproject.org/topic/12796/installing-dnsmasq-on-your-fog-server

            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!

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Jun 9, 2020, 12:07 PM

              @george1421 said in Use fog with Windows Server 2008 R2 DHCP:

              From the text you posted originally, one might think the nuc is pxe booting in bios mode.

              Why do you think so? I’d say the “Checking Media Presence, Media Present, Start PXE over IPv4” is clearly UEFI PXE boot.

              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

              G 1 Reply Last reply Jun 9, 2020, 12:17 PM Reply Quote 0
              • G
                george1421 Moderator @Sebastian Roth
                last edited by Jun 9, 2020, 12:17 PM

                @Sebastian-Roth said in Use fog with Windows Server 2008 R2 DHCP:

                Why do you think so?

                I would have to grab a nuc to prove it, but I would think it would say something about nbf if it was in uefi mode (having a picture would speak volumes). The dhcp server appears to be configured correctly for uefi systems, so as long as the nuc is on a routable network it should pxe boot.

                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!

                1 Reply Last reply Reply Quote 1
                • C
                  Carbonnier Alexandre @Sebastian Roth
                  last edited by Jun 11, 2020, 5:41 PM

                  @Sebastian-Roth Hi, i try with my laptop, and it display this 818F6DC0-F238-4D9C-A091-A6D7E0E8A791_1_105_c.jpeg

                  G 1 Reply Last reply Jun 11, 2020, 7:06 PM Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by Jun 11, 2020, 6:55 PM

                    @Carbonnier-Alexandre Well, NBP filezize is 0 Bytes is telling us it cannot properly receive the file via TFTP. Please follow the troubleshooting guide: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_TFTP

                    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
                    • G
                      george1421 Moderator @Carbonnier Alexandre
                      last edited by Jun 11, 2020, 7:06 PM

                      @Carbonnier-Alexandre Your picture says a lot about the problem.

                      Can you install a ms windows native feature on your computer and plug it into this same subnet (192.168.21.x). Please add the windows feature tftp client to this test computer then once installed open a cmd window and key in the following tftp 192.168.21.195 GET ipxe.efi . We only care that the file is downloaded from the fog server. We don’t care about the file itself.

                      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!

                      C 1 Reply Last reply Jun 11, 2020, 7:09 PM Reply Quote 0
                      • C
                        Carbonnier Alexandre @george1421
                        last edited by Jun 11, 2020, 7:09 PM

                        @george1421 I’m testing it tomorow, i’m not on my network now. Thanks guys

                        1 Reply Last reply Reply Quote 0
                        • C
                          Carbonnier Alexandre
                          last edited by Aug 20, 2020, 8:34 AM

                          Hi,

                          I’m back, so i have already same problem. My NUC try to boot and display this :IMG_1321.jpg

                          My dhcp it’s already setup…

                          Need help. Please.

                          Thanks guys have a nice day.

                          G 1 Reply Last reply Aug 20, 2020, 11:28 AM Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by Sebastian Roth Aug 20, 2020, 3:50 AM Aug 20, 2020, 9:49 AM

                            @Carbonnier-Alexandre Ok, client gets an IP and tries to connect to the TFTP server to get the PXE boot image file. This part times out. Either the server IP is incorrect (should be FOG server IP), the filename is wrong or a firewall is blocking the file transfer. Please post a picture of your DHCP server settings and let us know about your network setup! Is the FOG server in the 192.168.21.x network or in a different subnet?

                            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

                            C 1 Reply Last reply Aug 20, 2020, 12:59 PM Reply Quote 0
                            • G
                              george1421 Moderator @Carbonnier Alexandre
                              last edited by Aug 20, 2020, 11:28 AM

                              @Carbonnier-Alexandre If your dhcp server is setup correctly (192.168.21.10) then lets grab a pcap (packet capture) of what the client is being told to do. While there are a few steps involved its the quickest way to get the answer.

                              https://forums.fogproject.org/topic/9673/when-dhcp-pxe-booting-process-goes-bad-and-you-have-no-clue

                              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!

                              C 1 Reply Last reply Aug 20, 2020, 12:31 PM Reply Quote 0
                              • C
                                Carbonnier Alexandre @george1421
                                last edited by Aug 20, 2020, 12:31 PM

                                @george1421 I make tcpdump test and i have this

                                image004.png image003.png image002.png image001.png

                                Thanks a lot. Have a nice day

                                G 1 Reply Last reply Aug 20, 2020, 1:59 PM Reply Quote 0
                                • C
                                  Carbonnier Alexandre @Sebastian Roth
                                  last edited by Aug 20, 2020, 12:59 PM

                                  @Sebastian-Roth my dhcp config

                                  image007.png

                                  G 1 Reply Last reply Aug 20, 2020, 2:03 PM Reply Quote 0
                                  • G
                                    george1421 Moderator @Carbonnier Alexandre
                                    last edited by Aug 20, 2020, 1:59 PM

                                    @Carbonnier-Alexandre Will you upload the pcap to a file share site and then either post the link here or DM me the link so I can look at the actual pcap file?

                                    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!

                                    C 1 Reply Last reply Aug 20, 2020, 2:33 PM Reply Quote 0
                                    • G
                                      george1421 Moderator @Carbonnier Alexandre
                                      last edited by Aug 20, 2020, 2:03 PM

                                      @Carbonnier-Alexandre But putting together just what I see in the screen shots, I think the target computer is a bios based one and you are sending ipxe.efi to it. Again the pcap will tell us exactly what is going on, but the error screen you showed us looks like a bios pxe boot screen but in dhcp option 67 you have ipxe.efi listed. A uefi boot screen should say something about NBF (network boot file) and not the message about PXE-M0F. At least that is what I think.

                                      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!

                                      1 Reply Last reply Reply Quote 1
                                      • C
                                        Carbonnier Alexandre @george1421
                                        last edited by Aug 20, 2020, 2:33 PM

                                        @george1421 sorry.

                                        The file : output.pcap

                                        Thanks for you help

                                        G 1 Reply Last reply Aug 20, 2020, 2:57 PM Reply Quote 0
                                        • G
                                          george1421 Moderator @Carbonnier Alexandre
                                          last edited by george1421 Aug 20, 2020, 8:58 AM Aug 20, 2020, 2:57 PM

                                          @Carbonnier-Alexandre

                                          The short answer is if you look in the pcap in the DHCP DISCOVER packet, then dhcp option 93, you will see the pxe booting computer is saying hello I’m a bios based system {IA x86 PC ( 0 ) }. You are sending the bootloader for a uefi system (ipxe.efi) which will not boot a bios based computer. Change dhcp option 67 to undionly.kpxe and the target computer will boot.

                                          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!

                                          C 1 Reply Last reply Aug 20, 2020, 3:03 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          • First post
                                            Last post

                                          186

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project