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

    DHCP stopped working after power outage

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    17
    3.1k
    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
      TTellez
      last edited by

      Server
      • FOG Version: 1.3.5
      • OS: Ubuntu
      Description

      After a power outage, the FOG server DHCP function is not working. I have a new switch, there is no DHCP interference as i’m using a switch and a server with no internet connection. I’ve changed the cables for brand new ones, and verified the enet port on the laptop works fine.

      Suggestions?

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

        So fog is your dhcp server? Can you confirm that the dhcp service is running on your FOG server?

        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!

        T 2 Replies Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman
          last edited by

          Start the service. Enable it on boot so this doesn’t happen again.

          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/

          T 1 Reply Last reply Reply Quote 0
          • T
            TTellez @Wayne Workman
            last edited by

            @Wayne-Workman already done, and not working. Tried this on multiple laptops, none are connecting. Im about to give up.

            1 Reply Last reply Reply Quote 0
            • T
              TTellez @george1421
              last edited by

              @george1421 Yes my FOG server has always been my DHCP server.

              I ran

              sudo /etc/init.d/dhcp3-server restart

              and it didn’t help

              1 Reply Last reply Reply Quote 0
              • T
                TTellez @george1421
                last edited by

                @george1421 also tried this

                sudo /etc/init.d/isc-dhcp-server restart

                this one at least returned a positive result,

                1 Reply Last reply Reply Quote 0
                • T
                  TTellez
                  last edited by

                  When I check the DHCP server status this is what I get. 0_1491568693968_IMG_0303.JPG

                  1 Reply Last reply Reply Quote 0
                  • T
                    TTellez
                    last edited by

                    I’ve decided to try a reinstall of the FOG server. I received a 404 error when i attempted WGET, but I was able to download the ZIP file from GitHUb.

                    Currently installing. Will update.

                    1 Reply Last reply Reply Quote 0
                    • T
                      TTellez
                      last edited by

                      POST reinstall, I restarted the DHCP server and checked the status again, and got this notification.

                      0_1491576859098_IMG_0305.JPG

                      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                      • T
                        TTellez
                        last edited by

                        @Wayne-Workman @george1421 any ideas?

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

                          @TTellez You might want to review the accepted answer in this post: http://askubuntu.com/questions/140126/how-do-i-install-and-configure-a-dhcp-server

                          Also make sure your fog setup settings are correct for the next time you upgrade FOG /opt/fog/.fogsettings There should be an interface setting there too. Make sure that matches the interface where you want the dhcp server setup on.

                          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 2
                          • Wayne WorkmanW
                            Wayne Workman @TTellez
                            last edited by Wayne Workman

                            @TTellez The logs clearly state “Not configured to listen on any interfaces”. That’s your problem. You need to modify your /etc/dhcp/dhcpd.conf file to use the correct interface. Additionally, you should make sure (as George already said) that the information in /opt/fog/.fogsettings is correct. Particularly these fields:

                            • ipaddress
                            • interface
                            • submask
                            • routeraddress
                            • plainrouter
                            • dnsaddress
                            • bldhcp
                            • dodhcp

                            Here’s information on those: https://wiki.fogproject.org/wiki/index.php?title=.fogsettings
                            Also, feel free to post a copy of your /etc/dhcp/dhcpd.conf file and the output of the command ip addr show and I would be happy to point out any issues.

                            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/

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              TTellez @Wayne Workman
                              last edited by

                              @Wayne-Workman we wasted too long working on this. I wiped the machine and am working on a fresh install, but now for some reason I am getting the Stopping Web Services …Failed and then it gets stuck at Adding needed repository, during install. I WANT THIS TO WORK! lmao.

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

                                I think you’re under the impression or idea that fixing DHCP configuration is complicated - it is not. The problem you had was a very simple thing to fix. You only recently posted a picture of actual errors - and I only just got home from work to see them.

                                I’d suggest you follow the guide for CentOS 7 or Debian8:

                                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/

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  TTellez @Wayne Workman
                                  last edited by

                                  @Wayne-Workman the WE I meant was us here. I am nothing but appreciative of the help you offered. We have a linux pro here, and even he couldnt figure it out. I wasn’t being impatient with you.

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

                                    @TTellez Well, the installation error is a different subject, it should be given a new thread if one of the below installation guides doesn’t do it for you. But - sounds like you’re not root when you’re running the installer.

                                    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/

                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      TTellez @Wayne Workman
                                      last edited by

                                      @Wayne-Workman I ran

                                      chmod 755 ./installfog.sh

                                      and it works now. Thanks for pointing that out.

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

                                      186

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project