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

TFTP File not found

Scheduled Pinned Locked Moved
FOG Problems
2
6
507
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.
  • E
    ExSL
    last edited by Sep 3, 2022, 3:15 PM

    Hello,

    I have a problem, when I boot my VM on PXE I got an error. TFTP file not found.
    f889dee9-3edf-4857-8b4b-146056394232-image.png
    Here is the PCAP file :
    09456f17-54b3-47b2-b928-65211cb65f35-image.png
    output.pcap

    Thanks in advance.
    BR,
    Alexis

    G 1 Reply Last reply Sep 3, 2022, 10:41 PM Reply Quote 0
    • E
      ExSL
      last edited by Sep 3, 2022, 3:18 PM

      More info :
      Selinux is setenforce 0
      Firewalld is disable

      1 Reply Last reply Reply Quote 0
      • E
        ExSL
        last edited by Sep 3, 2022, 7:08 PM

        Here is the error when tftp is disable :
        7243773e-0446-4a8a-af24-6ce754ce301c-image.png

        1 Reply Last reply Reply Quote 0
        • G
          george1421 Moderator @ExSL
          last edited by Sep 3, 2022, 10:41 PM

          @exsl So looking at your pcap your dhcp server is strange.

          The first question is what device is your dhcp server?

          I’m specifically looking at the OFFER packet.
          You have the bootp part of the dhcp protocol set. But {next-server} points to 10.1.1.2 that is also your dhcp server. But the offer packet is not from a fog installer configured dhcp server, because the dhcp boot options are missing. There are no dhcp options 66 and 67 in that offer packet. I would say that dhcp OFFER packet is missing a LOT of stuff. That almost looks like a soho router giving out the dhcp info.

          So again lets start out with what device is your dhcp server for this network?

          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!

          E 1 Reply Last reply Sep 4, 2022, 3:05 PM Reply Quote 0
          • E
            ExSL @george1421
            last edited by Sep 4, 2022, 3:05 PM

            @george1421
            Hello, thanks you for you help.
            My DHCP server is my Fog server. Running on Almalinux 9.
            I set “Yes” during the installation to make my fog server dhcp server.

            E 1 Reply Last reply Sep 4, 2022, 3:11 PM Reply Quote 0
            • E
              ExSL @ExSL
              last edited by Sep 4, 2022, 3:11 PM

              @george1421
              If it helps :

              # DHCP Server Configuration file\n#see /usr/share/doc/dhcp*/dhcpd.conf.sample
              # This file was created by FOG
              #Definition of PXE-specific options
              # Code 1: Multicast IP Address of bootfile
              # Code 2: UDP Port that client should monitor for MTFTP Responses
              # Code 3: UDP Port that MTFTP servers are using to listen for MTFTP requests
              # Code 4: Number of seconds a client must listen for activity before trying
              #         to start a new MTFTP transfer
              # Code 5: Number of seconds a client must listen before trying to restart
              #         a MTFTP transfer
              option space PXE;
              option PXE.mtftp-ip code 1 = ip-address;
              option PXE.mtftp-cport code 2 = unsigned integer 16;
              option PXE.mtftp-sport code 3 = unsigned integer 16;
              option PXE.mtftp-tmout code 4 = unsigned integer 8;
              option PXE.mtftp-delay code 5 = unsigned integer 8;
              option arch code 93 = unsigned integer 16;
              use-host-decl-names on;
              ddns-update-style interim;
              ignore client-updates;
              # Specify subnet of ether device you do NOT want service.
              # For systems with two or more ethernet devices.
              # subnet 136.165.0.0 netmask 255.255.0.0 {}
              subnet 10.1.1.0 netmask 255.255.255.0{
                  option subnet-mask 255.255.255.0;
                  range dynamic-bootp 10.1.1.10 10.1.1.254;
                  default-lease-time 21600;
                  max-lease-time 43200;
                  #option routers 0.0.0.0
                  #option domain-name-servers 0.0.0.0
                  next-server 10.1.1.2;
              }
              class "Legacy" {
                  match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000";
                  filename "ipxe.kpxe";
              }
              class "UEFI-32-2" {
                  match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00002";
                  filename "i386-efi/snponly.efi";
              }
              class "UEFI-32-1" {
                  match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00006";
                  filename "i386-efi/snponly.efi";
              }
              class "UEFI-64-1" {
                  match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00007";
                  filename "snponly.efi";
              }
              class "UEFI-64-2" {
                  match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00008";
                  filename "snponly.efi";
              }
              class "UEFI-64-3" {
                  match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00009";
                  filename "snponly.efi";
              }
              class "SURFACE-PRO-4" {
                  match if substring(option vendor-class-identifier, 0, 32) = "PXEClient:Arch:00007:UNDI:003016";
                  filename "snponly.efi";
              }
              class "Apple-Intel-Netboot" {
                  match if substring(option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386";
                  option dhcp-parameter-request-list 1,3,17,43,60;
                  if (option dhcp-message-type = 8) {
                      option vendor-class-identifier "AAPLBSDPC";
                      if (substring(option vendor-encapsulated-options, 0, 3) = 01:01:01) {
                          # BSDP List
                          option vendor-encapsulated-options 01:01:01:04:02:80:00:07:04:81:00:05:2a:09:0D:81:00:05:2a:08:69:50:58:45:2d:46:4f:47;
                          filename "snponly.efi";
                      }
                  }
              }
              
              
              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                6/6
                Last post

              223

              Online

              12.1k

              Users

              17.3k

              Topics

              155.3k

              Posts
              Copyright © 2012-2024 FOG Project