Fog Setup with Exsiting DHCP Server onsite with no Bootp
-
-
Will Update shortly
-
@TechWiz said in Fog Setup with Exsiting DHCP Server onsite with no Bootp:
/var/lib/tftpboot/
Why /var/lib/tftpboot/??? FOG changes the config to point to
/tftpboot
!! Did you modify the path in the config by hand? -
@TechWiz What version of dnsmaq is installed? Use this command from the linux command prompt
sudo dnsmasq -v
It needs to be version 2.76 or later.Also if you use dnsmaq then you need to disable isc-dhcp server if you had FOG installer enable it.
-
Hi George
I am installing a clean ubuntu 18.04 lts now with latest update, the fog 1.5.5 will disbale or select no for fog dncp option is that correct with you sir?
-
@TechWiz You don’t need to reinstall the entire system if you did select to install isc-dhcp server. You would simply just tell the service to stop and then update the .fogsettings file so the next time you run the installer it doesn’t enable it again for you.
But to answer your question, correct answer NO to install dhcp server option. Then install dnsmasq using the quick start guide I provided.
-
I will do so ubuntu 18.04 almost done, thanks again
-
Hi George
Can I use your config just as is just change the ip address, regards
# 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
-
@TechWiz Yes should be fine. Just give it a try and see what you get.
-
Hi George
I need assistance to setup dnsmasq in ubuntu 18
-
@TechWiz How should we possibly help you if you don’t tell us where exactly you are stuck and need help with.
-
@TechWiz Did you get dnsmasq installed? If so just save my config file in /etc/dnsmasq.d as ltsp.conf. Be sure to update the ltsp.conf file with the IP address of your fog server. Once that is done start dnsmasq using
sudo systemctl start dnsmasq
and thensudo systemctl enable dnsmasq
to start the service at each reboot. Confirm that its running by issuing the following commandps aux|grep dnsmasq
. It should show you that dnsmasq is running in memory.sudo systemctl status dnsmasq
will also do that for you , but the output is a bit verbos. -
Hi Sebastian
I installed ubuntu 18.04 server with all updates
Then installed fog 1.5.5
disabled fog dhcpStruggeling with dnsmasq
-
@TechWiz said in Fog Setup with Exsiting DHCP Server onsite with no Bootp:
<fog_server_IP>
You should use my config exactly. Just change
<fog_server_IP>
(completely) to the IP address of your fog server. -
-
Thanks its “WORKING” so coooooool.
Thanks George and Sebastian thnx thnx thnx…