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

    Failed to get an IP via DHCP!

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    6
    39
    20.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.
    • J
      jes6309 @george1421
      last edited by

      @george1421 Ok, I think its 10ec:8136

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

        @jes6309 As you can see here this NIC model is supported since kernel version 2.6.x and upwards. So it should not be a driver issue! As well, “Sending discovery…” actually means that we found a network interface and try to get an IP for it via DHCP. So it could be:

        • Layer 1 issue like cable (you already checked that)
        • Spanning tree issue (make sure you have RSTP or configured “port fast”)
        • Auto-negotiation issue (try configuring static speed instead of auto-negotiation for that port)
        • Ethernet energy saving (see if your switch has EEE/802.3az feature and disable if possible)

        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

        J Wayne WorkmanW 3 Replies Last reply Reply Quote 3
        • J
          jes6309 @Sebastian Roth
          last edited by

          @Sebastian-Roth I will start looking into these things, but if a switch configuration was causing the issue, wouldn’t I have run into the problem before upgrading to trunk? Never had these issues occur on the normal version of fog.

          Thanks!

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

            @jes6309 said:

            if a switch configuration was causing the issue, wouldn’t I have run into the problem before upgrading to trunk? Never had these issues occur on the normal version of fog.

            Good point! Looking at if from this side only the last two bullet points seem to possibly cause the issue. Newer linux kernel with newer driver for the NIC might have a auto-negotiation problem or is now able to put the NIC in energy saving mode… and doing it wrong. Please check those two first.

            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

            J 1 Reply Last reply Reply Quote 1
            • Wayne WorkmanW
              Wayne Workman @Sebastian Roth
              last edited by Wayne Workman

              @Sebastian-Roth said in Failed to get an IP via DHCP!:

              @jes6309 As you can see here this NIC model is supported since kernel version 2.6.x and upwards. So it should not be a driver issue! As well, “Sending discovery…” actually means that we found a network interface and try to get an IP for it via DHCP. So it could be:

              • Layer 1 issue like cable (you already checked that)
              • Spanning tree issue (make sure you have RSTP or configured “port fast”)
              • Auto-negotiation issue (try configuring static speed instead of auto-negotiation for that port)
              • Ethernet energy saving (see if your switch has EEE/802.3az feature and disable if possible)

              wiki worthy

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              1 Reply Last reply Reply Quote 0
              • J
                jes6309 @Sebastian Roth
                last edited by

                @Sebastian-Roth Thanks! Setting static speed and enabling port-fast worked! I am now able to successfully register the host.

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

                  @jes6309 Can you please verify if it is static speed or port-fast that make it work in your case? We have seen more auto-negotiation issues with newer kernels lately. I am a bit concerned about this! Are we able to fix this from our side (kernel parameter or whatever)??

                  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

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    jes6309 @Sebastian Roth
                    last edited by

                    @Sebastian-Roth After reverting the port back to auto and leaving port-fast enabled, registration and imaging was still successful.

                    Looks like port-fast was the fix.

                    M 1 Reply Last reply Reply Quote 2
                    • Scott AdamsS
                      Scott Adams @Wayne Workman
                      last edited by

                      @Wayne-Workman I am getting the same issue as well. I have ensured that the TFTP username and password are correct, but I get the same error. Cannot update kernel and my kernel version does not show, same as @jes6309

                      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman @Scott Adams
                        last edited by

                        @Scott-Adams Look at this: https://wiki.fogproject.org/wiki/index.php?title=Kernel_Update

                        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!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        1 Reply Last reply Reply Quote 0
                        • M
                          mr626 @jes6309
                          last edited by

                          @jes6309

                          Hi,

                          Just wanted to chime in and say I had the same issue, and the fix was the same- had to enable the ‘port-fast’ feature on our cisco switches.

                          From my reading of the cisco documentation it looks like its safe to enable this feature on all ports that are patches to ‘endpoint devices’ like PCs, printers etc.

                          Thanks to the posters in this thread for providing the required info. Nothing worse than finding a thread on the internet describing the exact issue you are having, and the last post is the original poster saying “I solved it” without elaborating what the fix was!

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

                            @mr626 This has been in the wiki documentation for many years! So I am wondering if it’s all just to hard to find. We should definitely work on getting the wiki updated I reckon!

                            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

                            M 1 Reply Last reply Reply Quote 1
                            • M
                              mr626 @Sebastian Roth
                              last edited by

                              @Sebastian-Roth I have to admit I didn’t come across the wiki entry in my search. Will make sure to check there next time.

                              1 Reply Last reply Reply Quote 0
                              • Wayne WorkmanW
                                Wayne Workman @Sebastian Roth
                                last edited by

                                @Sebastian-Roth said in Failed to get an IP via DHCP!:

                                @jes6309 As you can see here this NIC model is supported since kernel version 2.6.x and upwards. So it should not be a driver issue! As well, “Sending discovery…” actually means that we found a network interface and try to get an IP for it via DHCP. So it could be:

                                • Layer 1 issue like cable (you already checked that)
                                • Spanning tree issue (make sure you have RSTP or configured “port fast”)
                                • Auto-negotiation issue (try configuring static speed instead of auto-negotiation for that port)
                                • Ethernet energy saving (see if your switch has EEE/802.3az feature and disable if possible)

                                Made a new article for DHCP troubleshooting. This will definitely be a fun article to work on over time!
                                https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_DHCP

                                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!
                                Daily Clean Installation Results:
                                https://fogtesting.fogproject.us/
                                FOG Reporting:
                                https://fog-external-reporting-results.fogproject.us/

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

                                  @Wayne-Workman said in Failed to get an IP via DHCP!:

                                  Made a new article for DHCP troubleshooting. This will definitely be a fun article to work on over time!
                                  https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_DHCP

                                  While I think this is a good idea I am wondering if it will have mostly the same content than the wiki article in my signature which is meant to describe the whole boot process. Possibly we can have all the DHCP related infos in that new article and link it all together in the big one as well.

                                  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

                                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                  • Wayne WorkmanW
                                    Wayne Workman @Sebastian Roth
                                    last edited by

                                    @Sebastian-Roth You’re right. When I made it I was thinking… man we are gonna have stuff spread out everywhere. But, when I look at the other articles that are solely about DHCP there is no troubleshooting, just stuff about setup. I’ll move this stuff into what you’re working on and link this article to that.

                                    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!
                                    Daily Clean Installation Results:
                                    https://fogtesting.fogproject.us/
                                    FOG Reporting:
                                    https://fog-external-reporting-results.fogproject.us/

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

                                    207

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project