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

Not able to capture Image

Scheduled Pinned Locked Moved
General Problems
5
15
1.6k
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.
  • V
    Vrogers
    last edited by Jun 30, 2020, 7:58 PM

    I have Fog running as a VM on a Dell server. It has 20G of ram, 3.5T of storage. I have a client machine setup and ready for the image capture. Changed the boot process to PXE on the host machine. I’ve added the MAC address under ‘Host Management.’ I’ve created the image under ‘Image Management.’ Yet, when I reboot the host, it fails to capture the image for whatever reason. This has been plaguing me since last week. I did find an article on SpiceWorks that states I need to install the Fog service on the host machine. That article was written several years ago back in 2014, so I was unsure of the accuracy of that article today. Our DHCP is handled through a SonicWall, that’s what I’m afraid is our issue, at least having the appropriate settings configured correctly anyway. Has anyone successfully implemented Fog with a SonicWall handling the DHCP?

    1 Reply Last reply Reply Quote 0
    • B
      borg
      last edited by Jun 30, 2020, 8:15 PM

      may I inquire,
      Have you confirmed that the host has been registered with the server? on PXE boot there should be a screen telling you that the host is registered as [hostname]
      Have you set DHCP option 60 and 67 (i hope I remember correctly, please correct if I am wrong)?

      V 1 Reply Last reply Jul 1, 2020, 12:42 PM Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Jun 30, 2020, 8:49 PM

        @Vrogers Have you searched the forum for “SonicWall” yet? I am sure this will bring up valuable information. If not you can still come back.

        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

        V 1 Reply Last reply Jul 1, 2020, 12:26 PM Reply Quote 0
        • V
          Vrogers @Sebastian Roth
          last edited by Jul 1, 2020, 12:26 PM

          @Sebastian-Roth Yes, I searched for ‘SonicWall’ and also ‘Sonic Wall’ just to cover my bases and both returned with no hits.

          1 Reply Last reply Reply Quote 0
          • G
            george1421 Moderator
            last edited by Jul 1, 2020, 12:37 PM

            @Vrogers said in Not able to capture Image:

            when I reboot the host, it fails to capture the image for whatever reason.

            What does this really mean? What part of the process is not working? Are you getting to the FOG iPXE menu where you can pick to register a host? Is it failing to actually load the iPXE menu? Are you getting an PXE-XXX error or something stating a NBF download failure? A clear screen shot of the error will help us understand where the process is failing.

            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!

            V 1 Reply Last reply Jul 1, 2020, 1:54 PM Reply Quote 0
            • V
              Vrogers @borg
              last edited by Vrogers Jul 1, 2020, 6:44 AM Jul 1, 2020, 12:42 PM

              @borg I’m not able to confirm if the host is registered with the server. Upon booting up it gives me the message in the bottom image for both IPv4 and IPv6. In the top image from the fog server, the ‘Warning’ icon previously was the Windows logo, until I attempted to capture the image, that’s when it changed to the warning.

              Screenshot (115)_LI.jpg

              InkedIMG_2372_LI.jpg

              1 Reply Last reply Reply Quote 0
              • V
                Vrogers @george1421
                last edited by Vrogers Jul 1, 2020, 8:36 AM Jul 1, 2020, 1:54 PM

                @george1421 I’m sorry George, to say that I’m new to Fog would be an understatement. To answer your question about what part of the process is not working, I can’t say exactly, unfortunately. I followed the steps from a community spiceworks post found here, https://community.spiceworks.com/how_to/373-fog-server-install-free-opensource-ghost, in addition to a video I found on YouTube. But I have the MAC address of the host entered on the FogServer under the ‘Host’ tab, I have created an Image under the ‘Image’ tab. Moving further right along the tabs under ‘Tasks’, I have the active task ‘forced to start.’ I have the PC set to boot from PXE, only it doesn’t seem like it’s communicating with the fog server. I say that because it’ll go from IPv4, then IPv6, and then boot up to the Windows login screen without any indication of being registered. I am able to ping the fog server from the host, however, I am not able to ping the host from the fog server, which is why I think it’s something in the settings for the SonicWall that’s blocking the communication, which are a nightmare of complexities, at least to me. We’re running the Fog Server on Ubuntu Server 20.04.

                The screenshot, technically a picture from my phone, is the only thing that is displaying after I manually reboot the host PC. It sits on that screen for a minute, then continues to IPv6, and then boots to the Windows login screen.

                G 1 Reply Last reply Jul 1, 2020, 3:28 PM Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Jul 1, 2020, 3:07 PM

                  @Vrogers said in Not able to capture Image:

                  Yes, I searched for ‘SonicWall’ and also ‘Sonic Wall’ just to cover my bases and both returned with no hits.

                  Returns several results for me.

                  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

                  V 1 Reply Last reply Jul 1, 2020, 3:50 PM Reply Quote 0
                  • G
                    george1421 Moderator @Vrogers
                    last edited by Jul 1, 2020, 3:28 PM

                    @Vrogers OK so you are having issues pxe booting. From your description it tries ipv4, ipv6 and then just boots into windows.

                    So the first important bit of info is what type of computer is this? Is it uefi based or bios based? The reason why I ask is because each type takes its own pxe boot loader.

                    I’m going to guess that the computer is uefi because it tries ipv4 then ipv6, but you need to confirm. Once you know what the computer is you need to go into your dhcp server, in your case the firewall. For DHCP you can send custom values to the target computer those custom values will be how to find your FOG server and what file to load initially (boot loader). These values are passed through dhcp options 66 which needs to be set to the IP address of the FOG server. DHCP option 67 which is the name of the boot file. For bios based computers this value should be undionly.kpxe for uefi computers the file is ipxe.efi. Once those values are set, when you pxe boot your computer you should see a screen with FOG iPXE Menu at the top. When you see this screen you know that your dhcp/netboot options have been set correctly.

                    While I don’t want to go too deep in this next part, but we have seen where many router implementations of dhcp are somewhat lacking in pxe boot settings. No worries if your router doesn’t support dhcp boot settings we have other options to provide this information to the pxe booting computers. Its less configuration if your router supports it, but we can make do with lacking router dhcp settings.

                    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!

                    V 1 Reply Last reply Jul 1, 2020, 6:40 PM Reply Quote 0
                    • V
                      Vrogers @Sebastian Roth
                      last edited by Jul 1, 2020, 3:50 PM

                      @Sebastian-Roth I don’t know what I’m doing differently then.

                      Screenshot (117).png

                      C 1 Reply Last reply Jul 1, 2020, 4:25 PM Reply Quote 0
                      • C
                        Chad @Vrogers
                        last edited by Chad Jul 1, 2020, 10:27 AM Jul 1, 2020, 4:25 PM

                        @Vrogers Press enter. I’m showing posts from 2016 once you scroll down…
                        d34d745d-962e-4253-9680-2d2a3e5cce70-image.png

                        V 1 Reply Last reply Jul 1, 2020, 6:42 PM Reply Quote 0
                        • V
                          Vrogers @george1421
                          last edited by Jul 1, 2020, 6:40 PM

                          @george1421 It’s a Lenovo M720s, UEFI based

                          1 Reply Last reply Reply Quote 0
                          • V
                            Vrogers @Chad
                            last edited by Jul 1, 2020, 6:42 PM

                            @Chad Ah… Thanks Chad. I was looking for an autocomplete field to populate as in my prior uses with this search bar.

                            1 Reply Last reply Reply Quote 0
                            • C
                              Chad
                              last edited by Chad Jul 1, 2020, 12:49 PM Jul 1, 2020, 6:46 PM

                              This seems like network issues between your host and your server. Try looking at some articles for SonicWalls, also, try getting a Wireshark pcap of your network.

                              My biggest pain point was letting my Check Point firewall handle DHCP. All options were set properly, however the TFTP file name was never passed to the host, so it got an IP, but didn’t know what to do next. I solved this by creating a separate subnet and then letting FOG handle DHCP on that network.

                              EDIT: Not saying anyone here would willingly gid through your pcap. Take a look at this first video I found on this, could be of some help.

                              G 1 Reply Last reply Jul 1, 2020, 7:23 PM Reply Quote 1
                              • G
                                george1421 Moderator @Chad
                                last edited by Jul 1, 2020, 7:23 PM

                                @Chad said in Not able to capture Image:

                                My biggest pain point was letting my Check Point firewall handle DHCP. All options were set properly, however the TFTP file name was never passed to the host, so it got an IP, but didn’t know what to do next.

                                This is what I’m thinking about the sonicwall, or its not configured correctly for dhcp options 66 and 67. Also what we find in most firewalls is that they only support static dhcp options. So with static dhcp options you have to pick either bios or uefi support.

                                I solved this by creating a separate subnet and then letting FOG handle DHCP on that network.

                                This is not necessary if you install dnsmasq on your FOG server. DNSMASQ only supplies pxe boot info overriding anything the dhcp server tells the client. We find most soho routers will always send the lan interface as the boot server instead of the FOG server. DNSMASQ will fix this broken behavior.

                                If the OP has the sonicwall configured correctly and the target computer still isn’t pxe booting we have a tutorial on configuring the FOG server to capture the pxe booting process so we can see what is going wrong.

                                Sonicwall help shows how to configure the sonicwall for pxe booting: http://help.sonicwall.com/help/sw/eng/published/1334883822_5.8.1/PANEL_dhcpStatProps.html Relevant steps are 18 == ipxe.efi and 19 == fog server IP (I know it says dns name, use the ip address here). Note you may also need to configure the generic options in step 20 for dhcp options 66 and 67. Some dhcp implementation steps 18 and 19 are configuration for bootp and step 20 is for dhcp booting. They are two different protocols.

                                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
                                • 1 / 1
                                1 / 1
                                • First post
                                  4/15
                                  Last post

                                156

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project