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

    Problem with FOG UEFI on Dell Optiplex 3050

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    12
    4.6k
    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.
    • george1421G
      george1421 Moderator
      last edited by

      What version of dnsmasq are you using?

      For dynamic support of bios/uefi you must use dnsmasq version 2.76 or later. I have instructions and a sample ltsp.conf file in the following post that is working: https://forums.fogproject.org/topic/8725/compiling-dnsmasq-2-76-if-you-need-uefi-support

      Just follow my posts since there was some discussion between my instructions.

      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!

      D 1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @dew12 said in Problem with FOG UEFI on Dell Optiplex 3050:

        "PXE-E21: Remote boot cancelled.

        Maybe read through this (http://dnsmasq-discuss.thekelleys.org.narkive.com/nscjqMlv/pxe-booting-trouble) and see if it helps. The config and picture you posted didn’t get uploaded properly as it seems. Please try again.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        D 1 Reply Last reply Reply Quote 0
        • D
          dew12 @george1421
          last edited by

          @george1421
          my dnsmasq version is 2.76
          0_1503413960180_Screenshot from 2017-08-22 21-57-12.png

          and this is my ltsp.conf

          port=0
          
          log-dhcp
          
          tftp-root=/tftpboot
          
          dhcp-no-override
          
          dhcp-vendorclass=BIOS,PXEClient:Arch:00000
          dhcp-vendorclass=UEFI32,PXEClient:Arch:00006
          dhcp-vendorclass=UEFI,PXEClient:Arch:00007
          dhcp-vendorclass=UEFI64,PXEClient:Arch:00009
          
          dhcp-boot=undionly.kpxe,,10.0.2.15
          
          pxe-prompt="Booting FOG Client",5
          
          dhcp-range=10.0.2.15,10.0.2.255
          
          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @dew12
            last edited by

            @dew12 If you are running 2.76, then use my ltsp.conf file from the tutorial. Your config is missing some bits at the end (and in the middle too).

            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 1
            • D
              dew12 @Sebastian Roth
              last edited by

              @sebastian-roth said in Problem with FOG UEFI on Dell Optiplex 3050:

              @dew12 said in Problem with FOG UEFI on Dell Optiplex 3050:

              "PXE-E21: Remote boot cancelled.

              Maybe read through this (http://dnsmasq-discuss.thekelleys.org.narkive.com/nscjqMlv/pxe-booting-trouble) and see if it helps. The config and picture you posted didn’t get uploaded properly as it seems. Please try again.

              I already read it. I understand that, only rename .efi file to .efi.0 will be solve this problem. But when I did, it still show the same error message.

              @george1421 said in Problem with FOG UEFI on Dell Optiplex 3050:

              @dew12 If you are running 2.76, then use my ltsp.conf file from the tutorial. Your config is missing some bits at the end (and in the middle too).

              Now, I edit my ltsp.conf by following your link ProxyDHCP with dnsmasq. In this file, I just only edit my ip address and timeout. I still get the same error.

              Item 1:

              # Don't function as a DNS server:
              port=0
              
              # Log lots of extra information about DHCP transactions.
              log-dhcp
              
              # Set the root directory for files available via FTP.
              tftp-root=/tftpboot
              
              # Disable re-use of the DHCP servername and filename fields as extra
              # option space. That's to avoid confusing some old or broken DHCP clients.
              dhcp-no-override
              
              # The boot filename, Server name, Server Ip Address
              dhcp-boot=undionly.kpxe,,10.0.2.15
              
              # PXE menu.  The first part is the text displayed to the user.  The second is the timeout, in seconds.
              pxe-prompt="Booting FOG Client", 5
              
              # The known types are x86PC, PC98, IA64_EFI, Alpha, Arc_x86,
              # Intel_Lean_Client, IA32_EFI, ARM_EFI, BC_EFI, Xscale_EFI and X86-64_EFI
              # This option is first and will be the default if there is no input from the user.
              
              # PXEClient:Arch:00000
              pxe-service=X86PC, "Boot BIOS PXE", undionly.kpxe
              
              # PXEClient:Arch:00007
              pxe-service=BC_EFI, "Boot UEFI PXE-BC", ipxe.efi
              
              # PXEClient:Arch:00009
              pxe-service=X86-64_EFI, "Boot UEFI PXE-64", ipxe.efi
              
              dhcp-range=10.0.2.15,10.0.2.255
              

              result1 :

              Aug 23 14:31:14 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 available DHCP range: 10.0.2.15 -- 10.0.2.255
              Aug 23 14:31:14 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 vendor class: PXEClient:Arch:00007:UNDI:003016
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 DHCPDISCOVER(eth0) 48:4d:7e:bf:6c:3b
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 tags: eth0
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 DHCPOFFER(eth0) 10.0.2.157 48:4d:7e:bf:6c:3b
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 requested options: 1:netmask, 2:time-offset, 3:router, 4, 5,
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 requested options: 6:dns-server, 12:hostname, 13:boot-file-size,
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 requested options: 15:domain-name, 17:root-path, 18:extension-path,
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 requested options: 22:max-datagram-reassembly, 23:default-ttl,
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 requested options: 28:broadcast, 40:nis-domain, 41:nis-server,
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 requested options: 42:ntp-server, 43:vendor-encap, 50:requested-address,
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 requested options: 51:lease-time, 54:server-identifier, 58:T1,
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 requested options: 59:T2, 60:vendor-class, 66:tftp-server, 67:bootfile-name,
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 requested options: 97:client-machine-id, 128, 129, 130, 131,
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 requested options: 132, 133, 134, 135
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 bootfile name: undionly.kpxe
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 next server: 10.0.2.15
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 broadcast response
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 sent size:  1 option: 53 message-type  2
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 sent size:  4 option: 54 server-identifier  10.0.2.15
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 sent size:  4 option: 51 lease-time  1h
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 sent size:  4 option: 58 T1  30m
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 sent size:  4 option: 59 T2  52m30s
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 sent size:  4 option:  1 netmask  255.0.0.0
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 sent size:  4 option: 28 broadcast  10.196.11.255
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 sent size:  4 option:  3 router  10.0.2.15
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 sent size:  9 option: 60 vendor-class  50:58:45:43:6c:69:65:6e:74
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 sent size: 17 option: 97 client-machine-id  00:44:45:4c:4c:58:00:10:33:80:38:c4:c0:4f...
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 sent size: 22 option: 43 vendor-encap  0a:13:05:42:6f:6f:74:69:6e:67:20:46:4f:47...
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 available DHCP range: 10.0.2.15 -- 10.0.2.255
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 vendor class: PXEClient:Arch:00007:UNDI:003016
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 DHCPREQUEST(eth0) 10.0.2.157 48:4d:7e:bf:6c:3b
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 tags: eth0
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 DHCPACK(eth0) 10.0.2.157 48:4d:7e:bf:6c:3b
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 requested options: 1:netmask, 2:time-offset, 3:router, 4, 5,
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 requested options: 6:dns-server, 12:hostname, 13:boot-file-size,
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 requested options: 15:domain-name, 17:root-path, 18:extension-path,
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 requested options: 22:max-datagram-reassembly, 23:default-ttl,
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 requested options: 28:broadcast, 40:nis-domain, 41:nis-server,
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 requested options: 42:ntp-server, 43:vendor-encap, 50:requested-address,
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 requested options: 51:lease-time, 54:server-identifier, 58:T1,
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 requested options: 59:T2, 60:vendor-class, 66:tftp-server, 67:bootfile-name,
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 requested options: 97:client-machine-id, 128, 129, 130, 131,
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 requested options: 132, 133, 134, 135
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 bootfile name: undionly.kpxe
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 next server: 10.0.2.15
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 broadcast response
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 sent size:  1 option: 53 message-type  5
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 sent size:  4 option: 54 server-identifier  10.0.2.15
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 sent size:  4 option: 51 lease-time  1h
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 sent size:  4 option: 58 T1  30m
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 sent size:  4 option: 59 T2  52m30s
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 sent size:  4 option:  1 netmask  255.0.0.0
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 sent size:  4 option: 28 broadcast  10.196.11.255
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 sent size:  4 option:  3 router  10.0.2.15
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 sent size:  9 option: 60 vendor-class  50:58:45:43:6c:69:65:6e:74
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 sent size: 17 option: 97 client-machine-id  00:44:45:4c:4c:58:00:10:33:80:38:c4:c0:4f...
              Aug 23 14:31:17 dew-VirtualBox dnsmasq-dhcp[4518]: 3854790953 sent size: 22 option: 43 vendor-encap  0a:13:05:42:6f:6f:74:69:6e:67:20:46:4f:47...
              

              Item 2:

              # Don't function as a DNS server:
              port=0
              
              # Log lots of extra information about DHCP transactions.
              log-dhcp
              
              # Set the root directory for files available via FTP.
              tftp-root=/tftpboot
              
              # Disable re-use of the DHCP servername and filename fields as extra
              # option space. That's to avoid confusing some old or broken DHCP clients.
              dhcp-no-override
              
              # inspect the vendor class string and match the text to set the tag
              dhcp-vendorclass=BIOS,PXEClient:Arch:00000
              dhcp-vendorclass=UEFI32,PXEClient:Arch:00006
              dhcp-vendorclass=UEFI,PXEClient:Arch:00007
              dhcp-vendorclass=UEFI64,PXEClient:Arch:00009
              
              # Set the boot file name based on the matching tag from the vendor class (above)
              dhcp-boot=net:UEFI32,i386-efi/ipxe.efi,,10.0.2.15
              dhcp-boot=net:UEFI,ipxe.efi,,10.0.2.15
              dhcp-boot=net:UEFI64,ipxe.efi,,10.0.2.15
              
              # The boot filename, Server name, Server Ip Address
              dhcp-boot=undionly.kpxe,,10.0.2.15
              
              # PXE menu.  The first part is the text displayed to the user.  The second is the timeout, in seconds.
              pxe-prompt="Booting FOG Client", 5
              
              dhcp-range=10.0.2.15,10.0.2.255
              

              result 2:

              Aug 23 14:42:02 dew-VirtualBox systemd[1]: Stopping dnsmasq - A lightweight DHCP and caching DNS server...
              Aug 23 14:42:12 dew-VirtualBox dnsmasq[4518]: exiting on receipt of SIGTERM
              Aug 23 14:42:12 dew-VirtualBox systemd[1]: Stopped dnsmasq - A lightweight DHCP and caching DNS server.
              Aug 23 14:42:12 dew-VirtualBox systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
              Aug 23 14:42:12 dew-VirtualBox dnsmasq[5324]: dnsmasq: syntax check OK.
              Aug 23 14:42:12 dew-VirtualBox dnsmasq[5336]: started, version 2.76 DNS disabled
              Aug 23 14:42:12 dew-VirtualBox dnsmasq[5336]: compile time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify
              Aug 23 14:42:12 dew-VirtualBox dnsmasq-dhcp[5336]: DHCP, IP range 10.0.2.15 -- 10.0.2.255, lease time 1h
              Aug 23 14:42:12 dew-VirtualBox dnsmasq-dhcp[5336]: DHCP, sockets bound exclusively to interface eth0
              Aug 23 14:42:22 dew-VirtualBox systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server.
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 available DHCP range: 10.0.2.15 -- 10.0.2.255
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 vendor class: PXEClient:Arch:00007:UNDI:003016
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 DHCPDISCOVER(eth0) 48:4d:7e:bf:6c:3b
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 tags: UEFI, eth0
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 DHCPOFFER(eth0) 10.0.2.157 48:4d:7e:bf:6c:3b
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 requested options: 1:netmask, 2:time-offset, 3:router, 4, 5,
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 requested options: 6:dns-server, 12:hostname, 13:boot-file-size,
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 requested options: 15:domain-name, 17:root-path, 18:extension-path,
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 requested options: 22:max-datagram-reassembly, 23:default-ttl,
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 requested options: 28:broadcast, 40:nis-domain, 41:nis-server,
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 requested options: 42:ntp-server, 43:vendor-encap, 50:requested-address,
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 requested options: 51:lease-time, 54:server-identifier, 58:T1,
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 requested options: 59:T2, 60:vendor-class, 66:tftp-server, 67:bootfile-name,
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 requested options: 97:client-machine-id, 128, 129, 130, 131,
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 requested options: 132, 133, 134, 135
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 bootfile name: ipxe.efi
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 next server: 10.0.2.15
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 broadcast response
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 sent size:  1 option: 53 message-type  2
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 sent size:  4 option: 54 server-identifier  10.0.2.15
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 sent size:  4 option: 51 lease-time  1h
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 sent size:  4 option: 58 T1  30m
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 sent size:  4 option: 59 T2  52m30s
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 sent size:  4 option:  1 netmask  255.0.0.0
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 sent size:  4 option: 28 broadcast  10.196.11.255
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 sent size:  4 option:  3 router  10.0.2.15
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 sent size:  9 option: 60 vendor-class  50:58:45:43:6c:69:65:6e:74
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 sent size: 17 option: 97 client-machine-id  00:44:45:4c:4c:58:00:10:33:80:38:c4:c0:4f...
              Aug 23 14:42:52 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 sent size: 25 option: 43 vendor-encap  06:01:08:0a:13:05:42:6f:6f:74:69:6e:67:20...
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 available DHCP range: 10.0.2.15 -- 10.0.2.255
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 vendor class: PXEClient:Arch:00007:UNDI:003016
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 DHCPREQUEST(eth0) 10.0.2.157 48:4d:7e:bf:6c:3b
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 tags: UEFI, eth0
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 DHCPACK(eth0) 10.0.2.157 48:4d:7e:bf:6c:3b
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 requested options: 1:netmask, 2:time-offset, 3:router, 4, 5,
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 requested options: 6:dns-server, 12:hostname, 13:boot-file-size,
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 requested options: 15:domain-name, 17:root-path, 18:extension-path,
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 requested options: 22:max-datagram-reassembly, 23:default-ttl,
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 requested options: 28:broadcast, 40:nis-domain, 41:nis-server,
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 requested options: 42:ntp-server, 43:vendor-encap, 50:requested-address,
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 requested options: 51:lease-time, 54:server-identifier, 58:T1,
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 requested options: 59:T2, 60:vendor-class, 66:tftp-server, 67:bootfile-name,
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 requested options: 97:client-machine-id, 128, 129, 130, 131,
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 requested options: 132, 133, 134, 135
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 bootfile name: ipxe.efi
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 next server: 10.0.2.15
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 broadcast response
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 sent size:  1 option: 53 message-type  5
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 sent size:  4 option: 54 server-identifier  10.0.2.15
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 sent size:  4 option: 51 lease-time  1h
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 sent size:  4 option: 58 T1  30m
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 sent size:  4 option: 59 T2  52m30s
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 sent size:  4 option:  1 netmask  255.0.0.0
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 sent size:  4 option: 28 broadcast  10.196.11.255
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 sent size:  4 option:  3 router  10.0.2.15
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 sent size:  9 option: 60 vendor-class  50:58:45:43:6c:69:65:6e:74
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 sent size: 17 option: 97 client-machine-id  00:44:45:4c:4c:58:00:10:33:80:38:c4:c0:4f...
              Aug 23 14:42:55 dew-VirtualBox dnsmasq-dhcp[5336]: 3231199179 sent size: 25 option: 43 vendor-encap  06:01:08:0a:13:05:42:6f:6f:74:69:6e:67:20...
              

              Item 3:

              port=0
              
              # Log lots of extra information about DHCP transactions.
              log-dhcp
              
              # Set the root directory for files available via FTP.
              tftp-root=/tftpboot
              
              # Disable re-use of the DHCP servername and filename fields as extra
              # option space. That's to avoid confusing some old or broken DHCP clients.
              dhcp-no-override
              
              # inspect the vendor class string and match the text to set the tag
              dhcp-vendorclass=BIOS,PXEClient:Arch:00000
              dhcp-vendorclass=UEFI32,PXEClient:Arch:00006
              dhcp-vendorclass=UEFI,PXEClient:Arch:00007
              dhcp-vendorclass=UEFI64,PXEClient:Arch:00009
              
              #UUID for a Dell Optiplex 3050 I tested (this info was gleaned from the dnsmasq log file that recorded
              # a pxe boot session of this target computer
              dhcp-match=set:opt3050,97,00:44:45:4c:4c:58:00:10:33:80:38:c4:c0:4f
              
              # Set the boot file name based on the matching tag from the vendor class (above)
              dhcp-boot=net:UEFI32,i386-efi/ipxe.efi,,10.0.2.15
              dhcp-boot=net:UEFI,ipxe.efi,,10.0.2.15
              dhcp-boot=net:UEFI64,ipxe.efi,,10.0.2.15
              
              # Our test to ensure both the UEFI and opt3050 tags are set. 
              dhcp-boot=tag:UEFI,tag:opt3050, intel.efi, 10.0.2.15, 10.0.2.15
              
              # The boot filename, Server name, Server Ip Address
              dhcp-boot=undionly.kpxe,,10.0.2.15
              
              # PXE menu.  The first part is the text displayed to the user.  The second is the timeout, in seconds.
              pxe-prompt="Booting FOG Client", 5
              
              dhcp-range=10.0.2.15,10.0.2.255
              

              result 3:

              Aug 23 15:15:06 dew-VirtualBox systemd[1]: Stopping dnsmasq - A lightweight DHCP and caching DNS server...
              Aug 23 15:15:16 dew-VirtualBox dnsmasq[5336]: exiting on receipt of SIGTERM
              Aug 23 15:15:16 dew-VirtualBox systemd[1]: Stopped dnsmasq - A lightweight DHCP and caching DNS server.
              Aug 23 15:15:16 dew-VirtualBox systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
              Aug 23 15:15:16 dew-VirtualBox dnsmasq[6718]: dnsmasq: syntax check OK.
              Aug 23 15:15:16 dew-VirtualBox dnsmasq[6732]: started, version 2.76 DNS disabled
              Aug 23 15:15:16 dew-VirtualBox dnsmasq[6732]: compile time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify
              Aug 23 15:15:16 dew-VirtualBox dnsmasq-dhcp[6732]: DHCP, IP range 10.0.2.15 -- 10.0.2.255, lease time 1h
              Aug 23 15:15:16 dew-VirtualBox dnsmasq-dhcp[6732]: DHCP, sockets bound exclusively to interface eth0
              Aug 23 15:15:26 dew-VirtualBox systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server.
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 available DHCP range: 10.0.2.15 -- 10.0.2.255
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 vendor class: PXEClient:Arch:00007:UNDI:003016
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 DHCPDISCOVER(eth0) 48:4d:7e:bf:6c:3b
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 tags: UEFI, opt3050, eth0
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 DHCPOFFER(eth0) 10.0.2.157 48:4d:7e:bf:6c:3b
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 requested options: 1:netmask, 2:time-offset, 3:router, 4, 5,
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 requested options: 6:dns-server, 12:hostname, 13:boot-file-size,
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 requested options: 15:domain-name, 17:root-path, 18:extension-path,
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 requested options: 22:max-datagram-reassembly, 23:default-ttl,
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 requested options: 28:broadcast, 40:nis-domain, 41:nis-server,
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 requested options: 42:ntp-server, 43:vendor-encap, 50:requested-address,
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 requested options: 51:lease-time, 54:server-identifier, 58:T1,
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 requested options: 59:T2, 60:vendor-class, 66:tftp-server, 67:bootfile-name,
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 requested options: 97:client-machine-id, 128, 129, 130, 131,
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 requested options: 132, 133, 134, 135
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 bootfile name: intel.efi
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 server name: 10.0.2.15
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 next server: 10.0.2.15
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 broadcast response
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 sent size:  1 option: 53 message-type  2
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 sent size:  4 option: 54 server-identifier  10.0.2.15
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 sent size:  4 option: 51 lease-time  1h
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 sent size:  4 option: 58 T1  30m
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 sent size:  4 option: 59 T2  52m30s
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 sent size:  4 option:  1 netmask  255.0.0.0
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 sent size:  4 option: 28 broadcast  10.196.11.255
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 sent size:  4 option:  3 router  10.0.2.15
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 sent size:  9 option: 60 vendor-class  50:58:45:43:6c:69:65:6e:74
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 sent size: 17 option: 97 client-machine-id  00:44:45:4c:4c:58:00:10:33:80:38:c4:c0:4f...
              Aug 23 15:15:47 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 sent size: 25 option: 43 vendor-encap  06:01:08:0a:13:05:42:6f:6f:74:69:6e:67:20...
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 available DHCP range: 10.0.2.15 -- 10.0.2.255
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 vendor class: PXEClient:Arch:00007:UNDI:003016
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 DHCPREQUEST(eth0) 10.0.2.157 48:4d:7e:bf:6c:3b
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 tags: UEFI, opt3050, eth0
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 DHCPACK(eth0) 10.0.2.157 48:4d:7e:bf:6c:3b
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 requested options: 1:netmask, 2:time-offset, 3:router, 4, 5,
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 requested options: 6:dns-server, 12:hostname, 13:boot-file-size,
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 requested options: 15:domain-name, 17:root-path, 18:extension-path,
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 requested options: 22:max-datagram-reassembly, 23:default-ttl,
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 requested options: 28:broadcast, 40:nis-domain, 41:nis-server,
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 requested options: 42:ntp-server, 43:vendor-encap, 50:requested-address,
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 requested options: 51:lease-time, 54:server-identifier, 58:T1,
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 requested options: 59:T2, 60:vendor-class, 66:tftp-server, 67:bootfile-name,
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 requested options: 97:client-machine-id, 128, 129, 130, 131,
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 requested options: 132, 133, 134, 135
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 bootfile name: intel.efi
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 server name: 10.0.2.15
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 next server: 10.0.2.15
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 broadcast response
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 sent size:  1 option: 53 message-type  5
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 sent size:  4 option: 54 server-identifier  10.0.2.15
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 sent size:  4 option: 51 lease-time  1h
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 sent size:  4 option: 58 T1  30m
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 sent size:  4 option: 59 T2  52m30s
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 sent size:  4 option:  1 netmask  255.0.0.0
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 sent size:  4 option: 28 broadcast  10.196.11.255
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 sent size:  4 option:  3 router  10.0.2.15
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 sent size:  9 option: 60 vendor-class  50:58:45:43:6c:69:65:6e:74
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 sent size: 17 option: 97 client-machine-id  00:44:45:4c:4c:58:00:10:33:80:38:c4:c0:4f...
              Aug 23 15:15:51 dew-VirtualBox dnsmasq-dhcp[6732]: 3020843178 sent size: 25 option: 43 vendor-encap  06:01:08:0a:13:05:42:6f:6f:74:69:6e:67:20...
              

              I don’t know why it still show the same error and cannot pass to fog boot menu. So, please give me your suggession if you found something wrong in my files.

              george1421G 3 Replies Last reply Reply Quote 0
              • george1421G
                george1421 Moderator @dew12
                last edited by

                @dew12 said in Problem with FOG UEFI on Dell Optiplex 3050:

                understand that, only rename .efi file to .efi.0 will be solve this problem.

                With dnsmasq version 2.76 you do not do this hack above. The .0 file names are no longer needed. So if you renamed this file please change it back since to remain consistent with FOG’s design.

                I’m looking over your other data.

                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
                • george1421G
                  george1421 Moderator @dew12
                  last edited by

                  @dew12 Is dnsmasq suppose to be providing the dhcp IP address to the target computers or is it only to supply the dhcp proxy information. The reason why I ask is because your very last line in the config file is wrong. Your ltsp.conf file should look like this:

                  # Don't function as a DNS server:
                  port=0
                  
                  # Log lots of extra information about DHCP transactions.
                  log-dhcp
                  
                  # Set the root directory for files available via FTP.
                  tftp-root=/tftpboot
                  
                  # The boot filename, Server name, Server Ip Address
                  dhcp-boot=undionly.kpxe,,10.0.2.15
                  
                  # Disable re-use of the DHCP servername and filename fields as extra
                  # option space. That's to avoid confusing some old or broken DHCP clients.
                  dhcp-no-override
                  
                  # inspect the vendor class string and match the text to set the tag
                  dhcp-vendorclass=BIOS,PXEClient:Arch:00000
                  dhcp-vendorclass=UEFI32,PXEClient:Arch:00006
                  dhcp-vendorclass=UEFI,PXEClient:Arch:00007
                  dhcp-vendorclass=UEFI64,PXEClient:Arch:00009
                  
                  # Set the boot file name based on the matching tag from the vendor class (above)
                  dhcp-boot=net:UEFI32,i386-efi/ipxe.efi,,10.0.2.15
                  dhcp-boot=net:UEFI,ipxe.efi,,10.0.2.15
                  dhcp-boot=net:UEFI64,ipxe.efi,,10.0.2.15
                  
                  # PXE menu.  The first part is the text displayed to the user.  The second is the timeout, in seconds.
                  pxe-prompt="Booting FOG Client", 1
                  
                  # The known types are x86PC, PC98, IA64_EFI, Alpha, Arc_x86,
                  # Intel_Lean_Client, IA32_EFI, BC_EFI, Xscale_EFI and X86-64_EFI
                  # This option is first and will be the default if there is no input from the user.
                  pxe-service=X86PC, "Boot to FOG", undionly.kpxe
                  pxe-service=X86-64_EFI, "Boot to FOG UEFI", ipxe.efi
                  pxe-service=BC_EFI, "Boot to FOG UEFI PXE-BC", ipxe.efi
                  
                  dhcp-range=10.0.2.15,proxy
                  

                  Now if the above file doesn’t work because of your network environment there is a modification that is required for the pxe-service lines. You need to append the fog server IP address to the end of the line. So this section

                  pxe-service=X86PC, "Boot to FOG", undionly.kpxe
                  pxe-service=X86-64_EFI, "Boot to FOG UEFI", ipxe.efi
                  pxe-service=BC_EFI, "Boot to FOG UEFI PXE-BC", ipxe.efi
                  

                  would become

                  pxe-service=X86PC, "Boot to FOG", undionly.kpxe,10.0.2.15
                  pxe-service=X86-64_EFI, "Boot to FOG UEFI", ipxe.efi,10.0.2.15
                  pxe-service=BC_EFI, "Boot to FOG UEFI PXE-BC", ipxe.efi,10.0.2.15
                  

                  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
                  • george1421G
                    george1421 Moderator @dew12
                    last edited by

                    @dew12 Now if after using my config file exactly we will use a different process to understand what is not working. This other process we will capture a pcap file of the data crossing your network. For this test we will need to have the fog server, dnsmasq, dhcp server and pxe booting client on the same subnet. This follow these instructions on how to capture the pcap.
                    https://forums.fogproject.org/topic/9673/when-dhcp-pxe-booting-process-goes-bad-and-you-have-no-clue

                    Upload the pcap to a google drive, dropbox or what ever file sharing site then either post the link here and we will take a look at it, or if you want you can IM me directly the link if you don’t want to post the link here. After we look at it you can remove the file from the google drive site.

                    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!

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      dew12 @george1421
                      last edited by

                      @george1421
                      In my application, dnsmasq must provide the IP to the target PC. That 's why I edit dhcp-range to generate range IP to the target.

                      Now I already append fog IP at the end of each line(same as your previous post) but I did not edit dhcp-range, it’s still 10.0.2.15-10.0.2.255. And I also upload my pcap file.[link].

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

                        @dew12 I see in your pcap the pxe process looks good, but there is not tftp asking for the ipxe.efi file. It appears that everything is given to the client.

                        There was two things that I question.

                        1. The router for your network is configured as the FOG server at 10.0.2.15
                        2. The subnet mask for your network is 255.0.0.0 ?? is that true?

                        I need to look over this thread again, but I wonder if dnsmasq is the right tool here. If you need the fog server to give out the dhcp addresses to the clients I think that isc-dhcp may be a better solution. You can do the same with dynamic boot file name with isc-dhcp and is the recommended setup for fog: https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence#Example_1

                        I need to think about why dnsmasq is being used where isc-dhcp would not work better.

                        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!

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          dew12 @george1421
                          last edited by

                          Hi @george1421 :
                          Sorry for reply you late.

                          There was two things that I question.

                          1. The router for your network is configured as the FOG server at 10.0.2.15

                          I have check it again. My network is configured to the FOG at 10.0.2.15.

                          1. The subnet mask for your network is 255.0.0.0 ?? is that true?

                          I also check that the subnet is 255.0.0.0 .

                          And I found that it works when I change my dhcp server from dnsmasq to isc-dhcp-server by following your link.

                          Thank you very much @george1421 for your help.

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post

                          165

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project