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

    UEFI PXE not booting

    Scheduled Pinned Locked Moved
    General Problems
    2
    2
    59
    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.
    • J
      jack_darnellits
      last edited by

      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!

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

        @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.

        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 0
        • 1 / 1
        • First post
          Last post

        151

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project