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

    Cant pxe boot to fog.

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    37
    6.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.
    • B
      blindcat420 @blindcat420
      last edited by

      @george1421 @Wayne-Workman

      Here is the output.pcap file.

      output.pcap

      B 1 Reply Last reply Reply Quote 1
      • B
        blindcat420 @blindcat420
        last edited by blindcat420

        @george1421 @Wayne-Workman

        So I got a update. Seems I’m getting more action after disabling the firewall on fog.

        vm 1 with legacy boot gives me this now.
        0_1543016772985_11b84a9f-2afe-47b7-b14f-9584bf248c1b-image.png

        vm 2 with uefi boot gives me this.

        0_1543016801126_2fb3a1d5-2aa8-419a-b15d-1291a3b86f71-image.png

        the laptop gives me the same error as the first picture.

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

          @blindcat420 Just a quick question. Did you disable selinux? Check with sestatus or with getenforce. This is in the CentOS 7 instructions.

          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/

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

            @blindcat420 Ok those screen shots are very helpful in telling where its going sideways. Can you grab another pcap now that you have the linux server firewall disabled. In the previous pcap I only see dhcp “Offers” from your firewall/router and not dnsmasq.

            I also suggest that you load wireshark onto a windows computer so you can review the pcap file.

            Remember a dhcp/pxe boot process always follows this flow.
            Client ->Discover
            DHCP Server->Offer
            (if you have proxyDHCP) DHCP Proxy ->Offer
            Client ->Request
            DHCP Server ->ACK
            (end of normal dhcp)
            (start of pxe booting)
            Client ->DHCP Proxy
            Client ->DHCP Proxy
            Client ->tftp server (request file size)
            Client ->tftp server (request file)

            Also if you want to interact with FOG server from windows land you will need 2 applications in your tool box.

            1. Putty (remote ssh termial)
            2. WinSCP (remote file copy explorer)

            From your picture, just for clarity 192.168.1.3 is your FOG server?

            From the pictures it appears that dnsmask is working but maybe the tftp server is sending the file. The pcap will tell us a bit more where to look.

            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!

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

              @george1421 Very strange I think. The pcap was captured on the FOG server I suppose. Why don’t we see any packets from dnsmasq??

              @blindcat420 Ok let’s check if your TFTP server is running properly. Run ps aux|grep tftp and netstat -antup|grep 69, and post the full output here.

              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

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

                @Wayne-Workman said in Cant pxe boot to fog.:

                sestatus

                0_1543077753522_462fe2e7-cdd3-47c0-be43-59e1d7fbd081-image.png

                i disabled firewalld i assume that is different than selinux?

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

                  @george1421

                  here is the updated pcap file.

                  0_1543078114945_output2.pcap

                  1 Reply Last reply Reply Quote 0
                  • B
                    blindcat420 @Sebastian Roth
                    last edited by blindcat420

                    @Sebastian-Roth

                    @george1421

                    192.168.1.3 is the fog server.

                    for output.pcap i did run that from the fog server and it was before i disabled firewalld.

                    output2.pcap is after disabling firewalld.

                    this is what i get with those two commands.
                    0_1543078293435_b2584afc-1a8f-4319-9f80-693394cabd8b-image.png

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

                      @blindcat420 said in Cant pxe boot to fog.:

                      i disabled firewalld i assume that is different than selinux?

                      You need to set SELinux either to permissive or disabled, instructions for that are in the CentOS 7 tutorial.

                      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

                        @blindcat420 Ok then, TFTP is not running. Usually FOG sets it up properly when running the installer. As you are running CentOS tftp is provided by xinetd. So please run the following commands:

                        systemctl start xinetd
                        systemctl status xinetd
                        

                        @Wayne-Workman SELinux is disabled already, see posts further down.

                        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
                        • B
                          blindcat420
                          last edited by

                          @Sebastian-Roth

                          So i started xinetd.

                          0_1543086772351_d7813b4c-aa39-44ed-a25d-0a93bd868ca0-image.png

                          Iooks like i get the same error as before. so seems something is wrong with tftp

                          0_1543087073314_9512fc70-92e7-489c-821f-ec41c463a4eb-image.png

                          Tom ElliottT 1 Reply Last reply Reply Quote 0
                          • Tom ElliottT
                            Tom Elliott @blindcat420
                            last edited by

                            @blindcat420 can you run a simple tftp transfer test? First can you double check rpcbind is running? Usually, I see tftp in a call port created when requested rather than a constant seeing of port 69 being open. This is usually handled by rpcbind utility. Xinetd May play a role as well but I don’t know if it running alone will prove anything.

                            https://wiki.fogproject.org/wiki/index.php/Troubleshoot_TFTP#Testing_TFTP

                            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

                            B 1 Reply Last reply Reply Quote 1
                            • B
                              blindcat420 @Tom Elliott
                              last edited by

                              @Tom-Elliott

                              0_1543088867978_a9f96388-1e04-489e-aea7-9d2398d5ab5b-image.png

                              I followed the guide to install tftp and this is what i get.

                              0_1543088927734_57c38f8c-a80e-47ff-afcc-d907b35e3cdc-image.png

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

                                @blindcat420 In the xinetd status picture I see ... removing tftp and so I guess something went wrong with the configuration file. Please check /etc/xinetd.d/tftp and post the full content here. The FOG installer does manipulate that file but I have not seen something going wrong here in the last couple of months or even years.

                                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

                                B 1 Reply Last reply Reply Quote 0
                                • B
                                  blindcat420 @Sebastian Roth
                                  last edited by

                                  @Sebastian-Roth

                                  0_1543112602495_b08b8df0-ec6b-44a6-bd98-4a977e56571c-image.png

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

                                    @Sebastian-Roth said in Cant pxe boot to fog.:

                                    /etc/xinetd.d/tftp…

                                    Here we go. Your config hasn’t been modified by the installer. Maybe the installer didn’t run all the way to the end? When it asked you to access the web interface, did it proceed further after you hit ENTER there? You can simply fix the path in the config (should be server_args = -s /tftpboot and disable = no) and restart xinetd but you might run into other issues if the installer hasn’t finished last time. The food thing is you can simply re-run the installer to do it’s thing again. It will detect that all packages are already installed and do all the config stuff for you again.

                                    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

                                    B 1 Reply Last reply Reply Quote 0
                                    • B
                                      blindcat420
                                      last edited by

                                      @Sebastian-Roth

                                      I will give that a try. I dont really remember. As far as I know the install should have completed. When I try to run this command from that tftp troubleshooting page. I get this.

                                      0_1543164553765_80897598-e437-4321-9a5c-a7cd38101a5e-image.png

                                      Doesn’t look like i have a folder called tftpboot.

                                      When you say rerun the installer are you talking about fog?

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

                                        @blindcat420 said in Cant pxe boot to fog.:

                                        When you say rerun the installer are you talking about fog?

                                        Yes, simply do as if you’d do your FOG install normally. Answer the questions as you did last time and let it run through. I am fairly sure the installer didn’t finish last time as it would have created /tftpboot and copied the iPXE binaries to it - and many more things.

                                        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
                                        • B
                                          blindcat420 @Sebastian Roth
                                          last edited by

                                          @Sebastian-Roth

                                          I went ahead and reran the fog installer.

                                          That seems to have fixed it. I would have to say it most likely didnt finish last time. But since im a noob i dont really know what to look for. lol.

                                          both legacy and uefi boot to pxe now.

                                          0_1543165332959_67691bba-75b6-4b72-ae97-69dc795a6e2a-image.png

                                          0_1543165353377_8878c0c4-d418-410b-a93d-0f27d62b349c-image.png

                                          Wayne WorkmanW 1 Reply Last reply Reply Quote 2
                                          • B
                                            blindcat420
                                            last edited by

                                            @Sebastian-Roth @Tom-Elliott @Wayne-Workman @george1421

                                            I want to thank you guys for all the assistance.

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

                                            235

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project