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

    PXE-032

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    9
    769
    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.
    • Y
      Yanni
      last edited by Yanni

      Good afternoon,

      I am currently working on running FOG on Ubuntu 22.04. I have ran through setup following the instructions here:

      https://www.ceos3c.com/linux/install-fog-server-ubuntu-server/?expand_article=1

      I am running a TPLink Omada Router as the dhcp gateway.

      Whenever I try and pxe boot from another computer or my virtual machine, I get the same error. PXE-032 TFTP open timeout.

      I can run tftp -v x.x.x.x -m binary -c get undionly,kpxe on linux vm and from windows with success.
      tftp_linux.jpg

      tftp_windows.png

      Router Settings:

      Router_Lan.png

      port_forward.png

      TFTPD-HPA :

      TFTPD-HPA.png

      Firewall is disabled.

      I have tried so many different things and am at a complete loss. Any assistance would be great!

      Thanks

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

        @Yanni That isn’t exactly what I asked for, but it does tell me what I suspected. See the target computer at .10, its trying to tftp the boot file from your firewall and not the fog server. If you set your capture filter (not display filter) to port 67 or port 68 it will only pick up the DORA communications. You want to look at the offer packet, my bet is the firewall is setting its own IP as the boot server. Your picture kind of shows the results of what I’m saying.

        If you have a misbehaving soho router, we can fix that by installing dnsmasq on your fog server to override what your dhcp server is telling the client to do.

        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
        • george1421G
          george1421 Moderator @Yanni
          last edited by

          @Yanni Well lets see if we can find the problem. I have a good idea, but lets see if we can find it.

          First while this isn’t “the” problem it might cause you an issue.

          1. Change your dhcp scope to not include the FOG server. Set the starting address for dhcp to 10 or something more than 2.
          2. Make sure your fog server has a static IP address and it doesn’t change after FOG is installed. The FOG Installer hard codes some IP addresses into the configuration so it make it a bit more difficult to change the fog server’s IP afterwards.

          Do you know how to use wireshark? If yes then configure a boot filter of port 67 or port 68 . Have your wireshark computer on the same subnet as the pxe booting computer and start wireshark. Now pxe boot the target computer until you get the tftp error. Stop wireshark. You should have a Discover, Offer, Request, Ack packet DORA. Look in the Offer packet from your dhcp server, in the ethernet header there should be a next-server and then boot-file values. That should be the fog server’s IP address and undionly.kpxe. Now look into the dhcp options, dhcp options 66 and 67 should be set correctly. I have seen firewalls ignore the boot server info and always put the firewall’s IP address in for the boot server. I suspect that is the problem here.

          If you don’t have/know wireshark then you can use this tutorial to collect the pcap using the fog server: https://forums.fogproject.org/topic/9673/when-dhcp-pxe-booting-process-goes-bad-and-you-have-no-clue?_=1696275644673 You can then post the pcap to a file share site and either post the link here or DM me using FOG Chat and I will take a look at it.

          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!

          Y 2 Replies Last reply Reply Quote 0
          • Y
            Yanni
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • Y
              Yanni @george1421
              last edited by

              @george1421

              a4d94b04-b9a1-4a51-bc1c-628eead6d98b-image.png

              This is the error it is giving on port 67 | 68

              george1421G 1 Reply Last reply Reply Quote 0
              • Y
                Yanni @george1421
                last edited by

                @george1421 I also changed the scope of the dhcp to x.x.x.10 to x.x.x.199.

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

                  @Yanni That isn’t exactly what I asked for, but it does tell me what I suspected. See the target computer at .10, its trying to tftp the boot file from your firewall and not the fog server. If you set your capture filter (not display filter) to port 67 or port 68 it will only pick up the DORA communications. You want to look at the offer packet, my bet is the firewall is setting its own IP as the boot server. Your picture kind of shows the results of what I’m saying.

                  If you have a misbehaving soho router, we can fix that by installing dnsmasq on your fog server to override what your dhcp server is telling the client to do.

                  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
                  • Y
                    Yanni
                    last edited by

                    @george1421 Thank you for your help. Installing the DNSMASQ fixed my problems.

                    I am having a slight issue on my bios where I cannot set the bios to boot to PXE while the hard drive is plugged in. If I leave the drive out, it shows and lets me boot.

                    Any thoughts?

                    george1421G 1 Reply Last reply Reply Quote 0
                    • [[undefined-on, Y Yanni, ]]
                    • george1421G
                      george1421 Moderator @Yanni
                      last edited by

                      @Yanni That is typically a setting in the bios to set the boot order. When windows installs, it thinks it knows better and changes the boot order for you to have hard drive first. But I don’t think I seen it with pxe booting first in the order it only pxe boots without the hard drive.

                      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!

                      Y 1 Reply Last reply Reply Quote 0
                      • Y
                        Yanni @george1421
                        last edited by

                        @george1421 The PXE boot option only shows up if I remove the hard drive. Once I insert the drive, the PXE boot option disappears. Cant force boot or change boot order.

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

                        158

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project