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

    Can't boot to PXE

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    pxe installation proxydhcp
    6
    40
    22.9k
    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.
    • Wayne WorkmanW
      Wayne Workman @george1421
      last edited by Wayne Workman

      @george1421 I think those options are in the WOL area of the firmware. I’ve had it work with both “LAN” and “LAN /w PXE”

      If you have it just set to “LAN”, then the regular boot order takes over after the WOL happens. In my building, the normal boot order is LAN -> HDD but of course, lan always works and fog tells the comp to boot to the HDD.

      The alternative which is painfully more work is to set the boot order to HDD first, and then set WOL to LAN /w PXE

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @Wayne Workman
        last edited by george1421

        @Wayne-Workman I just checked a 790 on the bench behind me (I understand we are talking about an XPS vs Business class) and under System Configuration->Integrated nic there are the options I mentioned. The WOL setting tells the computer what you want to happen when it receives a WOL command. Let me fire up a 9020 and see, but I’m going to suspect the same settings there too.

        [Edit] Same well changed one Enabled w/Cloud desktop. The 9020 also has a check box for enable uefi stack [/edit]

        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!

        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman @george1421
          last edited by Wayne Workman

          @george1421 Oh yeah I remember what you’re talking about. You actually have to enable pxe booting. Yup uefi stack for uefi network booting.

          But still, no DHCP options 066 and 067

          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!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

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

            This is an interesting one again! I don’t see any DHCP server offering an IP address to the client!! WHAT?? It does do a kind of normal DHCP DORA (Discover, Offer, Request, Ack). But without ever handing IP information to the client (always 0.0.0.0 as if it is configured to be a DHCP Proxy server). It only sends next-server (option 66) to the client.

            But I doubt this is really the case because a little later on I see the client (same MAC address and now IP 192.168.1.59) asking a different server (192.168.1.6) on port 4011. Please tell us which is which in your network and who should be handing out which information? Do we see all the DHCP traffic in this pcap file?

            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

            R 1 Reply Last reply Reply Quote 1
            • R
              roee @Sebastian Roth
              last edited by roee

              @Sebastian-Roth

              My DHCP server is the 192.168.1.6.
              It has option 66 with string 192.168.1.14 which is the Fog server.
              192.168.1.59 is the IP address assigned to the client which was trying to boot to PXE.
              This pcpap file recorded all my DC (which is also my DHCP server) traffic during the boot of the client machine.
              Option 67 is also enabled with parameter undionly.kpxe which I don’t really know what to do with it.

              Thanks

              1 Reply Last reply Reply Quote 0
              • R
                roee
                last edited by

                Thanks for the interest you’re taking in this.
                I will try to answer all questions.
                I don’t have any other PXE service in my network. I did try Acronis but removed it completely along with all components and all dns/dhcp related records. Wjen I tried Acronis I had the same issue, and before I tried the Acronis this DC (DHCP server) was installed fresh.
                The client machine is a laptop Dell E7440, boot order is NIC first, when fails it holds until a key is pressed to continue to boot from HDD.
                WOL settings were disabled, but I did another boot attempt using the LAN only - same result.
                I think the issue is that option 66/67 are ignored and port 4011 is still being used rather then UDP.
                DHCP server is 192.168.1.6, client receives 192.168.1.59. FOG servers is 192.168.1.14.

                Thanks again!

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

                  In that PCAP file we don’t see your DHCP (192.168.1.6) answering any of the DHCP queries! We only see 192.168.1.83 answering. Please see what/who is 192.168.1.83!

                  Looking through the packet dump file again with the new information you gave: I don’t see DHCP replys from 192.168.1.6! Definitely something missing in the dump?! Did you capture traffic right on that machine?

                  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

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

                    @Sebastian-Roth said:

                    Definitely something missing in the dump?! Did you capture traffic right on that machine?

                    @roee Be sure your pcap device (wireshark ??) is attached to a mirrored port that is mirroring the information from the target computer. This will ensure you capture all dhcp traffic.

                    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
                    • R
                      roee
                      last edited by roee

                      The FOG server is installed as a VM hosted on a Windows 7 VMware workstation 12.
                      IP of the Windows 7 machine is 192.168.1.83.
                      VM Lan card is set to bridge, I made sure it has comm with dhcp, dns, client and www.

                      Does that shed some light?

                      1 Reply Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman @Wayne Workman
                        last edited by Wayne Workman

                        @Wayne-Workman said:

                        @george1421 said:

                        what is the IP address of the dhcp server listed?

                        192.168.1.83

                        Are you running DHCP on your windows 7 machine?

                        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!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        R 1 Reply Last reply Reply Quote 0
                        • R
                          roee @Wayne Workman
                          last edited by

                          @Wayne-Workman

                          Definitely not. The Windows 7 is the host of the fog server VM.
                          DHCP is on a dedicated Windows 2008R2 server Dell R620.

                          Wayne WorkmanW george1421G 2 Replies Last reply Reply Quote 0
                          • Wayne WorkmanW
                            Wayne Workman @roee
                            last edited by Wayne Workman

                            @roee I ask because in the packet capture you posted, I’m seeing several DHCP offers from 192.168.1.83. This doesn’t necessarilly mean you’re running DHCP on the windows 7 machine, but it could mean that your Fog server’s NIC is not bridged, but might instead be NAT’d.

                            0_1453988209130_upload-766f9752-a3fa-4913-9192-357381894bb5

                            Looking further at it, I see there are several DHCP Requests to 192.168.1.6

                            0_1453988359124_upload-286b75d9-dc91-442a-b870-dd1ff0673b05

                            But why is your Windows 7 machine offering DHCP ?
                            And still, among none of these requests and offers do I see options 66 and 67 set.

                            Have you looked at our WiKi page on this?
                            https://wiki.fogproject.org/wiki/index.php?title=Modifying_existing_DHCP_server_to_work_with_FOG

                            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!
                            Daily Clean Installation Results:
                            https://fogtesting.fogproject.us/
                            FOG Reporting:
                            https://fog-external-reporting-results.fogproject.us/

                            R 1 Reply Last reply Reply Quote 0
                            • george1421G
                              george1421 Moderator @roee
                              last edited by

                              @roee just be aware that there IS a dhcp server inside vmware workstation. It should only be for the internal host only networks. Make sure this isn’t configured incorrectly.

                              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!

                              Wayne WorkmanW 1 Reply Last reply Reply Quote 1
                              • Wayne WorkmanW
                                Wayne Workman @george1421
                                last edited by

                                @george1421 said:

                                just be aware that there IS a dhcp server inside vmware workstation.

                                Had no idea.

                                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!
                                Daily Clean Installation Results:
                                https://fogtesting.fogproject.us/
                                FOG Reporting:
                                https://fog-external-reporting-results.fogproject.us/

                                1 Reply Last reply Reply Quote 0
                                • R
                                  roee @Wayne Workman
                                  last edited by

                                  @Wayne-Workman

                                  I couldn’t find on VMWare workstation anywhere a DHCP settings, or anything else that might use as DHCP of some sort.
                                  The NIC is set to bridge for sure. see attached file.
                                  0_1453994032935_upload-860325f1-27ea-4d03-a8bc-de84a9511960

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

                                    @roee I have vm workstation 11 and the setting is under the edit menu Edit->Virtual Network Editor…

                                    As long as the dhcp server is not bridged to the physical adapter you should be all right. In my case I just made sure the vmnetX logical adapters weren’t bound to the physical network adapter. There should be isolation so your PC should not respond to dhcp requests.

                                    It may be doing something with dhcp and the nat service, but again this is abnormal.

                                    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
                                    • S
                                      Sebastian Roth Moderator
                                      last edited by

                                      Do you have “VMware DHCP Service” in your windows service listing (Administrative Tools…)? Maybe try stopping this service and see if you still get those DHCP packets from 192.168.1.83…

                                      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

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

                                        @Sebastian-Roth said:

                                        Do you have “VMware DHCP Service” in your windows service listing (Administrative Tools…)? Maybe try stopping this service and see if you still get those DHCP packets from 192.168.1.83…

                                        Great point, I have that service disabled on my workstation. I didn’t want any crosstalk.

                                        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
                                        • R
                                          roee
                                          last edited by

                                          Hey guys!

                                          Any other ideas or notions or should I just abandon FOG?

                                          Thanks

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

                                            @roee Have you disabled VMware DHCP service? Any changes? If I don’t have a proper PCAP file with all the DHCP packets I can just guess at what is going on in the network. This is like trying to catch a fish with bare hands but having my eyes shut (just joking!).

                                            As you already said - same problem with Acronis PXE. This has nothing to do with FOG itself. Using Windows DHCP server is fine (others have got it working perfectly) but this is nothing we can do with an installer script or something. We are more than happy to give advice and help to get this fixed but we need information to do that. Provide a full PCAP file (best if using a monitoring port or hub on the client side), post screenshots of your DHCP server settings.

                                            Full PXE spec you can find here: ftp://download.intel.com/design/archives/wfm/downloads/pxespec.pdf (looks a bit overwhelming on first sight but it’s definitely a good source to understand how all this works - including port 4011 thing)
                                            Something interesting I just found in the spec (page 17/PDF page 19) is that it also talks about DHCP option 43. @Wayne-Workman You know a lot more about windows DHCP than I do. Have you ever used option 43? Hopyfully we see screenshots of the DHCP settings and you can have a look.

                                            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

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

                                            269

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project