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

FOG + Pfsense DHCP

Scheduled Pinned Locked Moved
FOG Problems
6
24
16.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.
  • A
    Albertus
    last edited by Feb 26, 2016, 7:12 AM

    Good Day

    I have a problem to get new pc’s to boot to FOG menu.
    The new PC’s are Acer Extensa X2610G using UEFI.
    I did setup my pfsense to enable network booting with settings as per screenshot.

    0_1456469777863_fog_pfsense.jpg

    Please advise where i go wrong as pc does load “ipxe initialising devices”, but then quickly runs through steps not seen by eye and then continue to boot harddrive.
    My legacy boot via undionly.kpxe works perfect.

    Please Help.

    Thank You

    Albertus Geyser

    01000001 01101100 01100010 01100101 01110010 01110100 01110101 01110011
    That's me in a nutshell!!

    W 1 Reply Last reply Feb 26, 2016, 1:14 PM Reply Quote 0
    • G
      george1421 Moderator
      last edited by Feb 26, 2016, 10:56 AM

      While I’m not sure I understand why this is working in my setup.

      I have no entry <blank> for Tftp server
      Enables network booting unchecked.
      next-server points to fog IP
      the same boot files as you
      and no entry for root-path string.

      Based on your configuration, I would remove the root path string.

      If you boot into bios mode, are you getting an error from the pxe rom? Or is your issue with efi 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!

      1 Reply Last reply Reply Quote 1
      • W
        Wayne Workman @Albertus
        last edited by Feb 26, 2016, 1:14 PM

        @Albertus The “root-path-string” should be blank.

        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
        • A
          Albertus
          last edited by Feb 26, 2016, 1:20 PM

          Good Day

          Thank You for reply.

          If i leave my settings as you did then mine stops at “Start PXE over IPv4”.
          Can anyone tell me if my Fog TFTP Server settings are correct?

          0_1456492802735_fog1.jpg

          Thank You

          Albertus Geyser

          01000001 01101100 01100010 01100101 01110010 01110100 01110101 01110011
          That's me in a nutshell!!

          1 Reply Last reply Reply Quote 0
          • Q
            Quazz Moderator
            last edited by Quazz Feb 26, 2016, 7:31 AM Feb 26, 2016, 1:29 PM

            If the issue only occurs with UEFI booting then it has to do with the UEFI implementation in iPXE.

            Try the snp.efi file, sometimes that works better for people. Might be worth mentioning that certain machines have trouble UEFI PXE Booting regardless, so there’s not necessarily a solution yet.

            1 Reply Last reply Reply Quote 0
            • G
              george1421 Moderator
              last edited by Feb 26, 2016, 1:35 PM

              Again, I would ask if you can boot in bios mode. The bios pxe roms give a bit more detail. Once we are sure you have pxe booting working then we can focus on efi booting.

              Also I don’t see where you mentioned what version of fog you use. Could you let us know that? If you are using 1.2.0 stable or older, I’m going to recommend you upgrade to the trunk release since that handles efi booting MUCH better than the older releases. (but I don’t think that is your problem yet).

              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!

              A 1 Reply Last reply Feb 26, 2016, 2:16 PM Reply Quote 0
              • A
                Albertus @george1421
                last edited by Feb 26, 2016, 2:16 PM

                Good Day

                Please see attached image of what pc does when booting . . .

                0_1456496169605_ipxe.jpg

                Thank You

                Albertus Geyser

                01000001 01101100 01100010 01100101 01110010 01110100 01110101 01110011
                That's me in a nutshell!!

                G 1 Reply Last reply Feb 26, 2016, 3:36 PM Reply Quote 0
                • G
                  george1421 Moderator @Albertus
                  last edited by Feb 26, 2016, 3:36 PM

                  @Albertus You haven’t told us what version of fog you are running.

                  But from your picture, the iPXE files are being delivered to the client so your dhcp is setup correctly for bios booting.

                  Now if you switch back to efi mode on this device, what errors do you get? Please post the picture here (this time no flash please, my eyes are old).

                  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!

                  A 1 Reply Last reply Feb 26, 2016, 3:43 PM Reply Quote 1
                  • A
                    Albertus @george1421
                    last edited by Feb 26, 2016, 3:43 PM

                    @george1421

                    Good Day

                    I am running FOG 1.2.0.
                    This is what i get booting in efi mode, not bios mode.
                    in pc bios i selected UEFI not Legacy.

                    Hope this helps to help me.

                    Thank You

                    Albertus Geyser

                    01000001 01101100 01100010 01100101 01110010 01110100 01110101 01110011
                    That's me in a nutshell!!

                    T A 2 Replies Last reply Feb 26, 2016, 3:46 PM Reply Quote 0
                    • T
                      Tom Elliott @Albertus
                      last edited by Feb 26, 2016, 3:46 PM

                      @Albertus if you’re running 1.2.0 then what ipxe files are you using?

                      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

                      A 1 Reply Last reply Feb 26, 2016, 3:49 PM Reply Quote 0
                      • A
                        Albertus @Tom Elliott
                        last edited by Feb 26, 2016, 3:49 PM

                        @Tom-Elliott

                        Good Day

                        I am running ipxe.efi . . .

                        Thank You

                        Albertus Geyser

                        01000001 01101100 01100010 01100101 01110010 01110100 01110101 01110011
                        That's me in a nutshell!!

                        T 1 Reply Last reply Feb 26, 2016, 3:50 PM Reply Quote 0
                        • T
                          Tom Elliott @Albertus
                          last edited by Feb 26, 2016, 3:50 PM

                          @Albertus what I’m getting at is the version of the ipxe file is not that of the version released in 1.2.0, at least if I recall 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! 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
                          • A
                            Albertus @Albertus
                            last edited by Feb 26, 2016, 4:03 PM

                            Good Day

                            Added are images of what i get when booting legacy mode on this client:

                            0_1456502514575_ipxe2.jpg

                            0_1456502552196_ipxe3.jpg

                            After second image then pc reboots and loops.

                            Thank You

                            Albertus Geyser

                            01000001 01101100 01100010 01100101 01110010 01110100 01110101 01110011
                            That's me in a nutshell!!

                            T 1 Reply Last reply Feb 26, 2016, 4:05 PM Reply Quote 0
                            • T
                              Tom Elliott @Albertus
                              last edited by Feb 26, 2016, 4:05 PM

                              @Albertus again those are not 1.2.0 ipxe files. Somebody switched out the files. How do I know?

                              The version of ipxe is found with the d739 part. 1.2.0 ipxe started with a letter a if I recall correctly.

                              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

                              A 1 Reply Last reply Feb 26, 2016, 4:07 PM Reply Quote 0
                              • A
                                Albertus @Tom Elliott
                                last edited by Feb 26, 2016, 4:07 PM

                                @Tom-Elliott should i replace some files? is that what you mean?
                                If so where can i find files to replace?

                                01000001 01101100 01100010 01100101 01110010 01110100 01110101 01110011
                                That's me in a nutshell!!

                                1 Reply Last reply Reply Quote 0
                                • G
                                  george1421 Moderator @Guest
                                  last edited by Feb 26, 2016, 4:19 PM

                                  @Albertus Lets take a step back and think for a minute. I think we have a language translation issue. This is no problem, we will just take the information collection slower.

                                  Lets start with the basics. When you access the FOG management GUI, there is a picture of a cloud on the upper left side of the screen. On that cloud there are little numbers on the right side of the cloud. Can you tell us what numbers are there?

                                  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!

                                  A 1 Reply Last reply Feb 27, 2016, 6:02 AM Reply Quote 0
                                  • S
                                    Sebastian Roth Moderator
                                    last edited by Sebastian Roth Feb 26, 2016, 4:59 PM Feb 26, 2016, 4:28 PM

                                    You are perfectly right Tom. This can’t be an official FOG 1.2.0 binary - not just because of the version but there actually was no ipxe.efi in FOG 1.2.0 and neither was there a i386-efi/ipxe.efi file in /tftpboot directory.

                                    So I guess he downloaded a new set of iPXE binaries somewhere around last summer. At least the version number d739 is pointing to an iPXE commit around June 2015. But anyhow.

                                    @Albertus Downloading a set of iPXE binaries is fine if they work for you. So don’t worry, you did nothing wrong. You can try downloading a new set of iPXE binaries to see of they work better (this is on debian - you might need to adjust some of the service commands if you are on CentOS):

                                    sudo service tftpd-hpa stop
                                    sudo mv /tftpboot /tftpboot.backup
                                    sudo mkdir /tftpboot
                                    sudo svn export http://svn.code.sf.net/p/freeghost/code/trunk/packages/tftp/ /tftpboot
                                    sudo chown -R fog /tftpboot
                                    sudo service tftpd-hpa start
                                    

                                    The last picture (BIOS mode) you posted is cut off at the bottom exactly where I guess there might be valuable information.
                                    But the UEFI mode picture is better! “Exec format error” could be because the kernel you are using is too old. EFI_STUB was added in kernel version 3.16.x and FOG 1.2.0 default kernel is 3.15.6!!
                                    Please run file /var/www/fog/service/ipxe/bzImage on your FOG server to see which kernel version you have. You can update the kernel in the web interface (FOG configuration).

                                    Edit: Just stumbled upon the commit that had iPXE version d739 (git / svn FWIW)

                                    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 1
                                    • A
                                      Albertus @george1421
                                      last edited by Feb 27, 2016, 6:02 AM

                                      @george1421 the numbers in cloud is 3613.

                                      01000001 01101100 01100010 01100101 01110010 01110100 01110101 01110011
                                      That's me in a nutshell!!

                                      W G 2 Replies Last reply Feb 27, 2016, 6:18 AM Reply Quote 0
                                      • W
                                        Wayne Workman @Albertus
                                        last edited by Feb 27, 2016, 6:18 AM

                                        @Albertus said:

                                        @george1421 the numbers in cloud is 3613.

                                        You should update to the latest in this case, since you are already on Trunk. There’s been a lot of changes since 3613.

                                        You can do that by following one of the methods here:
                                        https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_trunk

                                        I would recommend either the svn or the git method. Either is fine.

                                        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
                                        • G
                                          george1421 Moderator @Albertus
                                          last edited by george1421 Feb 27, 2016, 9:54 AM Feb 27, 2016, 2:33 PM

                                          @Albertus said:

                                          @george1421 the numbers in cloud is 3613.

                                          I agree Wayne 3613 is pretty old in the trunk. The latest trunk version (as I write this) is 6483. The Devs have made great progress in the last month to support the newest hardware and hard drive configurations. Its well worth the effort to upgrade. When you get to the latest trunk release and still have issues, then we can get the Devs attention to your specific problem.

                                          From your original post, I’m pretty sure your issue is not pfsense or pxe 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!

                                          1 Reply Last reply Reply Quote 1
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            3/24
                                            Last post

                                          144

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project