UEFI PXE not booting
-
Hi all, FOG noob here - please excuse if this overlaps with any existing conversations.
Set up a FOG server (without DHCP) on an Ubuntu server virtual machine - through Hyper-V. Virtual switch set up as external and confirmed the web portal is accessible via my own PC.
I have a DrayTek Vigor 2927 working as my DHCP server, and have added the following options;
- option 66: ASCII: 192.168.19.26 (FOG Server)
- option 67: ASCII: ipxe.efi
From this point I’ve been trying to test the PXE boot functionality from a variety of PCs, some physical, others virtual (with the same virtual switch) to no avail. Client computers will only ever be UEFI based.
Running tcpdump on Ubuntu, I can see that the server is receiving requests from the client machine - but I suppose nothing is being sent back?
Additionally, i’ve used TFTP on a windows 11 vm to attempt to get the ipxe.efi file - which times out. Wireshark showed that it was receiving data packets back from the server, but would eventually time out after 8 or so attempts.
I can get some screenshots come monday, but any suggestions would be greatly appreciated. If some more details are needed, please do let me know.
Thanks in advnace!
-
@jack_darnellits said in UEFI PXE not booting:
Running tcpdump on Ubuntu, I can see that the server is receiving requests from the client machine - but I suppose nothing is being sent back?
If your fog server and dhcp server are on the same subnet then tcpdump on your fog server should see the offer packet from the dhcp server. Inspect the offer packet to make sure in the ethernet header both next-server and boot-file values are being set correctly, also look in the dhcp options and make sure that dhcp options 66 and 67 are set correctly. I’ve seen some soho routers always point to them selves as the boot server even if your configuration says something ekse.
Additionally, i’ve used TFTP on a windows 11 vm to attempt to get the ipxe.efi file - which times out. Wireshark showed that it was receiving data packets back from the server, but would eventually time out after 8 or so attempts.
for tftp to work from a windows computer, you need to temporarily disable the windows firewall then it should work. tftp is similar to ftp where there is a command channel and a data channel. The windows firewall will block one of the channels (can’t remember which ATM).
I can get some screenshots come monday, but any suggestions would be greatly appreciated. If some more details are needed, please do let me know.
I also have a tutorial on how to start debugging this: https://forums.fogproject.org/topic/9673/when-dhcp-pxe-booting-process-goes-bad-and-you-have-no-clue you can view the pcap in wireshark to make it easier to review than just a straight tcpdump.