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

    DHCP Lease Failing

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    6
    31
    6.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.
    • george1421G
      george1421 Moderator @Brenth453
      last edited by george1421

      @Brenth453 I guess I should have been a bit clearer. I was asking for a clear picture of the error screen taken with a mobile phone. That will allow us to view the context of the error, not just the error message.

      But can you think of a reason why a computer on the same subnet as the pxe booting computer, couldn’t reach the url page displayed on that error screen?

      The other thought that comes to mind is that you have spanning tree enabled, but you are not running one of the fast spanning tree protocols. Normally this issue should have presented itself earlier in the booting process, but its also possible to impact this spot too. One quick test is to place a sumb (unmanged) switch between the building switch and the pxe booting computer. If the computer boots into FOS correctly then it is a networking infrastructure issue.

      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!

      B 1 Reply Last reply Reply Quote 0
      • B
        Brenth453 @george1421
        last edited by

        @george1421 0_1535392244438_Resized_20180827_132518.jpeg

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

          @Brenth453 OK can you place a dumb switch between the pxe booting computer and the building switch, or confirm that your building switch has fast spanning tree 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!

          B 3 Replies Last reply Reply Quote 0
          • B
            Brenth453 @george1421
            last edited by

            @george1421 All switches have FastPort Active. Spanning tree status is running in rapid-pvst.

            1 Reply Last reply Reply Quote 0
            • B
              Brenth453 @george1421
              last edited by

              @george1421 I feel the need to add that I can do it to a virtual machine just fine. No trouble getting the lease.

              george1421G 1 Reply Last reply Reply Quote 0
              • B
                Brenth453 @george1421
                last edited by

                @george1421 Wireshark traffic shows pxe file pulling just fine. TFTP being reached through network. Confused as to why the DHCP isn’t pulling.
                0_1535399465076_wireshark.jpg

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

                  @Brenth453 Well there are only a handful of reasons for it to fail here.

                  1. The dhcp server can’t be reached
                  2. The FOG server url can’t be reached from that subnet
                  3. FOS does not support the network adapter used

                  I’m kind of going to rule out #1, since the device is pxe booting and starting FOS. Typically a spanning tree issue will show up where iPXE can’t get an IP address. But it has happened at this point too.

                  For #2. You should confirm that you can reach the URL defined in the error screen from a computer on the same subnet as the pxe booting computer so we can rule out any kind of screening router blocking the call to the fog server.

                  For #3, this one is going to be a bit harder to diagnose, but its surely possible.

                  1. Manually register this device.
                  2. Go in and schedule an image deployment or capture to this device (no worries because we are not going to do either). But before you submit the task, tick the check box that says debug.
                  3. PXE boot the target computer. It should jump into FOS right away. You may see the same warnings about IP address, but FOS will contine.
                  4. After several enter key presses and pages of text FOS should drop you to a linux command prompt. At that command prompt key in
                    ip addr show
                  5. If you get an IP address then try to ping the fog server.
                  6. If you don’t get an ip address then we will need to dig into what hardware you are using.

                  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!

                  B 2 Replies Last reply Reply Quote 1
                  • B
                    Brenth453 @george1421
                    last edited by

                    @george1421 0_1535463134512_Resized_20180828_093135.jpeg

                    1 Reply Last reply Reply Quote 0
                    • B
                      Brenth453 @george1421
                      last edited by Brenth453

                      @george1421 Using an HP Prodesk 400 G4

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

                        @Brenth453 OK it looks like eth0 is not getting an ip address.

                        At the FOS command prompt lets try.

                        1. udhcpc -i eth0 then wait until it completes then run the ip addr show command and see if eth0 picks up an IP address. This is going to tell us if time fixes the issue
                        2. If that doesn’t work then lets find out what network adapter is installed in that system
                          lspci -nn |grep etwork

                        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!

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          Brenth453 @george1421
                          last edited by

                          @george1421 after doing step 1.
                          0_1535468685700_dhcp.jpeg

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

                            @Brenth453 Well that IS telling us time IS correcting your issue. I’m still thinking spanning tree here.

                            Interesting that lspci is not returning… Ugh, I’m a fool. its lspci -nn|grep thernet not network.

                            But back on point, do you have a dumb (unmanaged) switch to place between your pxe booting computer and building switch. Then pxe boot the computer. Lets see if that masks the issue.

                            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!

                            B 1 Reply Last reply Reply Quote 0
                            • B
                              Brenth453 @george1421
                              last edited by

                              @george1421 If spanning tree is the issue though what needs to be different if RSTP is enabled and we even went as far as setting an IP helper. Sorry this image refuses to rotate.

                              0_1535470724326_network adapter.jpg

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

                                @Brenth453 IP helper is not the issue here. RSTP is one of the right answers. But again try a dumb switch. Because we know that time fixes being able to get an IP address.

                                Eventhough your image was rotated I got the number I needed [10ec:8168] “Realtek 8169”. FOS Supports that network adapter.

                                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!

                                B 1 Reply Last reply Reply Quote 0
                                • B
                                  Brenth453 @george1421
                                  last edited by

                                  @george1421 Tried a dumb switch. Cannot get it to PXE boot through a dumb switch.

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

                                    @Brenth453 Well I have to admit you have me stumped on this one.

                                    Is the fog server on the same subnet as the pxe booting client? If so we can use the fog server to do collect a pcap of the boot up sequence. If not then we can use wireshark to at least see the dhcp bits since they are sent out broadcast.

                                    For the FOG server we can use this tutorial: https://forums.fogproject.org/topic/9673/when-dhcp-pxe-booting-process-goes-bad-and-you-have-no-clue

                                    For wireshark use the capture filter of port 67 or port 68 to only collect dhcp communications. I would prefer to use the FOG server because then we will get the unicast communications between the pxe booting client and the fog server, wireshark will only see the broadcast messages unless you are on a mirrored port.

                                    Post the results of the pcap here (or DM me a link to the file on a google drive) and I’ll 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!

                                    B 1 Reply Last reply Reply Quote 0
                                    • B
                                      Brenth453 @george1421
                                      last edited by

                                      @george1421 So we have gotten somewhere. I have the image uploaded and am attempting to deploy to another machine of the same model.
                                      0_1535552784846_image.jpeg

                                      Tom ElliottT 1 Reply Last reply Reply Quote 0
                                      • Tom ElliottT
                                        Tom Elliott @Brenth453
                                        last edited by

                                        @Brenth453 is the disk you’re deploying to smaller than the disk that was captured from?

                                        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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                        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

                                        B 2 Replies Last reply Reply Quote 0
                                        • B
                                          Brenth453 @Tom Elliott
                                          last edited by

                                          @Tom-Elliott Yes it does unfortunately. I’m assuming the image deploy works from smaller hard drives onto larger ones? If it does then I could probably capture an image off of this and then deploy to the other one.

                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            Brenth453 @Tom Elliott
                                            last edited by

                                            @Tom-Elliott I am going to capture another image and set it to single disk resizable. I am getting an error though about “The disk contains an unclean file system.”

                                            Tom ElliottT 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            187

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project