• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.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.
  • T
    TechWiz
    last edited by Nov 26, 2018, 2:52 PM

    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?

    G 1 Reply Last reply Nov 26, 2018, 3:01 PM Reply Quote 0
    • G
      george1421 Moderator @TechWiz
      last edited by Nov 26, 2018, 3:01 PM

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

      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!

      T 1 Reply Last reply Nov 26, 2018, 3:02 PM Reply Quote 0
      • T
        TechWiz @george1421
        last edited by Nov 26, 2018, 3:02 PM

        @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 Nov 26, 2018, 10:10 AM Nov 26, 2018, 3:54 PM

          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
          
          G 1 Reply Last reply Nov 26, 2018, 4:28 PM Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Nov 26, 2018, 4:10 PM

            @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 Nov 26, 2018, 4:18 PM

              Hi George

              I need assistance to setup dnsmasq in ubuntu 18

              G 1 Reply Last reply Nov 26, 2018, 4:27 PM Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Nov 26, 2018, 4:25 PM

                @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
                • G
                  george1421 Moderator @TechWiz
                  last edited by Nov 26, 2018, 4:27 PM

                  @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 Nov 26, 2018, 4:27 PM

                    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 Nov 26, 2018, 4:35 PM Reply Quote 0
                    • G
                      george1421 Moderator @TechWiz
                      last edited by Nov 26, 2018, 4:28 PM

                      @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 Nov 26, 2018, 4:35 PM

                        @TechWiz

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

                        1 Reply Last reply Reply Quote 0
                        • T
                          TechWiz
                          last edited by Nov 26, 2018, 4:43 PM

                          Thanks its “WORKING” so coooooool.

                          Thanks George and Sebastian thnx thnx thnx…

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

                          147

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project