NoPaste

dnsmasq PXE UEFI

von MKmaddin
SNIPPET_DESC:
Konfigurationsdatei UEFI PXE für dnsmasq
SNIPPET_CREATION_TIME:
17.01.2018 20:47:04
SNIPPET_PRUNE_TIME:
Unendlich

SNIPPET_TEXT:
  1. #dnsmasq configuration to publish name service information for: fritz.box
  2. log-queries=extra
  3. domain-needed
  4. expand-hosts
  5. port=53
  6. domain=fritz.box
  7. dhcp-option=6,192.168.13.10
  8. resolv-file=/etc/ppp/resolv.conf
  9.  
  10. #dnsmasq configuration to enable proxy dhcp
  11. dhcp-range=192.168.13.0,proxy
  12.  
  13. #dnsmasq configuration to make this server TFTP / PXE server
  14. dhcp-option=option:root-path,"faiserver:/srv/fai/nfsroot"
  15. pxe-prompt="PXE from faiserver - press esc to abort",3
  16.  
  17. dhcp-match=set:bios,60,PXEClient:Arch:00000
  18. pxe-service=tag:bios,X86PC,"PXE Boot - bios",fai/pxelinux.0,192.168.13.10
  19. dhcp-boot=tag:bios,fai/pxelinux.0,faiserver,192.168.13.10
  20.  
  21. dhcp-match=set:efi32,60,PXEClient:Arch:00006
  22. pxe-service=tag:efi32,X86PC,"PXE Boot - efi32",fai/syslinux.efi,192.168.13.10
  23. dhcp-boot=tag:efi32,fai/syslinux.efi,faiserver,192.168.13.10
  24.  
  25. dhcp-match=set:efibc,60,PXEClient:Arch:00007
  26. pxe-service=tag:efibc,X86PC,"PXE Boot - efibc",fai/syslinux.efi,192.168.13.10
  27. dhcp-boot=tag:efibc,fai/syslinux.efi,faiserver,192.168.13.10
  28.  
  29. dhcp-match=set:efi64,60,PXEClient:Arch:00009
  30. pxe-service=tag:efi64,X86PC,"PXE Boot - efi64",fai/syslinux.efi,192.168.13.10
  31. dhcp-boot=tag:efi64,fai/syslinux.efi,faiserver,192.168.13.10

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN