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

    DHCP Booting Fails and enters wrong IP Address

    Scheduled Pinned Locked Moved Solved
    Windows Problems
    2
    14
    1.8k
    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.
    • C
      ConJon
      last edited by

      I have it setup on the DHCP so that option 66 goes to 172.24.100.200 (which is the fog server) and option 67 is undionly.kpxe. The issue is that if you look at this image, it connects to the fog server with tftp it gets the correct address, but once it goes to http it gets a different one and fails. I am quite certain this needs to be the same address as the tftp. Any ideas on how to fix this?

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

        @ConJon said in DHCP Booting Fails and enters wrong IP Address:

        It says 172.24.113.103

        This is in line with what we are seeing on the http line of the network boot. The short answer is if you fix this value in the default.ipxe file you should boot into the iPXE menu.

        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!

        C 1 Reply Last reply Reply Quote 0
        • C
          ConJon
          last edited by

          The website won't let me upload it here. So this is a link to Google Drive where I have it uploaded at

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

            inspect the contents of default.ipxe file in the /tftpboot directory. My bet is that is where your random IP address is coming from. If you changed the Ip address of the fog server after it was installed you have a bit of cleanup to do.

            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!

            C 1 Reply Last reply Reply Quote 0
            • C
              ConJon @george1421
              last edited by

              @george1421 I’m sorry, I used the command ls -la /tftpboot
              and the file is there, however, I am not well experienced in Linux. What is the command to open and inspect the default.ipxe file?

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

                @ConJon cat /tftpboot/default.ipxe

                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!

                C 1 Reply Last reply Reply Quote 0
                • C
                  ConJon @george1421
                  last edited by

                  @george1421 It says 172.24.113.103
                  I wasn’t the one who set this server up (wish I was because I was able to do it pretty easily before without issues), it was a co-worker. I’ll ask if they changed the IP but I don’t think the IP was changed after the fact.

                  george1421G 2 Replies Last reply Reply Quote 0
                  • george1421G
                    george1421 Moderator @ConJon
                    last edited by

                    @ConJon Ok there is a hidden file in the /opt/fog directory. This contains the answers to the questions when the FOG server was installed. It should have also captured the IP address of the FOG server when FOG was installed. The file is called /opt/fog/.fogsettings The dot at the beginning of the file name makes it hidden in unix.

                    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!

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

                      @ConJon said in DHCP Booting Fails and enters wrong IP Address:

                      It says 172.24.113.103

                      This is in line with what we are seeing on the http line of the network boot. The short answer is if you fix this value in the default.ipxe file you should boot into the iPXE menu.

                      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!

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        ConJon @george1421
                        last edited by

                        @george1421 Is there a way to open that hidden file?

                        1 Reply Last reply Reply Quote 0
                        • C
                          ConJon @george1421
                          last edited by

                          @george1421 How do I edit the text inside the default.ipxe?

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

                            @ConJon A lot depends on if your FOG server has a gui installed or not, as well as what linux distribution you are using. If you have a gui then use the text editor in your gui, if command line only there is a number of text editors like nano and vi, I would not suggest vi unless you used it before because it will drive you insane if you are not careful. I’m already there so vi is my editor of choice.

                            To look at the hidden file use cat like cat /opt/fog/.fogsettings

                            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!

                            C 2 Replies Last reply Reply Quote 0
                            • C
                              ConJon @george1421
                              last edited by

                              @george1421 I used nano to edit that file and changed that IP. That did fix the issue.

                              1 Reply Last reply Reply Quote 0
                              • C
                                ConJon @george1421
                                last edited by

                                @george1421 It does seem to be working now. Thanks!!!

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

                                  @ConJon said in DHCP Booting Fails and enters wrong IP Address:

                                  It does seem to be working now. Thanks!!!

                                  just changing that default.ipxe doesn’t fix the problem. There are a few other places where there is hard coded IP addresses.

                                  in the fog server OS in /opt/fog/.fogsettings file
                                  In the web ui
                                  FOG Configuration -> FOG Settings->Expand All (search for the old IP address)
                                  FOG Storage->Storage Node-> Default

                                  Fix it there and save then back to the FOG Server command prompt and then rerun the fog installer to fix the remaining bits. If you don’t do these steps you will have a painful fog experience.

                                  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
                                  • 1 / 1
                                  • First post
                                    Last post

                                  154

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project