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

    Need help making my own Debian 9 FOG server!

    Scheduled Pinned Locked Moved Solved
    General
    5
    48
    15.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.
    • george1421G
      george1421 Moderator @unknownhost99
      last edited by george1421

      @unknownhost99 Ok I see immediately what is wrong. Your dhcp server (what ever it is) is not responding to the target computer. I only see dnsmasq responding with the next server and boot file name. dnsmaq is working perfectly. The issue is that the target computer is not being offered an IP address (or any network IP information) it doesn’t know what to do.

      In a perfectly working setup with dnsmasq, you should see one discover packet from the target computer and then two offer packets. One from your dhcp server and one from dnsmasq. You can view this if you load wireshark on a windows or linux computer and view the pcap you sent.

      A perfect dhcp/pxe booting sequence is this.
      Cli: Discover
      DHCP: Offer
      DNSMASQ: Offer
      Cli: Request
      DHCP: ACK
      Cli: Chat with DNSMASQ
      Cli: tftp download from FOG server.

      Also realize that your ltsp.conf file will only support bios (legacy) booting computers. Uefi computers will fail to boot. Just be aware of this fact. There is nothing wrong with your config file, it just doesn’t have the bits for uefi 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!

      U 1 Reply Last reply Reply Quote 0
      • U
        unknownhost99 @george1421
        last edited by

        @george1421 we know we are looking into the dhcp which currently run by a router so if anything still goes wrong then ill update it here thanks!

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

          @unknownhost99 Now in your final configuration, will the pxe booting clients be on a different subnet than your fog/dnsmasq server? If so then you need to add your fog server as the very last server in your dhcp-relay/dhcp-helper list so that your dnsmasq server will see the pxe boot requests on other subnets.

          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!

          U 1 Reply Last reply Reply Quote 0
          • U
            unknownhost99 @george1421
            last edited by

            @george1421 me and my boss went over the whole prgress and its working much better now although now when trying to boot from ipxe we get:
            TFTP
            file not found
            and then it exitst the pxe boot

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

              @unknownhost99 Please create another pcap so we can see what the client is seeing. We found a misplaced space some times causes pxe boot to fail. The PXE roms some times are not very smart.

              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!

              U 1 Reply Last reply Reply Quote 0
              • U
                unknownhost99 @george1421
                last edited by

                @george1421 i fixed the issue we can now finally start with adding hosts and adding images

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

                  @unknownhost99 Do you mind explaining what was wrong, for others that may find the thread in the future?

                  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!

                  U 1 Reply Last reply Reply Quote 0
                  • U
                    unknownhost99 @george1421
                    last edited by

                    @george1421 weirdly enough dont know what the issue is we went into the menu of fog using dhcp and even manged to capture an image from it but weirdly enough when it was done., i tried to boot again and now it says no boot file found whilst booting from pxe no settings or anything has been changed

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

                      @unknownhost99 To me this sounds like you have more than one DHCP server in your network. Sometimes the “right” one answers first and sometimes the “wrong” one…

                      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

                      U 1 Reply Last reply Reply Quote 0
                      • U
                        unknownhost99 @Sebastian Roth
                        last edited by

                        @sebastian-roth dhcp is done with the router and dnsmmasq i have it plugged in the right router so that shouldnt be the problem

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

                          @unknownhost99 I have seen many routers doing very weird things DHCP vise. But go ahead if you think it’s all fine.

                          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

                          U 1 Reply Last reply Reply Quote 0
                          • U
                            unknownhost99 @Sebastian Roth
                            last edited by

                            @sebastian-roth yea but the weird thing is it worked just fine yesterday and no settings or hardware changed and now its not working

                            U 1 Reply Last reply Reply Quote 0
                            • U
                              unknownhost99 @unknownhost99
                              last edited by unknownhost99

                              @unknownhost99 i just want to let everybody now that the server functions properly know thanks to everyone who replied, it was a great help and i love the service you supply keep going at it!

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

                              197

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project