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

dhcp failed on HP prodesk 400 G2

Scheduled Pinned Locked Moved Solved
FOG Problems
4
18
10.1k
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 Apr 22, 2016, 1:11 PM

    Just an observation, if you just updated to the latest trunk build. I’m a bit surprised that the iPXE kernel is about 9 commits behind the current release. But that may be a question more for the developers to answer.

    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
    • Q
      Quazz Moderator
      last edited by Quazz Apr 22, 2016, 7:35 AM Apr 22, 2016, 1:33 PM

      This is anecdotal but I get this all the time in VMs when I reboot (but not when I shutdown and then boot). Don’t know if that’s something you’ve already tried, though.

      This is a known issue (source: http://ipxe.org/err/040ee1)

      1 Reply Last reply Reply Quote 0
      • G
        george1421 Moderator
        last edited by Apr 22, 2016, 1:48 PM

        Thinking about this and referencing a different thread [https://forums.fogproject.org/topic/7226/hp-260-g1-realtek-pcie-gbe], what iPXE boot image are you using? undionly.kpxe or something else. You might want to try the ipxe.pxe iPXE boot kernel to see if that addresses the dhcp issue. Again this is just a guess, but I know these realtek nics can be a big PITA at times.

        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!

        G C 2 Replies Last reply Apr 22, 2016, 2:49 PM Reply Quote 1
        • G
          goempie @george1421
          last edited by Apr 22, 2016, 1:51 PM

          @george1421

          I the command dhcp net0 gives me the same error.
          dhcp net1 say’s no adapter was found.

          I have another problem with upgrading the kernel, maybe that why i’m a few build behind.

          https://forums.fogproject.org/topic/7216/kernel-update-problem-github-7238-ubuntu-14-04/4

          It has wireless build in, not sure how to test if the mac adress is wireless or not?

          Q 1 Reply Last reply Apr 22, 2016, 2:09 PM Reply Quote 0
          • Q
            Quazz Moderator @goempie
            last edited by Apr 22, 2016, 2:09 PM

            @goempie Upgrading the kernel is unrelated to the ipxe binaries, don’t worry.

            Try pointing your DHCP server to the realtek.kpxe binary instead of undionly.kpxe like George suggested.

            Don’t worry about wireless for now, wireless cards rarely ever support PXE, same goes for the BIOS supporting wireless PXE booting. So, it is most likely already trying to boot of the wired connection.

            1 Reply Last reply Reply Quote 1
            • G
              goempie @george1421
              last edited by Apr 22, 2016, 2:49 PM

              @george1421 Indeed changing to ipxe.pxe solved the problem. Thanks for the help.

              G 1 Reply Last reply Apr 22, 2016, 3:09 PM Reply Quote 1
              • G
                george1421 Moderator @goempie
                last edited by george1421 Apr 22, 2016, 9:09 AM Apr 22, 2016, 3:09 PM

                @goempie said in dhcp failed on HP prodesk 400 G2:

                @george1421 Indeed changing to ipxe.pxe solved the problem. Thanks for the help.

                Great!! @Sebastian-Roth mentioned that the undi code in the realtek nics were a bit flaky. The ipxe.pxe image can be used as a direct replacement for unidonly.pxe. The kernel is a bit bigger in the ipxe.pxe since it has all known drivers for nic in production. But with GbE networks and many Gb of memory there is no real performance difference between the two.

                Marking as solved.

                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
                • C
                  craigj1222 @george1421
                  last edited by Sep 27, 2016, 8:49 PM

                  @george1421 @goempie

                  Can you guys please provide instructions on where/how to change to the ipxe.pxe boot kernel? I am seeing this same issue after creating a new image for an HP ProDesk 400 G3 with the same Realtek NIC drivers.

                  G 1 Reply Last reply Sep 27, 2016, 8:56 PM Reply Quote 0
                  • G
                    george1421 Moderator @craigj1222
                    last edited by Sep 27, 2016, 8:56 PM

                    @craigj1222 Typically you will update your dhcp server, change dhcp option 67 {boot-file} from undionly.kpxe to ipxe.pxe. Then pxe boot the target computer. Now understand that this change will allow all uefi systems to pxe boot. If you need to boot a legacy (bios) system you will need to change this dhcp option back to undionly.kpxe.

                    If your dhcp server is based on Windows server 2012 you have an option to have the dhcp server automatically switch between the two boot files based on the target system that is booting.

                    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!

                    G Q 2 Replies Last reply Sep 28, 2016, 11:09 AM Reply Quote 1
                    • G
                      goempie @george1421
                      last edited by Sep 28, 2016, 11:09 AM

                      @george1421 How can you set this up on server 2012 to automatically change?
                      Cause now i have to change sometimes, would be handy if it’s automatic

                      G 1 Reply Last reply Sep 28, 2016, 11:52 AM Reply Quote 0
                      • Q
                        Quazz Moderator @george1421
                        last edited by Quazz Sep 28, 2016, 5:13 AM Sep 28, 2016, 11:13 AM

                        @george1421 ipxe.pxe does not allow UEFI booting, you’re thinking of ipxe.efi

                        In my experience ipxe.kpxe is more compatible than undionly.kpxe, I’ve been using it as the default for a while now to great success.

                        1 Reply Last reply Reply Quote 1
                        • G
                          george1421 Moderator @goempie
                          last edited by Sep 28, 2016, 11:52 AM

                          @goempie There is a posting on the FOG wiki that discusses this: https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence

                          As for the differences between undionly.kpxe and ipxe.kpxe. The difference is that undionly,kpxe is smaller and is only has a shim between the iPXE kernel and the network adapter. It relies on some firmware on the network adapter to provide basis undi network services. As long as the network card firmware is well behaved then everything works great in this model. The ipxe.kpxe contains the majority of known or common network drivers right in the kernel. This iPXE kernel is bigger for sure but also include very well behaved network drivers.

                          Just a comparison between the two kernels.
                          undionly.kpxe is about 93KB in size
                          ipxe.kpxe is about 343KB in size.

                          These days with multi GB workstations this is really a trivial matter, but smaller kernels make faster boots. But in reality find the iPXE kernel that works best for your environment and stick with 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
                          • 1 / 1
                          • First post
                            Last post

                          180

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project