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

    Dnsmasq config for Tomato that supports UEFI PXE boot?

    Scheduled Pinned Locked Moved
    General Problems
    3
    3
    1.4k
    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.
    • C
      ChaosBlades
      last edited by ChaosBlades

      Wiki says to add dhcp-boot=pxelinux.0,X.X.X.X but this does not support UEFI. On the wiki articles about adding UEFI support from my understanding this is for a standalone install just to perform this function since it wants you to add port=0 so it does not function as a DNS server. I have tried to figure out what to change to get it to work in Tomato but I’m having some trouble. Could someone post what should go in the custom configuration field?

      Yes my Tomato install has Dnsmasq version 2.76

      Maybe update the Wiki as well? Or add a blurb about how this can’t work on DD-WRT/Tomato
      https://wiki.fogproject.org/wiki/index.php?title=FOG_with_DD-WRT_firmware

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @ChaosBlades
        last edited by

        @chaosblades Those wiki instructions are older, and we do not use pxelinux anymore, and we do not add a .0 to the files in 2.76 anymore. Available files are in /tftpboot try each one.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

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

          Please use my ltsp.conf file here exactly.

          # 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,,<fog_server_IP>
          
          # 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,,<fog_server_IP>
          dhcp-boot=net:UEFI,ipxe.efi,,<fog_server_IP>
          dhcp-boot=net:UEFI64,ipxe.efi,,<fog_server_IP>
          
          # 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=<fog_server_ip>,proxy
          

          As long as you have at least dnsmasq 2.76 or newer it will work correctly. Don’t forget to replace <fog_server_ip> with the IP address of your fog server.

          ref: https://forums.fogproject.org/topic/8725/compiling-dnsmasq-2-76-if-you-need-uefi-support/5

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

          193

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project