DHCP stopped working after power outage
- 
 Server- FOG Version: 1.3.5
- OS: Ubuntu
 DescriptionAfter 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? 
- 
 So fog is your dhcp server? Can you confirm that the dhcp service is running on your FOG server? 
- 
 Start the service. Enable it on boot so this doesn’t happen again. 
- 
 @Wayne-Workman already done, and not working. Tried this on multiple laptops, none are connecting. Im about to give up. 
- 
 @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 
- 
 @george1421 also tried this sudo /etc/init.d/isc-dhcp-server restart this one at least returned a positive result, 
- 
 When I check the DHCP server status this is what I get.  
- 
 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. 
- 
 POST reinstall, I restarted the DHCP server and checked the status again, and got this notification.  
- 
 @Wayne-Workman @george1421 any ideas? 
- 
 @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/.fogsettingsThere should be an interface setting there too. Make sure that matches the interface where you want the dhcp server setup on.
- 
 @TTellez The logs clearly state “Not configured to listen on any interfaces”. That’s your problem. You need to modify your /etc/dhcp/dhcpd.conffile to use the correct interface. Additionally, you should make sure (as George already said) that the information in/opt/fog/.fogsettingsis 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.conffile and the output of the commandip addr showand I would be happy to point out any issues.
- 
 @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. 
- 
 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. 
- 
 @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. 
- 
 @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. 
- 
 

