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

    DHCP Timeout after Linux begins to boot

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    7
    1.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.
    • 2
      2cool4me4
      last edited by

      Hey all,

      Unfortunately this looks like a duplicate of https://forums.fogproject.org/topic/4048/dhcp-lease-timeout-issue, but that happened about two years ago. I’m trying to set up FOG in a lab that has Spanning Tree enabled, so switches won’t open the port for about fifteen seconds after the NIC comes up. The FOG init tries to get a DHCP lease a few times, fails, then prompts to reboot the system.

      In the linked forum post, it’s stated that a 60 second timeout was added. I assume that this changed at some point. How would I be able to add this delay back so that I’m able to successfully use FOG tools on them?

      Debian Jessie
      Intel Xeon 5130
      2GB RAM

      If you ever need it, you know…

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

        You can have spanning tree enabled (and should), but you need to enable one of the fast stp protocols (port fast, fast stp, rstp, and a few others I can’t remember). Standard spanning tree takes 27 seconds to start to forward data while it listens for other infrastructure devices.

        And yes (depending on what version of fog you’re running the boot process has changed greatly).

        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
        • 2
          2cool4me4
          last edited by 2cool4me4

          Thanks, george. I’ll see if I can get that done. I might not be able to, though. Is there any workaround that I can use to get this running until I’m able to make the change?

          Debian Jessie
          Intel Xeon 5130
          2GB RAM

          If you ever need it, you know…

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

            @2cool4me4 put an unmanaged (dumb) switch between the building switch and the target 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
            • 2
              2cool4me4
              last edited by

              Understood. I’ll see what I can do and report back. I won’t be in that lab for a few hours.

              Debian Jessie
              Intel Xeon 5130
              2GB RAM

              If you ever need it, you know…

              1 Reply Last reply Reply Quote 0
              • 2
                2cool4me4
                last edited by

                The unmanaged switch works until I can get into the switches to enable a different STP.

                Debian Jessie
                Intel Xeon 5130
                2GB RAM

                If you ever need it, you know…

                1 Reply Last reply Reply Quote 2
                • 2
                  2cool4me4
                  last edited by

                  The switch did not support any faster methods of STP, or they did not work. Disabling STP altogether is a calculated risk that we took, and it has fixed the problem.

                  This issue is solved.

                  Debian Jessie
                  Intel Xeon 5130
                  2GB RAM

                  If you ever need it, you know…

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

                  163

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project