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

    UEFI PXE boot

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    39
    8.1k
    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.
    • S
      Sebastian Roth Moderator
      last edited by

      @tesparza Do you have a single DHCP server in your network? We have seen occasions where a pair of DHCP server not synced properly are causing a PXE boot 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

      T 1 Reply Last reply Reply Quote 1
      • T
        tesparza @Sebastian Roth
        last edited by

        @Sebastian-Roth I’m a school campus, part of a school district. Each school has its own DHCP server. But the computer in my campus can only get IP’s from my DHCP because the IDF in my campus has the IP helper to route to my DHCP server.

        george1421G 1 Reply Last reply Reply Quote 0
        • george1421G
          george1421 Moderator @tesparza
          last edited by george1421

          @tesparza said in UEFI PXE boot:

          because the IDF in my campus has the IP helper to route to my DHCP server

          So this tells me your pxe booting client is on a different subnet than your dhcp server? Is your fog server on the same subnet as your dhcp server? That pcap will tell us what is going on, especially if there is another actor we don’t know about. If the pxe client is on a different subnet, then take a laptop with wireshark to capture that side of the pxe booting. It won’t give us the same level of detail as from the FOG server, but at least we can see what the pxe client is saying as well as the dhcp 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!

          T 1 Reply Last reply Reply Quote 0
          • T
            tesparza @george1421
            last edited by tesparza

            @george1421 No DHCP server is on the same subnet, it is local in that campus. The problem is it always just looks for undionly.kpxe it never attemps to boot from ipxe.efi even though i put the correct vendor and add the policy option 66 and 67

            george1421G 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @tesparza
              last edited by

              @tesparza I can appreciate that. The way the policies work is that if there isn’t an exact match with the policy the dhcp server will send out the default you have configured for dhcp option 67, which is of course undionly.kpxe. I can tell you for certain that the FOG wiki page about bios/uefi coexistence does work because I have my dhcp server setup exactly the same way as the wiki.

              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!

              T 1 Reply Last reply Reply Quote 0
              • T
                tesparza @george1421
                last edited by

                @george1421 what do you think I’m doing wrong. I’m putting the PXEClient:Arch:00007 exactly because the binary matches the wiki pics. I know it has something to do with my DHCP server. Just don’t know what else to check

                george1421G 1 Reply Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @tesparza
                  last edited by

                  @tesparza Well I’m still waiting to see the pcap of the pxe booting process. If nothing else it will tell us where the problem is not. Right now all we know it its not working. The tcpdump results you posted is suspect, since it only captured the tftp part of the pxe boot steps. I’m expecting to see a dhcp discover, offer, request, and ack packets. The details of those packets will give us a clue to what is not working.

                  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!

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    tesparza @george1421
                    last edited by

                    @george1421 okay I will post tomorrow, I not at work right now. Was trying to post but tcpdump wasn’t allowing me, something about being root preventing me from capturing.

                    george1421G 1 Reply Last reply Reply Quote 0
                    • george1421G
                      george1421 Moderator @tesparza
                      last edited by george1421

                      @tesparza do you have the centos firewall on? I would think you would have imaging issues if it was enabled.

                      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!

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        tesparza @george1421
                        last edited by

                        @george1421 it’s enabled, but has the exception specified in the wiki guided

                        george1421G 1 Reply Last reply Reply Quote 0
                        • george1421G
                          george1421 Moderator @tesparza
                          last edited by

                          @tesparza for the purpose of these testing please stop the centos firewall with systemctl stop firewalld then use tcpdump command. We need to see packets that would normally be dropped by the firewall.

                          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!

                          T 1 Reply Last reply Reply Quote 1
                          • T
                            tesparza @george1421
                            last edited by tesparza

                            @george1421 said in UEFI PXE boot:

                            systemctl stop firewalld
                            https://drive.google.com/open?id=14zDpA9fW6P6qE4Xs6J5Cpgvw4ZClQUd6

                            link to the capture

                            george1421G 1 Reply Last reply Reply Quote 0
                            • george1421G
                              george1421 Moderator @tesparza
                              last edited by

                              @tesparza Hint: look at the forum chat bubble for additional info

                              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!

                              T 3 Replies Last reply Reply Quote 0
                              • T
                                tesparza @george1421
                                last edited by george1421

                                @george1421 [mod note: linked removed because it contained sensitive data - geo]

                                1 Reply Last reply Reply Quote 0
                                • T
                                  tesparza @george1421
                                  last edited by

                                  @george1421 https://drive.google.com/file/d/1CqqzV3NZey74vw-CaOhQjEjTcwYN4glK/view?usp=sharing

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    tesparza @george1421
                                    last edited by

                                    @george1421 0_1536950052139_Screen Shot 2018-09-14 at 1.33.25 PM.png

                                    george1421G 1 Reply Last reply Reply Quote 0
                                    • george1421G
                                      george1421 Moderator @tesparza
                                      last edited by george1421

                                      @tesparza Update: after the OP supplied a clean pcap and reviewing it, we’ve determined that the issue is with the dhcp server. The target computer is behaving exactly as it has been told.

                                      So lets focus back onto your dhcp server can you post a screen shot of your dhcp vendor classes? (Hint: the free application GreenShot or the Windows clipping tool will give us a better resolution picture. I like greenshot because it gives you the tools to annotate the picture.)

                                      Your vendor classes should look like mine.
                                      0_1536950567636_70afb2ad-c22e-41bd-b69a-3831d840d71d-image.png

                                      The xscale entry is not necessary for almost 100% of the installations. Your vendor class fields must match exactly what I have under the description.

                                      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!

                                      george1421G T 2 Replies Last reply Reply Quote 0
                                      • george1421G
                                        george1421 Moderator @george1421
                                        last edited by

                                        @george1421 Then in the policy for the scope in question (could also be a global scope, but make sure you don’t have any local overrides) your polices should be set up similar. Just be aware you will need one policy for each vendor class you setup. Here is an example of one.

                                        On the conditions tab you setup what to match in the packet
                                        0_1536950886939_ade90cf9-7c7a-457f-9764-c60e9fa6fee8-image.png

                                        Then on the options tab, you need to set dhcp option 67 to the boot file you need. In this case its ipxe.efi.
                                        0_1536950949738_d5865ddb-d88e-4b67-9e08-9460ab71c988-image.png

                                        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!

                                        T 1 Reply Last reply Reply Quote 0
                                        • T
                                          tesparza @george1421
                                          last edited by

                                          @george1421 0_1536951271937_Screen Shot 2018-09-14 at 1.54.17 PM.png

                                          george1421G 1 Reply Last reply Reply Quote 0
                                          • george1421G
                                            george1421 Moderator @tesparza
                                            last edited by

                                            @tesparza Well OK that one looks perfect. What about the policy now? Will you post images from the tabs I referenced below?

                                            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
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post

                                            192

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project