• 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.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.
    • 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

                        160

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project