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

    Fog Setup with Exsiting DHCP Server onsite with no Bootp

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    24
    4.3k
    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.
    • T
      TechWiz @george1421
      last edited by

      @george1421

      I will do so ubuntu 18.04 almost done, thanks again

      1 Reply Last reply Reply Quote 0
      • T
        TechWiz
        last edited by Sebastian Roth

        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
        
        george1421G 1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          @TechWiz Yes should be fine. Just give it a try and see what you get.

          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

          1 Reply Last reply Reply Quote 0
          • T
            TechWiz
            last edited by

            Hi George

            I need assistance to setup dnsmasq in ubuntu 18

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

              @TechWiz How should we possibly help you if you don’t tell us where exactly you are stuck and need help with.

              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

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

                @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 then sudo systemctl enable dnsmasq to start the service at each reboot. Confirm that its running by issuing the following command ps 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.

                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
                • T
                  TechWiz
                  last edited by

                  Hi Sebastian

                  I installed ubuntu 18.04 server with all updates
                  Then installed fog 1.5.5
                  disabled fog dhcp

                  Struggeling with dnsmasq

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

                    @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.

                    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
                    • T
                      TechWiz @TechWiz
                      last edited by

                      @TechWiz

                      0_1543250144043_e0c4a1b8-505a-4655-8b24-6e9042f4cc94-image.png

                      1 Reply Last reply Reply Quote 0
                      • T
                        TechWiz
                        last edited by

                        Thanks its “WORKING” so coooooool.

                        Thanks George and Sebastian thnx thnx thnx…

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

                        281

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project