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

    PXE-T01: File Not Found Error

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    3
    25
    10.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.
    • E
      easybizit
      last edited by easybizit

      Server
      • FOG Version: 1.3.5
      • OS: CentOS 7
      Client
      • Service Version:
      • OS:
      Description

      Hi Team

      I am a newbie to the FOG world and am doing a POC to see if it will suit a small organisation. The software looks awesome but I can’t seem to be able to take an image of a PC.

      Whenever I PXE boot I receive the following error:

      0_1490442529631_FOG Error.jpg

      I have followed the CentOS guide to the letter, and am using the dnsmasq solution as well. I have found the other forums discussing the need to:

      chown -R fog:root /tftpboot

      alas to no avail. It is worthy of note that I am trying to image a VMWare test box (Workstation 12 Pro) and this in itself might be the issue. I will try a physical in the morning. I have tried the stuff listed here, nothing. Firewall is off for testing.

      I feel so close, I can’t help but feel its a simple permissions issue but I can’t seem to track it down. Any suggestions?

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

        @easybizit Will you post the contents of your dnsmasq config file (typ ltsp.conf)?

        Is it safe to assume your fog server is at IP 192.168.2.99?

        Lastly, what device is your dhcp server for your POC network?

        Observation: Make sure your FOG server is configured for a static IP address and you do not change the IP address of FOG server once FOG is installed.

        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!

        E 1 Reply Last reply Reply Quote 0
        • E
          easybizit @george1421
          last edited by easybizit

          @george1421 said in PXE-T01: File Not Found Error:

          typ ltsp.conf

          Thank you so much for your fast response! The ltsp.conf is as follows:

          0_1490484146622_conf file.png

          Yes, the static IP of the fog box is 192.168.2.99. If I can get it all working that IP will change 🙂

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

            @easybizit Are you pxe booting a uefi or bios (legacy) device?

            Can you also post the output of this command dnsmasq -v

            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!

            E 1 Reply Last reply Reply Quote 0
            • E
              easybizit @george1421
              last edited by

              @george1421 I believe its a legacy device. Its a windows 7 VM, not sure if that would use UEFI Is there someway I can verify that? See below for the verions of dnsmasq:

              0_1490500677433_dnsmaq version.PNG

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

                @easybizit I think I have a path forward now.

                The version of dnsmasq does not support multiboot uefi / legacy boot based on the pxe booting client computer. This is not a problem as long as you only boot legacy or uefi alone. When you have a mix campus you will need to update this by compiling dnsmasq version 2.76. I have a tutorial on how to do this, but lets get your legacy device to pxe boot first.

                If you look at your ltsp.conf file, there is a line:

                pxe-service=X86PC, "Boot to FOG", undionly
                

                And if you look at your initial screen shot, you see this is the line that is triggered because you see “Boot to FOG” clearly printed on the screen. So we know we are working with the right line.

                The versions of dnsmasq before 2.76 had a unique property. If the boot file name listed was undionly dnsmasq automatically appended .0 onto the file name making the file name sent to the client undionly.0. The issue is that the real file name of the file is undionly.kpxe with undionly.0 being sent and then requested by the client the client will then get a PXE-T01: File not found

                So to the fix. create a link from undionly.kpxe to undionly.0.
                ln -S /tftpboot/undionly.kpxe /tftpboot/undionly.0

                This should create the required (by dnsmasq) to be available to be sent to the client.

                IF this doesn’t work then (based on your environment) we have a few more tweaks we will make to your ltsp.conf. So we are not done IF this fix doesn’t solve the issue. This change above is required before we do the next things.

                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!

                E 1 Reply Last reply Reply Quote 0
                • E
                  easybizit @george1421
                  last edited by

                  @george1421 I tried that, same error. Here is the tftboot folder with sym links:
                  0_1490600091198_tftboot folder.PNG
                  Is that right?

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

                    @easybizit Yes that’s right (and still disappointing that its not working).

                    The next steps

                    1. In the pxe-service lines add ,192.168.2.99
                    pxe-service=X86PC, "Boot to FOG", undionly, 192.168.2.99
                    

                    This sends the for IP address as part of the “boot to fog” request. Don’t forget to restart dnsmasq when you make this change.

                    1. Now if you have no success with the above add. The next thing is to capture what is going down the wire to see what communication is going on and what is missing. We’ll use tcpdump on the fog server to capture this communication. You could use wireshark on a third computer instead of tcpdump, but we’ll go the tcpdump route: https://forums.fogproject.org/topic/9673/when-dhcp-pxe-booting-process-goes-bad-and-you-have-no-clue

                    Capture the pxe boot process and then post the output.pcap file here so we can look at the pxe boot dialog. Out side of that I would say this is a normal pxe booting process.

                    I guess the next step is to attempt to get undionly.0 via another system. So if you have another linux system or if you install the tftp client on a windows system. Can you download undionly.0 from the FOG server?

                    I have to say this is a unique case, its not normally this difficult to get devices to pxe boot. Another test would be to see if you can just pxe boot a physical system to remove any issues with the virtual environment. I seriously doubt this is the issue since everything is flowing what I would consider normal.

                    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!

                    E 1 Reply Last reply Reply Quote 0
                    • E
                      easybizit @george1421
                      last edited by

                      @george1421 Thank you again. No luck with the pxe-service line:

                      0_1490611780819_pxe-service.PNG

                      See attached the pcap file:

                      0_1490611720374_output.pcap

                      I needed to modify the tcpdump command a smidge to make it work:

                      tcpdump -w /output.pcap port 67 or port 68 or port 69 or port 4011 -i ens33

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

                        @easybizit reading through the pcap this is what I see:

                        First of all this appears to be a good pcap (meaning it should be working!!).

                        packet 1 (discover)
                        pxe booting client vmware
                        firmware: IA x86 (legacy mode)

                        packet 2 (dhcp offer dnsmasq)
                        next-server: 192.168.2.99
                        boot-file: undionly.kpxe
                        Your ip: 0.0.0.0 (this is good since dnsmasq doesn’t supply IP addresses for dhcp-proxy)

                        packet 3 (dhcp offer dhcp server)
                        next-server: not given
                        boot-file: not given
                        Your IP: 192.168.2.110

                        packet 4 (request [client announcing I need to know this stuff])
                        (various item requested not relevant)

                        packet 5 (ack from dhcp server)
                        (here is the stuff you asked for that I know about)

                        packet 6 (proxyDHCP request from client to dnsmasq server)
                        I haven’t been able to figure out how to decode this line. I assume the client is asking the proxyDHCP server about the file it needs.

                        packet 7 (proxyDHCP request from client to dnsmasq server)
                        I haven’t been able to figure out how to decode this line either.

                        packet 8 (client asking tftp server for file size of undionly.0)

                        packet 9 (client asking tftp server for the file undionly.0)

                        now I would have expected to see additional tftp request since undionly.0 can not fit in just one packet.

                        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!

                        E 1 Reply Last reply Reply Quote 0
                        • E
                          easybizit @george1421
                          last edited by

                          @george1421 hmmm, ok. I’ll try it on a physical machine and see if its not just an issue with the vm’s that I’m using. It will take me a day or so to get a lab up and running. Let you know ASAP.

                          Thank you once again for your support, incredible how well you look after the community :).

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

                            @easybizit It looks like I forgot to include this, I dreamed it, or thought and the forgot it.

                            Using a windows computer (for windows install the tftp application) or another linux computer. Use tftp and attempt to download the undionly.0 file from the fog server. That will test to see if the file “could” be acquired by the target computer. It bugs me that it “should” be working, but is not.

                            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!

                            E 1 Reply Last reply Reply Quote 0
                            • E
                              easybizit @george1421
                              last edited by easybizit

                              @george1421 Hi! Sorry, my boss send me on a three week escapade with a days notice, I’m back now. Eureka! I think we may have found the problem. I can tftp many files but not the undionly.0 file. See below:

                              0_1492915734649_undionly failure.jpg

                              How do I fix that? Could it be permissions on the other side of the sym link?

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

                                @easybizit You do need to create the symbolic link between undionly.0 and undionly.kpxe for that bit to work.

                                ln -s /tftpboot/undionly.kpxe /tftpboot/undionly.0
                                ln -s /tftpboot/ipxe.efi /tftpboot/ipxe.0
                                

                                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!

                                E 1 Reply Last reply Reply Quote 0
                                • E
                                  easybizit @george1421
                                  last edited by

                                  @george1421 Here is the contents of the tftpboot directory (just resnapped it):

                                  0_1492916346293_tftboot folder.PNG

                                  Does this look right?

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

                                    @easybizit yes that looks correct.

                                    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!

                                    E 1 Reply Last reply Reply Quote 0
                                    • E
                                      easybizit @george1421
                                      last edited by

                                      @george1421 hmm… So why won’t it grab the file on PXE boot? I’m afraid I’m not strong in this area but I get the feeling that there something really silly that I’ve missed.

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

                                        @easybizit can you download the file manually via tftp?

                                        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!

                                        E 1 Reply Last reply Reply Quote 0
                                        • E
                                          easybizit @george1421
                                          last edited by

                                          @george1421 I can grab the undionly.kxpe but not the undionly.0. ‘I get connect request failed’

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

                                            @easybizit Well that one is a bit confusing. I’m not seeing anything wrong.

                                            Lets replace the link with a real file.

                                            cp /tftpboot/undionly.kpxe /tftpboot/undionly.0
                                            

                                            And then try with the tftp again from a remote windows client.

                                            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!

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

                                            155

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project