TFTP file not found
-
Server OS: Ubuntu 16.04
Fog Version:1.5.7
Test Client: VMware virtual machine on same network as Fog server
DHCP Server: Sonicwall TZ400 Next-Server is set to ip of Fog server
File name: undionly.kpxeHello,
I’ve been trying hard to get this server up and running but am having issues with getting my test client to pick up the file from TFTP. I can get the client to grab an IP from DHCP but get the following output:
PXE-T01: File not found
PXE-E3B: TFTP error - File not found
PXE-M0F: Exiting Intel PXE ROMI’m not sure what the deal is here, I’ve turned off the firewall and set the permissions to 777 for the tftpboot folder. When running the tftp command from another Ubuntu machine, it gets hung on usage: tftp host-name [port] and gives a tftp prompt, not sure what the deal is there. I’ve run this command from the wiki, replacing the x’s with the servers IP. Here is the command I’ve used:
tftp -v x.x.x.x -m binary -c get undionly.kpxe
-
From the chat session as well as the pcap here is what we found. The bootp information in the dhcp offer packet is set correctly but the dhcp options values were incorrectly set. The OP is using a route to supply the dhcp and pxe boot information for his network. The red outlined text is the problem with the dhcp offer packet.
-
If the fog server and client computer are on the same subnet, lets grab a pcap of what the dhcp server is telling the pxe booting client. Please follow this tutorial: https://forums.fogproject.org/topic/9673/when-dhcp-pxe-booting-process-goes-bad-and-you-have-no-clue
If your pxe booting computer is on a different subnet than your fog server then you will need to use wireshark installed on a witness (second) computer to monitor the pxe boot. For wireshark use the capture filter of
port 67 or port 68
.We will get the see a better picture of the complete pxe booting process if the fog server and target server are on the same subnet.
Once you have the pcap, either upload it to a file share site (shared as public read). Either post the link here or DM me the link and I will look at it.
-
This post is deleted! -
@dspell88 Sorry for the delay, looking at it now.
-
@george1421 Not a problem. I was able to manually get a file from the Fog server, just couldn’t do it as outlined in the wiki. I had to enter the tftp> prompt and connect to the the host and get the file that way. Still no luck on getting the client to grab the file from tftp though.
-
@dspell88 Lets switch over to chat to have a bit faster turn around on Q&A. Look at the top of the forum chat bubble for additional questions.
-
From the chat session as well as the pcap here is what we found. The bootp information in the dhcp offer packet is set correctly but the dhcp options values were incorrectly set. The OP is using a route to supply the dhcp and pxe boot information for his network. The red outlined text is the problem with the dhcp offer packet.