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

    Fog and Pfsense 2.7

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    15
    2.3k
    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.
    • E
      elchapulin @elchapulin
      last edited by

      @elchapulin
      Hello, thank you for your feedback.

      I modified it for 32 bis, the problem remains the same.

      In PXE UEFI nothing happens.

      In BIOS, here is the error message

      unnamed.jpg

      DHCP (pfsense) and FOG are in the same network.

      THANKS

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

        @elchapulin Ok follow the instructions to get the pcap. That will tell us what the target computer is being asked to do. With a bios computer it should just work.

        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
        • E
          elchapulin
          last edited by

          Sorry I’m new to Linux, I hope it workedoutput.pcap

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

            @elchapulin You created the pcap perfectly.

            I can see the pxe booting computer is in bios mode.

            Looking at the dhcp OFFER packet, I see in the header the next-server is 192.168.1.22 and the boot file is undionly.kpxe. What is strange is in the dhcp options there is only dhcp option 66 which again points to 192.168.1.22. The issue is there is no dhcp option 67. All 4 fields need to be filled out. Its strange that pfsense is doing this…

            Lets try this, in your screen shot the tftp server field is filled out, but that is in a different section than netbooting. Lets remove the tftp server value under the tftp section, but lets leave the next-server field set correctly under network booting. I think the tftp section is overriding the netbooting section.

            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!

            E 1 Reply Last reply Reply Quote 0
            • E
              elchapulin @george1421
              last edited by

              @george1421 Hello, I deleted the TFTP section but it doesn’t work, sorry

              1 Reply Last reply Reply Quote 0
              • J
                jouni.jokelainen
                last edited by

                I am experiencing this problem also. Same setup in hyper-v environment.

                george1421G 1 Reply Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @jouni.jokelainen
                  last edited by

                  These should be the steps needed to configure network/pxe booting using pfsense firewall: https://forums.fogproject.org/topic/17021/how-to-configure-pfsense-for-netbooting

                  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!

                  J 2 Replies Last reply Reply Quote 0
                  • J
                    jouni.jokelainen @george1421
                    last edited by

                    @george1421
                    Thanks
                    Im pretty sure i have those settings in place but i will check them when im back at office next monday.
                    Pfsense, Fogserver and workstarion are in same lan segment so problem cannot be in firewall rules either.

                    1 Reply Last reply Reply Quote 0
                    • J
                      jouni.jokelainen @george1421
                      last edited by

                      @george1421

                      I reinstalled Fog server according to this video: https://www.youtube.com/watch?v=uleFAPmCo7Y

                      Adjusted Pfsense settings for fog (Thanks for these george) :

                      Enable DHCP server on LAN interface

                      Enable network booting

                      Next Server: FOG palvelimen IP
                      Default BIOS file name: undionly.kpxe
                      UEFI 32 bit file name: i386-efi/snponly.efi
                      UEFI 64 bit file name: snponly.efi
                      ARM 64 bit file name: arm64-efi/snponly.efi

                      Note: In Hyper-V 1 generation (BIOS) virtual machines work just fine… BUT you have to disable secure boot if you use 2nd gen virtual machines.

                      1 Reply Last reply Reply Quote 0
                      • J
                        jouni.jokelainen
                        last edited by

                        I also noticed that if you use Windows Server DHCP you need to add Server options for DHCP as follows:

                        066 Boot Server Host Name:: ip or host name of FOG server
                        067 Bootfile Name: ipxe.efi (for UEFI system)

                        So do not use snponly.efi (for efi systems) or undionly.kpxe (for bios systems) as you would use if using pfsense as dhcp server.

                        Googlein around gave different options for 067 Bootfile Name but as im usin EFI in Hyper-V ipxe.efi seems to work. Also you need to disable secure boot in Hyper-V settings in client virtual machines.

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

                          @jouni-jokelainen said in Fog and Pfsense 2.7:

                          Adjusted Pfsense settings for fog (Thanks for these george) :

                          I guess this topic is solved then. Please open a new issue if you have more questions (not related to pfSense).

                          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
                          • [[undefined-on, S Sebastian Roth, ]]
                          • 1 / 1
                          • First post
                            Last post

                          247

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project