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

UDHCPC Failed

Scheduled Pinned Locked Moved Solved
FOG Problems
3
5
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.
  • T
    Tony Fiorentino
    last edited by Jul 18, 2018, 7:44 PM

    I have FOG 1.5.2 on an UBUNTU server. When I try to register a client, however, I get:
    Initializing random number generator.
    Starting etho0 interface and waiting.
    UDHCPC: started, v1.27.2
    UDHCPC: sending discover
    UDHCPC: sending discover
    UDHCPC: sending discover
    UDHCPC: no lease, failing

    I tried researching on my own. I read somewhere that the original kernel 1.2.0 didn’t have this problem, but the newer ones do for some reason. How do I deal with this? My skills are very limited so I need a “solution for dummies”.

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Jul 18, 2018, 8:32 PM

      @Tony-Fiorentino Please connect a dumb mini switch between client and your main switch. See if the problem goes away. If it does we can start digging into switch settings like spanning tree, energy saving and such.

      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

      1 Reply Last reply Reply Quote 0
      • T
        Tony Fiorentino
        last edited by Tony Fiorentino Jul 18, 2018, 3:05 PM Jul 18, 2018, 9:04 PM

        Yep, the “dumb mini-switch” eliminated the problem. So, if I carried around a small switch and plugged the network drop into it instead of directly into the clients, and then connected the clients to the dumb switch, that would work? I’d rather a permanent solution if possible.

        T 1 Reply Last reply Jul 18, 2018, 9:09 PM Reply Quote 0
        • T
          Tom Elliott @Tony Fiorentino
          last edited by Jul 18, 2018, 9:09 PM

          @tony-fiorentino Yes, but another reason this may be failing is potentially 2 main things.

          1. STP (Spanning Tree Protocol) is enabled on your network, but it is not enabled in the “Fast/Rapid” methodology. The dumbswitch makes the port maintain an “up” status and the switch then handles passing the traffic to your DHCP server. See if your network guys can enable fast/rapid stp?

          2. 802.3az (Power Saving) Switches. Your switches ports are literally turning themselves off as they think the network is not in use after iPXE hands off to the Linux Kernel. (Using a dumb switch keeps the port open and the switch handles directing the traffic through your network.)

          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

          T 1 Reply Last reply Jul 18, 2018, 9:14 PM Reply Quote 0
          • T
            Tony Fiorentino @Tom Elliott
            last edited by Jul 18, 2018, 9:14 PM

            @tom-elliott Wow, you’re awesome! We’re actually getting a new network because of E-Rate within the next month. I am logging your explanation/suggestions and will run this by the guys installing the switches. Thanks.

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

            264

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project