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

    Client connection to TFTP and HTTP IPXE Service

    FOG Problems
    2
    8
    97
    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.
    • R
      rhodesj2314 last edited by

      I had to change the IP address of my Fog server and have everything set for the new IP address except for loading the client in order to image a PC.

      The TFTP address is correct 4.21
      The HTTP address is the old IP for the fog server 4.213
      I cannot find the location where the setting is still 4.213 in Ubuntu or fog. I have checked the .fogsettings and dhcpd.conf files.

      e53f8bed-3730-46d8-9680-fa6d1f847387-20210917_131841.jpg

      Thank you,

      Jim R

      george1421 R 2 Replies Last reply Reply Quote 0
      • R
        rhodesj2314 @rhodesj2314 last edited by

        @rhodesj2314

        Thank you. I figured it out and added the tftp server to the dhcpd.conf file on mu Ubuntu server.

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

          @rhodesj2314 I’m not hearing the the right keyword from you for your problem. I think I know where you are going with the questions, but I don’t want to do down a rabbit hole if its the wrong guess.

          To answer your question no. The tftp server address as well as the boot file is handed out by your dhcp server. For your imaging network, what device is your dhcp server? If the fog server is the dhcp server for your imaging network then the fog installer should have set it up correctly.

          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
          • R
            rhodesj2314 @george1421 last edited by

            @george1421

            Is there a way I can add the TFTP server address to the dhcpd.conf file on the fog server (Ubuntu)?

            Thank you.

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

              @rhodesj2314 The client doesn’t use dns during imaging.

              iPXE uses dhcp once again to locate the FOG server once ipxe starts running. What is your specific issue?

              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!

              R 1 Reply Last reply Reply Quote 0
              • R
                rhodesj2314 @george1421 last edited by

                @george1421

                Another question. Is there a way to hard code the TFTP server address in the DHCPD.CONF file?

                It is in the fog config but when the client is looking for the tftp server it seems to go through the DNS process first.

                Thank you,

                Jim

                george1421 1 Reply Last reply Reply Quote 0
                • R
                  rhodesj2314 last edited by

                  George,

                  Step one is exactly what I needed. Thank you very much!

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

                    @rhodesj2314 I will tell you how to fix this.

                    1. Update the text file /tftpboot/default.ipxe with the correct IP address.
                    2. In the Web UI -> FOG Configuration -> FOG settings click the expand all button. Search using the browser for the old IP address and update it.
                    3. In the web ui look under storage -> storage nodes. Look at the default storage node. Make sure the IP addresses there are right.
                    4. Now back to the FOG linux console. Edit the hidden file /opt/fog/.fogsettings the dot in front of a file name makes it hidden. Update the IP address in that config file.
                    5. Lastly rerun the FOG installer once again. That will fix up all of the other bits where the IP address is hiding.

                    The fog install really doesn’t like it when the FOG server IP addresses change. I know sometimes its unavoidable, but it can be fixed.

                    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!

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

                    187
                    Online

                    10.4k
                    Users

                    16.4k
                    Topics

                    150.5k
                    Posts

                    Copyright © 2012-2023 FOG Project