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

Using fog with external dhcp pxe server

Scheduled Pinned Locked Moved
FOG Problems
3
11
3.2k
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.
  • G
    george1421 Moderator
    last edited by george1421 Jul 29, 2016, 6:20 AM Jul 29, 2016, 12:19 PM

    Since this is not a standard FOG install, please explain a few things.

    1. What do you mean external dhcp server? Is this external in reference to the internet? (i.e. your fog server is connected to the internet?)
    2. What do you mean when i reboot “the system” to fog and press F8 to start fog… nothing happens? what is “the system” and what do you mean by “nothing happens” (such as nothingness of outer-space? Something must happen or you are not pressing the right key)
    3. DHCP Server and dns server not on fog. (That is ok). Dnsmasq is only used when you can’t change dhcp options 66 (next server) and 67 (boot file). Then you would use dnsmasq to supply these values.
    4. If you ticked no menu and hide menu then its possible that nothingness will be presented to you.

    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
    • L
      limbooface
      last edited by Jul 29, 2016, 2:47 PM

      When I say external I mean its not on the fog server. We have a separate internal linux dhcp server and dns server.

      I am pressing the right key I have set the key to be F8 in fog Boot key sequence. When I say nothing happens, exactly what I mean.

      Our dhcp server is linux so I have not set option to 66 or 67 but I have set “next-server ip”. Maybe this is where I am going wrong as I would need to specify the bootfile, do you know how i set option 67 on a linux dhcp server? I do have a line for "filename “pxelinux.0"” but this boots my linux kickstart server . Would I need another line for the tftp boot file?

      T G 3 Replies Last reply Jul 29, 2016, 2:50 PM Reply Quote 0
      • T
        Tom Elliott @limbooface
        last edited by Jul 29, 2016, 2:50 PM

        @limbooface Why are you using pxelinux.0?

        It doesn’t exist for FOG 1.2.0, and even though it exists for what we have in development it doesn’t work very well.

        YOu need to change the ‘filename’ to use undionly.kpxe or undionly.kkpxe

        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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        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
        • G
          george1421 Moderator @limbooface
          last edited by george1421 Jul 29, 2016, 8:53 AM Jul 29, 2016, 2:53 PM

          @limbooface

          Where to start…

          Dhcp options 66 and 67 are next-server and boot file. These need to point to your fog server for the target computer subnet scope. The next-server must be the IP address of the fog server and the bootfile is typically undionly.kpxe (or if you have problems undionly.kkpxe) and for an efi system you need ipxe.efi. pxelinux.0 should never be used with 1.2.0.

          Here is a good guide for setting up linux dhcp. https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence

          The F8 thing still has me a bit confused. What/where is the F8 coming into play? The typical boot menu option to select pxe booting is either F10 or F12.

          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
          • L
            limbooface
            last edited by Jul 29, 2016, 2:54 PM

            TFTP Error file not found is the error I am getting

            G 1 Reply Last reply Jul 29, 2016, 2:56 PM Reply Quote 0
            • G
              george1421 Moderator @limbooface
              last edited by Jul 29, 2016, 2:55 PM

              @limbooface said in Using fog with external dhcp pxe server:

              Our dhcp server is linux so I have not set option to 66 or 67 but I have set “next-server ip”. Maybe this is where I am going wrong as I would need to specify the bootfile, do you know how i set option 67 on a linux dhcp server? I do have a line for "filename “pxelinux.0"” but this boots my linux kickstart server . Would I need another line for the tftp boot file?

              For a single subnet scope you can not have two pxe boot servers. I would recommend that you upgrade to 1.3.0-rc4 and then with the iPXE menu editor chain load to your kickstart server if you still needed it.

              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
              • G
                george1421 Moderator @limbooface
                last edited by Jul 29, 2016, 2:56 PM

                @limbooface said in Using fog with external dhcp pxe server:

                TFTP Error file not found is the error I am getting

                Are you using dnsmasq somewhere on this subnet/broadcast domain?

                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
                • L
                  limbooface
                  last edited by Jul 29, 2016, 3:30 PM

                  ok thanks tftp server is being picked up but i am not seeing the fog menu in the logs i see
                  fog in.tftpd[14845]: tftp: client does not accept options
                  fog in.tftpd[14846]: Client 192.168.10.72 finished undionly.kpxe

                  G 1 Reply Last reply Jul 29, 2016, 3:48 PM Reply Quote 0
                  • G
                    george1421 Moderator @limbooface
                    last edited by Jul 29, 2016, 3:48 PM

                    @limbooface Can you take a picture of the error with a mobile phone and post it here? There seems to be a disconnect somewhere.

                    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
                    • L
                      limbooface
                      last edited by Jul 29, 2016, 4:31 PM

                      Ok i have it working on my workstatons, on the vm servers that I am trying to image it does not show the fog screen and picks the tftp server and then reboots.

                      If i wish to create a image of a windows workstation Is that the upload option?, so upload to server.
                      Now if i am uploading a windows image from a workstation to a storage node does that storage node need to have a filesystem that windows will recognize like fat32? or will ext3 do?, as I thought it was only storing a iso so the format of the drive would not matter.

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      1 / 1
                      • First post
                        11/11
                        Last post

                      151

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project