PXE Timeout issue
-
@JTech the netstat command will show you if something is bound to the dhcp port 67
Also this wiki page will be useful when you get to having both bios and uefi systems on your campus.
https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence
-
-
@JTech wow, not useful…
You should use the netstat command I provided below
netstat -an | grep 67
ornetstat -an | grep 68
You are looking for a line like this:
udp 0 0 0.0.0.0:67 0.0.0.0:*
-
-
@JTech ok that tells me that your dhcp server is not running.
just guessing…
sudo /etc/init.d/isc-dhcp-server restart
-
this is for 14.04 but the format should be the same:
http://www.krizna.com/ubuntu/setup-dhcp-server-ubuntu-14-04 -
@george1421 it says ok in Green
-
@JTech same command again. you want this line in the netstat
udp 0 0 0.0.0.0:67 0.0.0.0:*
-
@george1421 nope it looks the same way 0.0.0.0.0.0.:51667 0.0.0.0:*
-
@JTech ok then you need to read through that link I provided for 14.04 because it sounds like dhcp isn’t properly configured on you ubuntu server. So that is why your target computer isn’t pxe booting. You haven’t even got to the FOG bits yet.
-
@george1421 but why would it work correctly before and suddenly change
-
@JTech I can’t answer that. I use to do mind reading. But I sucked at it so I had to give it up for a paying job in IT.
Your original message and error was that the target computer did not receive a response from a dhcp server. Meaning that there is no dhcp server on your network with the FOG server, switch, and target computer.
-
@george1421 lol Well thank you for the Laugh but I will try that and see if that resolves it.
-
George is correct in what he’s said here. If this is a simple isolated network with one switch, two clients, and a fog server - then the FOG server just isn’t running DHCP as it should be. You can check if the service is running or not with
service dhcpd status
and you can try to start it withservice dhcpd start
on Ubuntu 14. Your configuration file will be at/etc/dhcpd/dhcpd.conf
If you told the FOG installer to do DHCP, the fog installer would have built this file for you and configured DHCP too, and enabled it and started it as well. I can test that this is working properly on Ubuntu when I have some time. I can say that it works just fine with CentOS 7, I’ve not tried DHCP via FOG on the other major distributions in a few months but I don’t think any of that code has changed much.