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

    Issues booting to fog using dnsmasq

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    29
    11.5k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      The part that’s weird to me is the fact that it’s not trying to pull the file from the ltsp located server is 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
      • T
        Tim.Trageser
        last edited by

        Correct. If you look at the jpegs I attached to an earlier post.

        If I change the ltsp.conf to use undionly.0 it boots to network and imediatly gives me file not found. With the conf set as in my last post containing that info, it boots to the Network, goes to the second JPEG then attempts to try downloading default.ipxe from the DHCP server rather than the FOG Server where TFTP is set up and running. And as I stated if I stop dnsmasq on the FOG Server there is nothing else on the network handling Network boots so the systems fail that and go to their HDD.

        I will go through the TCPDump steps and post the output.

        1 Reply Last reply Reply Quote 0
        • T
          Tim.Trageser
          last edited by

          Here is the issue.pcap. I will transfer it to my Windows box and look at it with Wireshark, but figured you guys would find stuff faster than I. Changed extension to .txt since it wouldn’t let me upload .pcap or .tar.gz

          [url=“/_imported_xf_attachments/1/1972_issue.txt?:”]issue.txt[/url]

          1 Reply Last reply Reply Quote 0
          • T
            Tim.Trageser
            last edited by

            Forgot the Destination MAC. It is 78:45:C4:3D:8F:E7

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

              Based on what you’re telling us, it sounds like your DHCP server is setup to hand out a next-server and/or filename address.

              Could you see about having this disabled?

              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
              • N
                need2 Moderator
                last edited by

                I have run into this issue as well. By doing heavy amounts of research I came to the following conclusions:
                [LIST=1]
                []DnsMasq is hard coded to add a .0 to the end of a file. There is no good reason for this. That’s just how it do.
                [
                ]There are some PXE clients (computer firmwares) that have issues with it. They assume the “next-server” to be the DHCP unless given a specific Option 66, unlike most other PXE clients that assume the “next-server” to be the same as where they were told to get the boot file. Once again, no good reason for this, just how they do.
                [/LIST]

                1 Reply Last reply Reply Quote 0
                • T
                  Tim.Trageser
                  last edited by

                  I checked the only active DHCP server and neither option 66 or option 67 are checked/enabled. I will talk to the vendor that handles our Network to see if there is anywhere else this might be set up.

                  From need2’s comment it looks like I might just need to have Option 66 set. I was really hoping to not have to touch the DHCP server as I am new to this company and don’t want to push my boundries yet.

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

                    Your client asks 172.25.5.80 for undionly.kpxe.0 - that’s correct.

                    And it looks like it gets the file, too.

                    However you’ve got some ARP issues… (duplicate use of 172.25.100.43 detected!) I’m not sure what that’s about.

                    So why is it saying file not found when I can see with my eyes that it’s finding the file and getting 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!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

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

                      Options 66 and 67 will make your life easier. It’s MUCH more simple than dnsmasq.

                      When you set those, disable dnsmasq on the FOG server.

                      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
                      • N
                        need2 Moderator
                        last edited by

                        I was getting all sorts of weird packets from dnsmasq when I was fiddling with it. It looks like it does some really hacky things to inject the extra DHCP code without being a DHCP server.

                        1 Reply Last reply Reply Quote 0
                        • T
                          Tim.Trageser
                          last edited by

                          need2 was correct. I tried on some newer systems and it boots properly. My Test machine is older and we only have about 10 in production so I am okay with it not working on those systems till we get them replaced. On our newest systems Dell Optiplex 9020, when it gets to the point where is was trying to go to the DHCP server for the default.ipxe file, it asks for the TFTP server IP. Once I put that in it boots to Fog normally.

                          I am good with the state I have it right now and will inquire about changing the DHCP options with the Vendor and my Boss.

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

                            For the older systems, you could try other boot files.

                            UEFI = .efi files.
                            BIOS = everything else.

                            No harm in that, now that you know you’re solid with this config. Just back it up, back it up, back it up.

                            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
                            • N
                              need2 Moderator
                              last edited by

                              Also, I think changing this line will keep you from having to enter in the TFTP server IP manually into each workstation:

                              You have:
                              [CODE]pxe-service=X86PC, “Boot from network”, undionly.kpxe[/CODE]

                              Change to:
                              [CODE]pxe-service=X86PC, “Boot from network”, undionly.kpxe, <tftp-server-ip-goes-here>[/CODE]

                              Reference:
                              [url]http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html[/url]

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

                              254

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project