• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Mar 23, 2020, 7:30 PM

    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
    • G
      george1421 Moderator @ConJon
      last edited by Mar 24, 2020, 12:21 PM

      @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 Mar 24, 2020, 12:38 PM Reply Quote 0
      • C
        ConJon
        last edited by Mar 23, 2020, 7:32 PM

        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
        • G
          george1421 Moderator
          last edited by Mar 23, 2020, 7:55 PM

          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 Mar 23, 2020, 8:47 PM Reply Quote 0
          • C
            ConJon @george1421
            last edited by Mar 23, 2020, 8:47 PM

            @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?

            G 1 Reply Last reply Mar 23, 2020, 9:49 PM Reply Quote 0
            • G
              george1421 Moderator @ConJon
              last edited by Mar 23, 2020, 9:49 PM

              @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 Mar 24, 2020, 12:07 PM Reply Quote 0
              • C
                ConJon @george1421
                last edited by Mar 24, 2020, 12:07 PM

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

                G 2 Replies Last reply Mar 24, 2020, 12:20 PM Reply Quote 0
                • G
                  george1421 Moderator @ConJon
                  last edited by Mar 24, 2020, 12:20 PM

                  @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 Mar 24, 2020, 12:35 PM Reply Quote 0
                  • G
                    george1421 Moderator @ConJon
                    last edited by Mar 24, 2020, 12:21 PM

                    @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 Mar 24, 2020, 12:38 PM Reply Quote 0
                    • C
                      ConJon @george1421
                      last edited by Mar 24, 2020, 12:35 PM

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

                      1 Reply Last reply Reply Quote 0
                      • C
                        ConJon @george1421
                        last edited by Mar 24, 2020, 12:38 PM

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

                        G 1 Reply Last reply Mar 24, 2020, 12:41 PM Reply Quote 0
                        • G
                          george1421 Moderator @ConJon
                          last edited by george1421 Mar 24, 2020, 6:42 AM Mar 24, 2020, 12:41 PM

                          @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 Mar 24, 2020, 12:59 PM Reply Quote 0
                          • C
                            ConJon @george1421
                            last edited by Mar 24, 2020, 12:59 PM

                            @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 Mar 24, 2020, 1:02 PM

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

                              G 1 Reply Last reply Mar 24, 2020, 2:39 PM Reply Quote 0
                              • G
                                george1421 Moderator @ConJon
                                last edited by Mar 24, 2020, 2:39 PM

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

                                157

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project