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

    DHCP failed booting to the PXE

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

      @saif Please try connecting a mini switch between that client you took the picture from and the cable that connects it to your LAN. See if you still have the problem with a mini switch in between.

      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

      S 2 Replies Last reply Reply Quote 0
      • S
        saif @Sebastian Roth
        last edited by

        @Sebastian-Roth you mean the signal is degraded?

        Saif Almodares

        1 Reply Last reply Reply Quote 0
        • S
          saif @Sebastian Roth
          last edited by

          @Sebastian-Roth it works thaaaaaaaanks a lot

          Saif Almodares

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

            @saif No the signal is not degraded but your main switch (where the client is connected to) does some kind of magic. Possibly it’s just spanning tree. Tell your network guys to configure “port fast” for all the client ports. But it could be an auto-negotiation issue as well - then you’d need to set static port speed on that main switch for this client’s port.

            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

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

              Just adding some background to what Sebastian posted.

              During the pxe booting process there are 3 distinct transitions as each of the kernel(s) boot PXE ROM -> iPXE, iPXE->iPXE, and finally iPXE->FOG target OS [FOS]. Each one of these transitions causes the network link light to “wink” or go out for a second or two as the new booting kernel configures the network interface. If spanning tree is enabled, in normal mode, it takes about 30 seconds to the switch port to move to a forwarding state. Since the booting process is so fast, by the time the switch goes into the forwarding state its too late. So when this happens the developers will recommend that you put a mini or unmanaged switch between the target computer and then building switch for debugging purposes. These mini switches are dumb (which is a good thing) they just pass traffic and don’t do any advanced stuff. This also isolates the target computer’s network wink during booting from the building switch, so the Spanning Tree stays in the forwarding mode the whole time. If this is the case, then the recommendation is for you to contact your network people and to confirm that the building network ports are in RSTP, fast STP, or port-fast (depending on the switch manufacturer)

              If the mini switch doesn’t work for debugging then we can focus on other 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!

              S 1 Reply Last reply Reply Quote 2
              • S
                saif @Sebastian Roth
                last edited by

                but why its happening ti the computers that far from the main switch while its not happening to the close ones ? that what made me think that the signal is degraded
                by the way i am the network guy but i start work lately and i didnt know everything in the company
                i just logged into the main switch its set to auto negotiation for all ports
                i will change the config soon and check if it solve the problem or not
                the STP is not enabled
                thx again

                @Sebastian-Roth said in DHCP failed:

                @saif No the signal is not degraded but your main switch (where the client is connected to) does some kind of magic. Possibly it’s just spanning tree. Tell your network guys to configure “port fast” for all the client ports. But it could be an auto-negotiation issue as well - then you’d need to set static port speed on that main switch for this client’s port.

                Saif Almodares

                george1421G 1 Reply Last reply Reply Quote 0
                • S
                  saif @george1421
                  last edited by

                  @george1421 thx , the mini switches works and i will change config for the main switch
                  thx a lot for explanation

                  Saif Almodares

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

                    @saif said

                    i just logged into the main switch its set to auto negotiation for all ports
                    i will change the config soon and check if it solve the problem or not
                    the STP is not enabled
                    thx again

                    Just as an FYI. It is good practice to have spanning tree enabled to prevent loopbacks (which will bring the network to a crawl if they happen). You need to ensure that the device ports have port fast or any one of the other fast recovery spanning tree protocols enabled. Also if the ports support green ethernet or 802.1az turn that off too. That causes problems with certain realtek nics.

                    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!

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      saif @george1421
                      last edited by

                      @george1421 thanks a lot for the information
                      i just want to add that i switched a computer which was booting to one of the ports that was not
                      it still can boot
                      but my problem is with the computers that are far from the main switch
                      the STP is enabled and i will check ports one by one
                      and the auto negotiation is enabled too

                      Saif Almodares

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

                        @saif said in DHCP failed booting to the PXE:

                        i just want to add that i switched a computer which was booting to one of the ports that was not
                        it still can boot

                        Guess that means (at least from my point of view) an auto-negotiation or 802.3az issue with that particular NIC!!

                        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

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          saif @Sebastian Roth
                          last edited by

                          @Sebastian-Roth yes, you were right
                          i found auto-negotiation enabled

                          Saif Almodares

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

                            @saif said in DHCP failed booting to the PXE:

                            i found auto-negotiation enabled

                            Which is not a bad thing in general! Usually this works great. But we have seen quite a few people with that kind of issue. You can configure static speed on that client port then.

                            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

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              saif @Sebastian Roth
                              last edited by

                              @Sebastian-Roth i will do that
                              thanks a lot for help 🙂

                              Saif Almodares

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

                              218

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project