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

    TFTP Timeout Issue/First FOG Install

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    26
    7.9k
    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.
    • W
      weltern
      last edited by

      Server
      • FOG Version: 1.3.5
      • OS: Ubuntu 17.04
      Client
      • Service Version:
      • OS: Windows 10
      Description

      0_1494092677343_VirtualBox_FogMachine1_06_05_2017_11_24_47.png

      NOTE - First time trying to set up FOG so very new to installing it and troubleshooting it. Have used FOG in the past but it was already set up for me

      Getting this TFTP Timeout when trying to F12 to FOG screen.

      Running FOG in Ubuntu 17.04 within VirtualBox and can access the Fog Management. VirtualBox (v 5.1.18) is set up in bridged mode so computers on my network can see it (figured it might be easier for me and practical when i try to do this again in a real environment and not a virtual one). DHCP was disabled during FOG install so that it would not interfere with my Router’s DHCP server (Comcast Router, can not turn it off, only can set static reserves).

      Trying to register and inventory another virtual machine running Windows 10 pro also in bridged mode for NIC in VirtualBox.
      Figured once i could get to that screen it should be working fine and i would be able to upload an image to fog and then deploy it on another virtual machine.

      Any help would be greatly appreciated. Thank you.

      W george1421G 2 Replies Last reply Reply Quote 0
      • W
        weltern @weltern
        last edited by weltern

        0_1494093693031_VirtualBox_FogMachine1_06_05_2017_14_00_57.png

        Realized the screenshot doesn’t actually show the timeout, so here is another one.

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

          @weltern Is the fog server at ip address 10.0.0.1?

          Also did you change the Ip address of the fog server after fog was installed?

          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!

          W 1 Reply Last reply Reply Quote 1
          • george1421G
            george1421 Moderator @weltern
            last edited by

            @weltern said in TFTP Timeout Issue/First FOG Install:

            DHCP was disabled during FOG install so that it would not interfere with my Router’s DHCP server (Comcast Router, can not turn it off, only can set static reserves).

            OK this is good (and workable situation). Since you are using a comcast router, how are you setting dhcp options 66 and 67?

            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!

            W 1 Reply Last reply Reply Quote 1
            • W
              weltern @george1421
              last edited by

              @george1421 no the fog server is 10.0.0.16.
              10.0.0.1 is my gateway. Everything in the fog settings shows its IP is 10.0.0.16 including the TFTP Server Settings in Fog Settings.

              Don’t know why it shows my gateway here.

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

                @weltern said in TFTP Timeout Issue/First FOG Install:

                Don’t know why it shows my gateway here.

                Ok that is your first issue. For your home setup you will probably need to install dnsmasq on your fog server. DNSMasq will supply the missing dhcp options 66 and 67 via proxydhcp.

                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!

                george1421G W 2 Replies Last reply Reply Quote 1
                • george1421G
                  george1421 Moderator @george1421
                  last edited by george1421

                  @george1421 Install dnsmasq from your packages repository and then I’ll give you instructions on compiling the latest version because the packaged version doesn’t support both bios and uefi systems seamlessly. The latest version of dismasq 2.76 does.

                  Use this tutorial to download and install dnsmasq 2.76: https://forums.fogproject.org/topic/8725/compiling-dnsmasq-2-76-if-you-need-uefi-support

                  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
                    weltern @george1421
                    last edited by

                    @george1421 Where do i set those? that very well could be my issue.

                    Also to answer your other question (new user - can only submit once a couple minutes) I have not changed the IP of the server after install.

                    here is fog settings
                    0_1494094342362_VirtualBox_FogBox_06_05_2017_14_11_50.png

                    1 Reply Last reply Reply Quote 0
                    • W
                      weltern @george1421
                      last edited by

                      @george1421 how do i get and install that?

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

                        @weltern Before we go down that path. Can you run the following command from the linux console of your fog server?

                        cat /tftpboot/default.ipxe and post the results here

                        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!

                        W 1 Reply Last reply Reply Quote 1
                        • W
                          weltern @george1421
                          last edited by

                          @george1421 said in TFTP Timeout Issue/First FOG Install:

                          @weltern Before we go down that path. Can you run the following command from the linux console of your fog server?

                          cat /tftpboot/default.ipxe and post the results here

                          0_1494094596715_VirtualBox_FogBox_06_05_2017_14_16_17.png

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

                            @weltern Interesting what I expected to be wrong, is right. I need to think about this first. Because something is a bit off. You should not be getting this far because the ipxe boot file is coming form some place just not where I’m expecting 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!

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

                              @george1421 OK so tell me a bit more about this network.

                              Is this a home network or a business?

                              Did you have fog setup here before?

                              For your dhcp server that your computers are using, what is supplying the dhcp information?

                              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!

                              W 1 Reply Last reply Reply Quote 1
                              • W
                                weltern @george1421
                                last edited by

                                @george1421 said in TFTP Timeout Issue/First FOG Install:

                                @george1421 OK so tell me a bit more about this network.

                                Is this a home network or a business?

                                Did you have fog setup here before?

                                For your dhcp server that your computers are using, what is supplying the dhcp information?

                                Home Network

                                Have not installed Fog here before, Although i have reinstalled Fog on the same Virtual machine (by removing the fogsettings files and running install again)

                                Built in DHCP server in Comcast Gateway. Comcast locks that bit down. Only thing i can do is set the scope size and manual reservations

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

                                  @weltern When you installed fog either time, did you have it install the dhcp server?

                                  1. I can’t understand how it get the next server (10.0.0.16) in the first try and iPXE loads correctly.
                                  2. When iPXE asks for the next server it gets the comcast gateway.

                                  I understand about the comcast gateway they will point to itself as the pxe boot server for some reason. So I can’t understand how you are getting the ipxe kernel from the fog server to begin with. It should be either left or right, not both ways.

                                  It acts like there might be two dhcp servers on your home network.

                                  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!

                                  W 1 Reply Last reply Reply Quote 1
                                  • W
                                    weltern @george1421
                                    last edited by

                                    @george1421 said in TFTP Timeout Issue/First FOG Install:

                                    @weltern When you installed fog either time, did you have it install the dhcp server?

                                    Yes i did. Was following a video tutorial and wasn’t sure how i wanted to run fog on my network (either on bridged or on its own virtual network) and installed the DHCP service during the initial install.

                                    Should i wipe the virtual machine and try again with installing fog fresh as i did this time and without the dhcp?

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

                                      @weltern No we can just stop the service.

                                      Issue the following command from the linux console command prompt.

                                      sudo service isc-dhcp-server stop

                                      Understand this will not fix our issue. It will break pxe booting but return you to a sane setup. From there we will install dnsmasq and get you moving in the right direction.

                                      I will also give you a tip. Download and install putty on your windows laptop. Then you can connect to the fog server using putty (ssh). It makes copy and pasting a bit easier from the fog forums.

                                      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!

                                      george1421G W 2 Replies Last reply Reply Quote 1
                                      • george1421G
                                        george1421 Moderator @george1421
                                        last edited by

                                        @george1421 When you get isc dhcp server stopped, then pxe boot your target computer. You should get something about the boot file was not sent or some kind of pxe timeout error. This is a good thing in a way. We can work from 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!

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

                                          @george1421 Here is the config file we will start with for dnsmasq. The contents of this below shall go in /etc/dnsmasq.d/ltsp.conf

                                          # Don't function as a DNS server:
                                          port=0
                                          
                                          # Log lots of extra information about DHCP transactions.
                                          log-dhcp
                                          
                                          # Set the root directory for files available via FTP.
                                          tftp-root=/tftpboot
                                          
                                          # The boot filename, Server name, Server Ip Address
                                          dhcp-boot=undionly.kpxe,,<fog_server_IP>
                                          
                                          # Disable re-use of the DHCP servername and filename fields as extra
                                          # option space. That's to avoid confusing some old or broken DHCP clients.
                                          dhcp-no-override
                                          
                                          # inspect the vendor class string and match the text to set the tag
                                          dhcp-vendorclass=BIOS,PXEClient:Arch:00000
                                          dhcp-vendorclass=UEFI32,PXEClient:Arch:00006
                                          dhcp-vendorclass=UEFI,PXEClient:Arch:00007
                                          dhcp-vendorclass=UEFI64,PXEClient:Arch:00009
                                          
                                          # Set the boot file name based on the matching tag from the vendor class (above)
                                          dhcp-boot=net:UEFI32,i386-efi/ipxe.efi,,<fog_server_IP>
                                          dhcp-boot=net:UEFI,ipxe.efi,,<fog_server_IP>
                                          dhcp-boot=net:UEFI64,ipxe.efi,,<fog_server_IP>
                                          
                                          # PXE menu.  The first part is the text displayed to the user.  The second is the timeout, in seconds.
                                          pxe-prompt="Booting FOG Client", 1
                                          
                                          # The known types are x86PC, PC98, IA64_EFI, Alpha, Arc_x86,
                                          # Intel_Lean_Client, IA32_EFI, BC_EFI, Xscale_EFI and X86-64_EFI
                                          # This option is first and will be the default if there is no input from the user.
                                          pxe-service=X86PC, "Boot to FOG", undionly.kpxe
                                          pxe-service=X86-64_EFI, "Boot to FOG UEFI", ipxe.efi
                                          pxe-service=BC_EFI, "Boot to FOG UEFI PXE-BC", ipxe.efi
                                          
                                          dhcp-range=<fog_server_ip>,proxy
                                          

                                          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!

                                          W 1 Reply Last reply Reply Quote 1
                                          • W
                                            weltern @george1421
                                            last edited by

                                            @george1421 said in TFTP Timeout Issue/First FOG Install:

                                            @weltern No we can just stop the service.

                                            Issue the following command from the linux console command prompt.

                                            sudo service isc-dhcp-server stop

                                            Tried it but nothing happened. Terminal never said anything stopped

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

                                            125

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.4k

                                            Posts
                                            Copyright © 2012-2024 FOG Project