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

patch isc-dhcp server for mac startup disk

Scheduled Pinned Locked Moved Solved
General Problems
4
17
3.7k
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 @SlimJim
    last edited by george1421 Jun 1, 2017, 2:23 PM Jun 1, 2017, 8:21 PM

    @SlimJim OK now you have me a bit confused. Initially I got the impression you were trying to install FOG on OSX(??).

    If your fog server is Ubuntu when you install fog, if you tell the installer you need dhcp it should install isc-dhcp for you. There is nothing to compile or install extra. It should even configure the basics in the config file for you.

    As for Win2012 dhcp server you can do similar to isc-dhcp. ref: https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence

    There are people on the fog forums that have successfully pxe booted and imaged macs, so I know its possible. The netboot requirements seem to be pretty steep as compared to IA64 or IA32 requirements. But it should be possible.

    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 @SlimJim
      last edited by Jun 1, 2017, 8:24 PM

      @SlimJim You also might want to read through this thread for ideas: https://forums.fogproject.org/topic/5790/boot-pxe-macbook-imac

      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
      • S
        SlimJim
        last edited by SlimJim Jun 1, 2017, 2:52 PM Jun 1, 2017, 8:49 PM

        George,

        Thanks for all the good information!! Just realized my initial question was not very clear… I’m wondering if anyone can help me apply the isc-dhcp-server patch that allows the dhcp server to listen on random ports > 1024 in order to see the netboot server (FOG) in startup disk?

        Q 1 Reply Last reply Jun 2, 2017, 8:31 AM Reply Quote 0
        • S
          SlimJim
          last edited by Jun 1, 2017, 8:53 PM

          I have everything working by using “stones”, but wanted to explore the other options

          1 Reply Last reply Reply Quote 0
          • Q
            Quazz Moderator @SlimJim
            last edited by Jun 2, 2017, 8:31 AM

            @SlimJim I think you may be confusing the FOG server with a NetBoot server, possibly?

            If you don’t explicitely use NetBoot and just want to use FOG iPXE and what not, then the default DHCP config that comes with FOG should work. (including startup disk and such).

            S 1 Reply Last reply Jun 2, 2017, 6:46 PM Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Jun 2, 2017, 12:46 PM

              @SlimJim Is this what you mean? https://wiki.fogproject.org/wiki/index.php?title=FOG_on_a_MAC#Startup_Disk

              It was me who added this hint on adding the patch to isc-dhcp-server and so I feel like I should jump in here as well.

              Do you know how to build packges from source on ubuntu?? Please start by reading about this topic on the web.

              I am a bit short of time today and can’t go into the details right now. So please start reading and ask if you can’t get any further.

              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

              S 1 Reply Last reply Jun 2, 2017, 4:07 PM Reply Quote 0
              • S
                SlimJim @Sebastian Roth
                last edited by Jun 2, 2017, 4:07 PM

                @Sebastian-Roth

                Thanks for jumping in, yes, that is exactly what I was referring to, I will give this a shot. When you do have some time, can you please answer a few questions that I have.

                I know people have this working, but does that mean they are capturing mac images using fog?

                Or are people using some other method of creating the images and deploying with fog?

                Any general guidance would be greatly appreciated, as I am short on time because the person tasked with this had 6 months to figure all this stuff out and did nothing and now it has fallen on me… LOL

                Thanks in Advance,

                James

                1 Reply Last reply Reply Quote 0
                • S
                  SlimJim @Quazz
                  last edited by Jun 2, 2017, 6:46 PM

                  @Quazz
                  Just saw your response, I’m not really sure as macs are not my strong suit, I’m just short on time and trying to figure out the quickest way to get imaging working solely with Fog. I did try enabling the dhcp server that is built into the installfog.sh script and I no longer see fog as an option when holding ‘alt’, nor ‘N’ on startup and in system preferences > startup disk I do not see fog either. Please feel free to explain further as I’m not sure what you meant by this and the results were not what I expected.

                  Thanks in Advance,

                  James

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by Jun 5, 2017, 7:53 PM

                    @SlimJim Sorry for my late reply. I have been offline over the long weekend here in Germany.

                    I used FOG to capture an image from a MAC client and deploy it to about 50 MACs via multicast just nicely at my old job. Now I don’t have access to those MACs anymore but others have done this as well. I hope we can get you up and running with this soon!

                    The fancy stuff in the wiki was meant for people who have it all running and just want to make it perfect by patching isc-dhcp-server to make it show up in the “startup disk” dialog of MAC OS X. I’d suggest you don’t bother about this for now. You said you have the clients netbooting using isc and pointing to fog/ipxe.efi. Why not stick to this for now? You should be able to capture and deploy images this way using FOG. From my point of view the ‘bless’ method (see in the wiki) is kind of easy but still very comfortable (no need to use stones).

                    What kind of MACs (exact model name) do you have by the way? You also said something about using images created not by FOG but by deploy studio. So far I don’t know of anyone having done something like this.

                    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
                    • S
                      Sebastian Roth Moderator
                      last edited by Jun 22, 2017, 7:53 AM

                      @SlimJim Any news on this?

                      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
                      • S
                        Sebastian Roth Moderator
                        last edited by Jul 24, 2017, 6:35 PM

                        @SlimJim Do you still need assistance with his? From the other post it sounds like you are able to image your Macs already… Can we mark this solved?

                        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

                        S 1 Reply Last reply Jul 24, 2017, 6:49 PM Reply Quote 0
                        • S
                          SlimJim @Sebastian Roth
                          last edited by Jul 24, 2017, 6:49 PM

                          @Sebastian-Roth Yea, I’m good now, actually got it to work with a Windows DHCP server as I was hoping.

                          Thanks for all your help!!

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

                          159

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project