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

    boot.php........Connection timed out

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    19
    2.8k
    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.
    • cmachadoC
      cmachado
      last edited by

      We have Dell computers in our district AIO 7440, 7450, 7460. We were able to image all computers during the summer break with no issues. Router/Network staff tightened network security in Oct and suddenly AIO 7450 and 7460 can no longer image. AIO 7440 is still OK. Here is a screenshot of the error message we are getting.

      IMG_0593.JPG

      BTW, been using FOG for over a decade. Excellent product! Thanks for your time fellas.

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

        Where I would start is with a running computer connected to the 10.20.164.x subnet. From a windows browser see if you can connect to this url. http://10.20.164.93/fog/service/ipxe/boot.php If its working you should see a bunch of text. That text builds the FOG iPXE menu. I also assume that 10.20.164.93 is the IP address of your fog server?

        If you get the fog iPXE menu lets run the same url again but with the mac address of one of the computers that are failing to pxe boot http://10.20.164.93/fog/service/ipxe/boot.php?mac=00:00:00:00:00:00 where 00:00:00:00:00:00 is the mac address of the failed computer.

        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
        • cmachadoC
          cmachado
          last edited by

          Thanks for quick response. Fog server IP is correct. I was able to see the text from a PC in 164. Screenshots below.

          boot.php.jpg

          boot2.php.jpg

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

            You are getting this error message the first time you log into FOG, where you are not trying to image the machine, but just trying to display the iPXE menu?

            I see its transferring via tftp the default.ipxe file from the fog server, then in the default.ipxe file it says to connect via http to the fog server. Then the client is getting a connection timeout. It almost appears that http is being blocked. Does your company use a proxy server to access the internet (thinking that your computer is talking to the proxy and the proxy is connecting to the fog server instead of going direct from the browser to the fog server). It should be 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!

            cmachadoC 2 Replies Last reply Reply Quote 0
            • cmachadoC
              cmachado @george1421
              last edited by

              @george1421 It doesn’t make sense to me either. We don’t have a proxy and we currently don’t have an issue imaging the Dell All-In-One 7440. Even across VLANs. Just the Dell All-In-One 7450 and 7460, which imaged fine during the summer. Thinking its some type of filter by hardware. Maybe Palo Alto setting. Sorry, not an expert in those realms.

              1 Reply Last reply Reply Quote 0
              • cmachadoC
                cmachado @george1421
                last edited by

                @george1421 Also, to answer your question, it doesn’t reach iPXE menu. Based on default.ipxe file, perhaps mac is not binding? Is IPV6 also, a possible issue?

                #!ipxe
                cpuid --ext 29 && set arch x86_64 || set arch i386
                params
                param mac0 ${net0/mac}
                param arch ${arch}
                param platform ${platform}
                param product ${product}
                param manufacturer ${product}
                param ipxever ${version}
                param filename ${filename}
                isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                :bootme
                chain http://10.20.164.93/fog/service/ipxe/boot.php##params

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

                  well if its downloading default.ipxe that tells me that the iPXE boot loader is working and that the subnet can communicate with the fog server to 1. download the ipxe boot loader and 2. it transfers default.ipxe. Where its failing is where / when it talks to the apache server over http protocol.

                  The 7440 AOIs are working but the 7450 and 7460 AOIs are not. Since you mentioned “can no longer image”, we can assume that it did at one time image.

                  What version of FOG are you using?

                  Many years ago I use to work in an industrial plant. We had the saying that “When things just ‘magically’ stopped working, just follow the fork lift tracks to the problem.” Can you networking folks think of any reason why http might not be working from these devices?

                  Is the fog server on the same subnet as the target (PXE) booting computers? If not, what happens if you put a pxe booting computer on the same subnet as the fog server? The idea here is to test if its the FOG server at fault or the network. If the pxe booting computer works on the same subnet as the FOG server then its (maybe) not the fog server.

                  Did the networking folks change any settings in the FOG server like enabling a firewall or such?

                  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!

                  cmachadoC 1 Reply Last reply Reply Quote 0
                  • cmachadoC
                    cmachado @george1421
                    last edited by cmachado

                    @george1421 We are running 1.3.5 and they didn’t modify FOG itself. I’m heavily leaning on the FOG server NOT being the issue because 7450 and 7460 did image properly and we did over a thousand of them. Now, after network changes, even if its the same/different subnet those 2 models no longer image. 7440 works both same/different subnet. Really looking for guidance as to what, outside of FOG, can cause this type of filtering. Allowing one PC model to access http FOG yet not allowing the other.

                    I have packet captures if needed for further scrutiny.

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

                      @cmachado This IS an interesting issue, because on the same subnet and model specific limitations.

                      Did they implement some kind of NAC/NAP/802.1x authorization? (understand I have to guess here because what you are telling me isn’t possible “simple to implement”).

                      For a packet capture you would have to be on a mirrored port to the pxe booting client. The tftp and http requests will be unicast so you can’t pick that traffic up on a witness computer, it has to be listening in stream to the data.

                      You are getting a connection timeout. So the client is trying to reach the fog server but the fog server isn’t responding to the client. Does the apache logs show the client talking to the fog server during that time. At least requesting data and the fog server not responding? /var/log and then depending on the target OS it may be in apache2 or http directory in the log directory. There should be an access log as well as error log.

                      The Web UI works as expected without any errors?

                      In the case of packet capture, you can do it with tcpdump on the fog server. I would create a filter that monitors “udp port 69 and tcp port 80 and the host IP address of the pxe booting computer.” That will give you the tftp transfer of undionly.kpxe as well as any http requests from the target computer. We would want to filter on the IP address of the target computer so we only see the traffic of the computer of interest. That way if the server is busy with lots of FOG Client traffic we can filter out that data.

                      Again I’m a bit all over on this since I’m trying to think how this is possible.

                      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!

                      cmachadoC 1 Reply Last reply Reply Quote 0
                      • cmachadoC
                        cmachado @george1421
                        last edited by

                        @george1421 Web UI is good. No issues there. I followed this link to perform the packet capture. https://forums.fogproject.org/topic/9673/when-dhcp-pxe-booting-process-goes-bad-and-you-have-no-clue. I attached 2 Files, Output-7440 (successful), Output-7450 (unsuccessful) both from same subnets.

                        I’ll find out about the NAC/NAP/802.1x authorization.

                        output-7440.pcap
                        output-7450.pcap

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

                          @cmachado The filter in that article was for detecting pxe boot issues (i.e. delivering the boot loader to target computer). We will need to use a different one since the problem is past pxe booting.

                          I had to look this one up my self. But this filter should give us what we need.

                          tcpdump -w output.pcap "(port 69 or port 80) and host 10.20.162.62"
                          

                          I see both the 7040 and 7050 are both uefi based systems so that rules out another issue I had on my list.

                          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!

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

                            @cmachado From the PCAPs it looks like the machines are on different subnets - unless you use one really big 10.x.x.x subnet. So I would expect a router to be doing the filtering. Can you move one of the 7450 (unsuccessful) machines to the subnet where you have a 7440 (successful) and see if it loads the iPXE menu? That would rule out many things easily.

                            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

                            cmachadoC 2 Replies Last reply Reply Quote 0
                            • cmachadoC
                              cmachado @george1421
                              last edited by

                              @george1421 OK. Got it. File attached.

                              output.pcap

                              1 Reply Last reply Reply Quote 0
                              • cmachadoC
                                cmachado @Sebastian Roth
                                last edited by

                                @Sebastian-Roth Wow! Yes it works if in same subnet 164.

                                george1421G 1 Reply Last reply Reply Quote 0
                                • cmachadoC
                                  cmachado @Sebastian Roth
                                  last edited by

                                  @Sebastian-Roth Looks like we have enough info to solve. I’ll keep you guys posted. Thanks again fellas!

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

                                    @cmachado said in boot.php........Connection timed out:

                                    Wow! Yes it works if in same subnet 164.

                                    Same subnet as the FOG server or 7050 on the same subnet as 7040?

                                    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 @cmachado
                                      last edited by

                                      @cmachado said in boot.php........Connection timed out:

                                      @Sebastian-Roth Looks like we have enough info to solve. I’ll keep you guys posted. Thanks again fellas!

                                      Just to complete the picture FOG uses http tftp ftp and nfs protocols for imaging.

                                      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

                                        @cmachado said in boot.php........Connection timed out:

                                        Only issue that I can see is with fogreplicator. Keep getting this error and the replication keeps overwriting img files.

                                        Would you mind opening a new topic on this issue? We try to keep things sorted so other people find answers more easily. Thanks in advance!

                                        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

                                        cmachadoC 1 Reply Last reply Reply Quote 0
                                        • cmachadoC
                                          cmachado @Sebastian Roth
                                          last edited by

                                          @Sebastian-Roth OK. No problem.

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

                                          215

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project